Issue2074

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

Created on 2013-08-09.19:52:52 by xoar, last changed 2013-08-09.19:56:55 by xoar.

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.
History
Date User Action Args
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