[IPython-dev] [PEAK] simplegeneric & Python 3

Thomas Kluyver takowl@gmail....
Thu Sep 1 01:24:56 CDT 2011


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 <pje@telecommunity.com> 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!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20110901/de107935/attachment.html 


More information about the IPython-dev mailing list