[Python-3000] backported ABC

Benjamin Aranguren baranguren at gmail.com
Sun Aug 26 12:29:25 CEST 2007


We copied abc.py and test_abc.py from py3k svn and modified to work with 2.6.

After making all the changes we ran all the tests to ensure that no
other modules were affected.

Attached are abc.py, test_abc.py, and their relevant patches from 3.0 to 2.6.

On 8/25/07, Guido van Rossum <guido at python.org> wrote:
> Um, that patch contains only the C code for overloading isinstance()
> and issubclass().
>
> Did you do anything about abc.py and _abcoll.py/collections.py and
> their respective unit tests? Or what about the unit tests for
> isinstance()/issubclass()?
>
> On 8/25/07, Benjamin Aranguren <baranguren at gmail.com> wrote:
> > Worked with Alex Martelli at the Goolge Python Sprint.
>
> --
> --Guido van Rossum (home page: http://www.python.org/~guido/)
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: abc.py
Type: text/x-python
Size: 7986 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-3000/attachments/20070826/296fbf4b/attachment-0002.py 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_abc.py
Type: text/x-python
Size: 4591 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-3000/attachments/20070826/296fbf4b/attachment-0003.py 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: abc_backport_to_2_6.patch
Type: text/x-patch
Size: 1867 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-3000/attachments/20070826/296fbf4b/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_abc_backport_to_2_6.patch
Type: text/x-patch
Size: 3543 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-3000/attachments/20070826/296fbf4b/attachment-0003.bin 


More information about the Python-3000 mailing list