Author stefan.richthofer
Recipients stefan.richthofer, teeohhem
Date 2016-12-01.00:17:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Tom, as preparation to work on #527524 I recently looked into the part of Jython responsible to generate class-files. However I suppose I could fix this one too. The question is, how should the files in the stacktrace be named?

- The JVM usually prints filenames without path, e.g. plainly ''.

- CPython usually prints full, absolute path, e.g. '/usr/lib/python2.7/'.

So in a sense Java and Python conventions clash here.

Maybe the best compromise is to store paths relatively to Jython's build-directory (i.e. dist) and display them somehow like '<jython-home>/Lib/'.
Files not in a Jython-subfolder can continue to use CPython-style, since they are likely just compiled locally.

Also, we should have a flag or something in to specify a format, e.g. a base-path relatively from which filenames should be stored in generated classfiles.
Date User Action Args
2016-12-01 00:17:35stefan.richthofersetmessageid: <>
2016-12-01 00:17:35stefan.richthofersetrecipients: + stefan.richthofer, teeohhem
2016-12-01 00:17:35stefan.richthoferlinkissue2535 messages
2016-12-01 00:17:35stefan.richthofercreate