[TxMt] PyMate and Python 3.0rc1

Domenico Carbotta domenico.carbotta at fastwebnet.it
Mon Oct 13 16:46:48 UTC 2008


the version of PyMate in the svn repository doesn't work with Python  
3.0rc1, as there have been major changes both to the language and to  
the standard library.

the diff file attached to this message describes the changes needed to  
make PyMate compatible with Python 3.0; it also migrates from the %  
string formatting operator to the new str.format function, as  
recommended by the Python 3.0 documentation.

sadly the changes are not backwards compatible (valid Python 2.x code  
is not necessarily valid Python 3.x code and vice versa), so some  
sorts of version check should be put in place -- I'll leave that to  
the senior mantainers of the bundle.

cheers,

domenico

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sitecustomize.py.diff
Type: application/octet-stream
Size: 5969 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20081013/2fdc58d7/attachment.diff>
-------------- next part --------------



More information about the textmate mailing list