Message5661

Author pjenvey
Recipients amak, pjenvey, ssteiner
Date 2010-04-11.17:48:19
SpamBayes Score 1.2896351e-12
Marked as misclassified No
Message-id <1271008101.26.0.860800527737.issue1552@psf.upfronthosting.co.za>
In-reply-to
Content
This is a problem in other places that create an embedded jython via the Java API (new PythonInterpreter()), like modjy and likely the jsr223 support as well

The new PythonInterpreter doesn't import site like the command line does. Alan Kennedy and I agreed that we should change this (mostly for modjy's sake) and create a flag to disable the behavior. CPython already acts this way when you create an embedded interpreter via its C API

Unfortunately I forgot to change this before the 2.5 release. It's a fairly significant change so it'll have to wait for 2.6
History
Date User Action Args
2010-04-11 17:48:21pjenveysetmessageid: <1271008101.26.0.860800527737.issue1552@psf.upfronthosting.co.za>
2010-04-11 17:48:21pjenveysetrecipients: + pjenvey, amak, ssteiner
2010-04-11 17:48:20pjenveylinkissue1552 messages
2010-04-11 17:48:19pjenveycreate