Message166254
| Author |
pitrou |
| Recipients |
Thorney, eric.araujo, ezio.melotti, jackdied, ncoghlan, pitrou, rhettinger |
| Date |
2012年07月23日.23:44:31 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1343087071.97.0.307423067528.issue12428@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Why does the pure Python version of partial have to be so complicated?
I don't think the __class__, __setattr__ and __delattr__ are useful. As Raymond said, only the core, documented functionality needs to be preserved, not implementation details.
Something else:
- from _thread import allocate_lock as Lock
+ from thread import allocate_lock as Lock
The module is named _thread in 3.x, so this shouldn't have been changed (but admittedly it's thread in 2.x). |
|