Issue1592815

classification
Title: In 2.2-alpha1 unable to load modules with a name longer than
Type: Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: pekka.klarck
Priority: normal Keywords:

Created on 2006-11-08.17:55:05 by anonymous, last changed 2006-11-11.08:59:47 by pekka.klarck.

Messages
msg1270 (view) Author: Nobody/Anonymous (nobody) Date: 2006-11-08.17:55:05
With a .py script like this:

__all__ = [
'mod_one',
'module_two',
'module_three'
]
import mod_one
import module_two
import module_three

only first two modules get loaded.

With BSFManager.exec the third gives an exception on 
AccessController.doPrivileged.

If i use import * then no more exceptions but only 
first two modules get loaded.

I made some tests and discovered that if a module has 
a name longer than 11 chars can't be loaded.
msg1271 (view) Author: Pekka Klärck (pekka.klarck) Date: 2006-11-11.08:59:47
Logged In: YES 
user_id=1379331

This bug has already been reported as #1256506 [1] and also
fixed. You can get a snapshot build from [2] to test it. 

[1] http://jython.org/bugs/1256506
[2] http://homepage.sunrise.ch/mysunrise/ohumbel/

A beta version with all those post 2.2a1 fixes would be
really great.
History
Date User Action Args
2006-11-08 17:55:05anonymouscreate