Message5661
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 |
|
Date |
User |
Action |
Args |
2010-04-11 17:48:21 | pjenvey | set | messageid: <1271008101.26.0.860800527737.issue1552@psf.upfronthosting.co.za> |
2010-04-11 17:48:21 | pjenvey | set | recipients:
+ pjenvey, amak, ssteiner |
2010-04-11 17:48:20 | pjenvey | link | issue1552 messages |
2010-04-11 17:48:19 | pjenvey | create | |
|