[Zope-dev] Merge proposal: zope.interface/branches/tseaver-no_2to3

Marius Gedminas marius at gedmin.as
Fri Apr 6 14:39:59 UTC 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://mail.zope.org/pipermail/zope-dev/attachments/20120406/2ddecd48/attachment.sig>


More information about the Zope-Dev mailing list