
report at bugs
Jul 23, 2012, 4:44 PM
Post #2 of 5
(36 views)
Permalink
|
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. 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). ---------- _______________________________________ Python tracker <report [at] bugs> <http://bugs.python.org/issue12428> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|