Re: simplegeneric & Python 3
"P.J. Eby" <pje-Wh6+Hckhi6HFNGf7iClzIwC/[email protected]> Wed, 31 Aug 2011 22:54:55 -0400
| Newsgroups | gmane.comp.python.peak |
|---|---|
| Message-ID | <[email protected]> |
At 04:01 PM 8/14/2011 +0100, Thomas Kluyver wrote: >Hi, > >While working on IPython, I've patched simplegeneric to work with >Python 3. It didn't require any major changes. The diff is here if >you want to incorporate it: > ><https://github.com/takluyver/ipython/commit/34f06125b2f989f0d096f57642a2a0196c98bb1a>https://github.com/takluyver/ipython/commit/34f06125b2f989f0d096f57642a2a0196c98bb1a > >Our installation process for Python 3 runs all the code through >2to3, but that doesn't actually make any changes to simplegeneric, >so with this patch, it should be directly usable in Python 3. I've implemented a similar change in SVN now (with a revamped test suite as well), and released simplegeneric 0.8 to PyPI. Thanks for the report!