#32 needs porting to python 3.0

Feature request
open
None
5
2013-12-10
2009-02-22
Paul Wise
No

FontTools should be ported to python 3.0 at some point.

Discussion

  • Andrzej Giniewicz

    Any news on this? I'd like to package VPython for Python 3 on Arch Linux, but I'm unable to right now because I need python3 based dependencies. Today I made a patch - http://www.speedyshare.com/files/30884153/download/python3.patch - that is slightly modified version of fonttools for Python3 posted on VPython page. I tested it with Python 2.7 and 3.2 and it seems to work on both, without any modifications to code. Probably not the cleanest one, but might be a start. Would be cool to see Python 3 support official :)

     
  • Paul Wise

    Paul Wise - 2011-10-23
     
  • Paul Wise

    Paul Wise - 2011-10-23

    I added the patch here since its best not to use seedy file upload sites.

    I already tried this using python 2to3 but wasn't able to get it to run in both Python 2 and 3. So if you were able to that, excellent! I will take a look at testing and committing this soon.

    One thing that is missing is some way to get Src/eexecOp/eexecOpmodule.c working with Python 3.

     
  • Paul Wise

    Paul Wise - 2011-10-23

    The patch doesn't apply to SVN trunk, could you supply an updated version?

     
  • Andrzej Giniewicz

    I will try to make a new version against svn trunk soon. This one was against 2.3, version that I use.

     
  • Paul Wise

    Paul Wise - 2011-10-30

    Figured out why it did not apply.

    There are various other issues with it, fonttools uses some things that are not present in Python 3. I am working on fixing those issues now.

     
  • Paul Wise

    Paul Wise - 2011-10-30

    Hmm, starting to get into it and the whole bytes vs strings thing is going to be pretty horrible, this could take a lot of time to do.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks