On Thu, Apr 05, 2012 at 04:36:23PM -0400, Tres Seaver wrote:
Having merged the 'tseaver-better_unittests' branch to the zope.interface trunk last Friday, I now have a new branch ready for merging:
http://svn.zope.org/zope.interface/branches/tseaver-no_2to3
The branch excises the use of the 'lib2to3' module and associated fixers in favor of a "compatible subset" which supports Python 2.6, 2.7, 3.2, and PyPy 1.8.
Yay! Curious: why getattr(meth, _IM_FUNC)? AFAICS starting with Python 2.6 you can use the Python 3 spelling of meth.__func__. The same applies to _FUNC_CODE, _FUNC_DEFAULTS etc. Is it a relic of an older effort to also support Python 2.5?
Unless the community's consensus is against the branch, I plan to merge it to the zope.interface trunk by early next week.
+1 Marius Gedminas -- http://pov.lt/ -- Zope 3/BlueBream consulting and development