Message11054

Author stefan.richthofer
Recipients jeff.allen, stefan.richthofer, wymannmi, zyasoft
Date 2017-02-01.20:27:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485980823.59.0.436665606597.issue2521@psf.upfronthosting.co.za>
In-reply-to
Content
The advantage of option 2) would be that it yields a solution to the ongoing pain with sys.platform-based platform detection.
On the other hand it would potentially break stuff that already checks for Jython, e.g. like

if sys.platform.startswith('win'):
   ... whatever
elif sys.platform == 'java':
   ... something java-specific

(However so far I never saw this; usually packages just ignore that Jython exists)

Anyway, I'd suggest to go for 3) since it yields minimal risk. We can experiment with 2) in 2.7.2 or so. I'll setup Jython on Windows and check out viability of 3)...
History
Date User Action Args
2017-02-01 20:27:03stefan.richthofersetmessageid: <1485980823.59.0.436665606597.issue2521@psf.upfronthosting.co.za>
2017-02-01 20:27:03stefan.richthofersetrecipients: + stefan.richthofer, zyasoft, jeff.allen, wymannmi
2017-02-01 20:27:03stefan.richthoferlinkissue2521 messages
2017-02-01 20:27:03stefan.richthofercreate