Issue1860321
Created on 2007-12-29.08:00:07 by bugok, last changed 2008-01-13.03:14:14 by pjenvey.
Messages | |||
---|---|---|---|
msg3037 (view) | Author: BugoK (bugok) | Date: 2007-12-29.08:00:07 | |
Hey Could you please add the optparse and textwrap modules? The reason is I want to try to push for the addition of a PEP8 conventions checker in PyDev (A python plugin for Eclipse). There is a PEP8 checker available at cheesecake: http://svn.pycheesecake.org/trunk/cheesecake/pep8.py All the required modules in the pep8 module are available in Jython, apart from optparse and textwrap (which is required by optparse). PyDev can run python scripts, but if the script would be Jython compatible, it would be run within the Java environment, which would be faster. I'll gladly help with the addition of the modules, it's just my knowledge of Jython is very basic to none. What does the porting of modules from CPython to Jython requires? Thank you very much, BugoK. Relevant links: The request in the PyDev forum: http://sourceforge.net/forum/forum.php?thread_id=1900822&forum_id=293649 The feature request in the PyDev feature request page: http://sourceforge.net/tracker/index.php?func=detail&aid=1859826&group_id=85796&atid=577332 |
|||
msg3038 (view) | Author: Philip Jenvey (pjenvey) | Date: 2008-01-13.03:14:14 | |
optparse was just added to trunk in r4018, and trunk has had textwrap for a while now. Since you're talking about pydev, I assume you want these added to the next 2.2 release? Unfortunately optparse was only added to CPython in 2.3, so I'm not sure having these two in a 2.2 release would be feasible. I'm going to close this ticket out. Maybe if you could get these modules working on 2.2... In general, porting a module from CPython usually involves: o figuring out if it and its depdencies are pure python -- if they're not, rewrite the C code in java or python. if its pure Python, copy it over o run its associated test and ensure it passes There's more info on the wiki |
History | |||
---|---|---|---|
Date | User | Action | Args |
2007-12-29 08:00:07 | bugok | create |
Supported by Python Software Foundation,
Powered by Roundup