[MERGE] Switch from __new__ to __init__

John Arbash Meinel john at arbash-meinel.com
Wed Oct 10 22:29:15 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander mentioned that pyrex 0.9.6 is changing from __new__ to __cinit__ and
issuing a warning. Such that in 0.9.7 __new__ will no longer be supported in
the same way.

However, our code doesn't really depend on the extra functionality. So instead
I'm just switching to using __init__.

The attached patch seems to still pass all the tests. It is just a small step
so we have a smoother time if someone is using a newer version of pyrex.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHDUQrJdeBCYSNAAMRAkX0AJ4l5cOs4UUXZMuyx3KIyNq2jdHcLACdEXdd
YQ0Pj6IXkpSsO7JxYkjpi3Q=
=4Vmr
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pyrex_new_init.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20071010/2bc831f9/attachment.diff 


More information about the bazaar mailing list