Re: [PEAK] simplegeneric & Python 3
Thomas Kluyver <[email protected]> Thu, 1 Sep 2011 07:24:56 +0100
| Newsgroups | gmane.comp.python.ipython.devel,gmane.comp.python.peak |
|---|---|
| Message-ID | <CAOvn4qi+ccxe2EXcgjudar4JRr8C8Treii3jaLUVNvgQ5Avq8A@mail.gmail.com> |
Great - thanks for this. IPython people, we should "upgrade" the bundled simplegeneric to 0.8, although the code changes are probably minimal. Thomas On 1 September 2011 03:54, P.J. Eby <[email protected]> wrote: > 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/** >> 34f06125b2f989f0d096f57642a2a0**196c98bb1a<https://github.com/takluyver/ipython/commit/34f06125b2f989f0d096f57642a2a0196c98bb1a> >> >https://github.com/**takluyver/ipython/commit/** >> 34f06125b2f989f0d096f57642a2a0**196c98bb1a<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! > > _______________________________________________ IPython-dev mailing list [email protected] http://mail.scipy.org/mailman/listinfo/ipython-dev