Rev 2905: Switch from __new__ to __init__ to avoid potential pyrex upgrade problems. in http://bazaar-vcs.org/bzr/bzr.dev
John Arbash Meinel
john at arbash-meinel.com
Wed Oct 10 22:22:23 BST 2007
At http://bazaar-vcs.org/bzr/bzr.dev
------------------------------------------------------------
revno: 2905
revision-id: john at arbash-meinel.com-20071010211806-2j9rg6wzrqh7yy4u
parent: pqm at pqm.ubuntu.com-20071010085229-7x5al1tirr29mq0l
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: bzr.dev
timestamp: Wed 2007-10-10 16:18:06 -0500
message:
Switch from __new__ to __init__ to avoid potential pyrex upgrade problems.
modified:
bzrlib/_dirstate_helpers_c.pyx dirstate_helpers.pyx-20070503201057-u425eni465q4idwn-3
bzrlib/_knit_load_data_c.pyx knit_c.pyx-20070509143944-u42gy8w387a10m0j-1
-------------- next part --------------
=== modified file 'bzrlib/_dirstate_helpers_c.pyx'
--- a/bzrlib/_dirstate_helpers_c.pyx 2007-10-09 03:35:33 +0000
+++ b/bzrlib/_dirstate_helpers_c.pyx 2007-10-10 21:18:06 +0000
@@ -478,7 +478,7 @@
cdef char *cur_cstr # Pointer to the current record
cdef char *next # Pointer to the end of this record
- def __new__(self, text):
+ def __init__(self, text):
self.text = text
self.text_cstr = PyString_AsString(text)
self.text_size = PyString_Size(text)
=== modified file 'bzrlib/_knit_load_data_c.pyx'
--- a/bzrlib/_knit_load_data_c.pyx 2007-07-05 19:39:28 +0000
+++ b/bzrlib/_knit_load_data_c.pyx 2007-10-10 21:18:06 +0000
@@ -86,7 +86,7 @@
cdef int history_len
- def __new__(self, kndx, fp):
+ def __init__(self, kndx, fp):
self.kndx = kndx
self.fp = fp
More information about the bazaar-commits
mailing list