Issue2074

classification
Title: infinite recursion by adding the CPython site-packages path with JYTHONPATH
Type: behaviour Severity: normal
Components: Core Versions: Jython 2.5
Milestone:
process
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: Nosy List: xoar, zyasoft
Priority: Keywords:

Created on 2013-08-09.19:52:52 by xoar, last changed 2014-10-28.23:16:57 by zyasoft.

Messages
msg8080 (view) Author: Arne Bockhorn (xoar) Date: 2013-08-09.19:56:30
when I start jython like this : JYTHONPATH=/usr/lib64/python2.7/site-packages/ jython2.5, I get this error:

File "/usr/lib64/python2.7/site-packages/site.py", line 34, in __boot
    imp.load_module('site',stream,path,descr)
  File "/usr/lib64/python2.7/site-packages/site.py", line 74, in <module>
    __boot()
  File "/usr/lib64/python2.7/site-packages/site.py", line 34, in __boot
    imp.load_module('site',stream,path,descr)
RuntimeError: maximum recursion depth exceeded

but when I remove the last slash form the site-packages path like
JYTHONPATH=/usr/lib64/python2.7/site-packages jython2.5, jython starts as expected.
msg9178 (view) Author: Jim Baker (zyasoft) Date: 2014-10-28.23:16:57
I don't think this is something we can readily fix - use the Jython version of the stdlib
History
Date User Action Args
2014-10-28 23:16:57zyasoftsetstatus: open -> closed
resolution: invalid
messages: + msg9178
nosy: + zyasoft
2013-08-09 19:56:55xoarsetversions: + Jython 2.5
2013-08-09 19:56:30xoarsetmessages: + msg8080
title: infinite recursion by adding the Cpython site-packages path with JYTHONPATH -> infinite recursion by adding the CPython site-packages path with JYTHONPATH
2013-08-09 19:52:52xoarcreate