report at bugs
Jul 23, 2012, 4:44 PM
Post #2 of 5
Antoine Pitrou <pitrou [at] free> added the comment:
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.
- 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).
Python tracker <report [at] bugs>
Python-bugs-list mailing list