2009/3/12 David James <james82_at_gmail.com>:
>> >> > Is this supposed to work correctly with python 2.6? (ctypesgen rev
>> >> > 63):
>> >> >
>> >> > $ make check-ctypes-python
>> >> > cd
...
> Will Python 3.x really get rid of the UserString classes altogether? Maybe
> this is a mistake on the part of Python developers as it breaks
> compatibility.
> In any case, if we need to fix this, rather than rewriting the MutableString
> class, we could copy the MutableString class into ctypesgen for forward
> compatibility with Python 2.6 and later.
> http://svn.python.org/view/python/branches/release25-maint/Lib/UserString.py?revision=66717&view=markup
OK, I've copied the MutableString and UserString classes from Python
2.5 as of r69 of ctypesgen. I tested with Python 2.6 and it seems to
work fine. Does it work for you, Arkadiusz?
Cheers,
David
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1323052
Received on 2009-03-14 19:51:16 CET