Re: Merge proposal: zope.interface/branches/tseaver-no_2to3

Marius Gedminas <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <20120406143959.GA24433@platonas>
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

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk9/AD8ACgkQkVdEXeem14/ikACfV2XbvKmHF8bVTd5ylYYHo4wm
8iIAn0blrCJjz0Q/bcnFAM8XoDiVsSXP
=PQiz
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.