Differences between revisions 29 and 30
Revision 29 as of 2007-09-20 21:22:19
Size: 4061
Editor: pc-112-141-104-200
Comment: Added the issue of open(foo, 'U')
Revision 30 as of 2007-09-21 00:29:07
Size: 4161
Editor: pc-112-141-104-200
Comment: Added a link to the patch for the slice problem
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:
 * slice should be a type, not a function. [http://sourceforge.net/tracker/index.php?func=detail&aid=1791931&group_id=12867&atid=112867 bug]  * slice should be a type, not a function. [http://sourceforge.net/tracker/index.php?func=detail&aid=1791931&group_id=12867&atid=112867 bug] [http://sourceforge.net/tracker/index.php?func=detail&aid=1798544&group_id=12867&atid=312867 patch]

Gaps between Jython and Django

Major problems

Minor annoyances

Already Fixed

  • Jython does not have sys.stdout.isatty. Jython should get added to the exclusions around that call in django/core/management.py (win32 and 'Pocket PC' are already excluded).

  • stringmap (or the __dict__ implementation) needs a pop(o) method.

  • Jython lists and tuples don't have __iter__ .

  • Jython does not have os.getpid().

    • Django workarounds it now.
  • Jython does not have os.W_OK needed in django/core/management.py. This probably will not be hard to add this since java.io.File has a canWrite().

    • os.chmod should be implemented too (After checking for write permissions, Django will try to change them if necessary).

      • That's hard. Maybe Django shouldn't check for permissions if running on Jython.
    • Django don't tries to check or change file permissions when running on Jython now

DjangoOnJython (last edited 2014-05-22 23:24:19 by AdamBurke)