Issue1671420
Created on 2007-03-01.05:10:49 by hsk0, last changed 2007-03-07.18:17:17 by cgroves.
Messages | |||
---|---|---|---|
msg1519 (view) | Author: howard kapustein (hsk0) | Date: 2007-03-01.05:10:49 | |
Latest files from trunk seems to have broken the os module (and others?). Did I botch something at my end or am I really seeing what I'm seeing? 1. Run with -v to see full details 2. dir(os) to verify it's not loaded 3. import os to load it 4. dir(os) shows only 2 symbols - __depends__ and classDictInit Do same but with other modules (e.g. string) and you get the expected results. import: 'exceptions' as org.python.core.exceptions in builtin modules Jython 2.2b1 on java1.6.0 import: 'site' as F:\Toolkits\jython\trunk\jython\dist\Lib\site.py import: 'sys' as sys in builtin modules import: 'os' as org.python.modules.os in builtin modules import: 'javaos' as F:\Toolkits\jython\trunk\jython\dist\Lib\javaos.py import: 'java' as java package import: 'File' as java class import: 'javapath' as F:\Toolkits\jython\trunk\jython\dist\Lib\javapath.py import: 'System' as java class >>> dir(os) Traceback (innermost last): File "<console>", line 1, in ? NameError: os >>> import os >>> dir(os) ['__depends__', 'classDictInit'] >>> import string import: 'string' as F:\Toolkits\jython\trunk\jython\dist\Lib\string.py >>> dir(string) ['_StringType', '__doc__', '__file__', '__name__', '_apply', '_float', '_idmap', '_idmapL', '_int', '_long', 'ascii_letters', 'ascii_lowercase', 'ascii_uppercas e', 'atof', 'atof_error', 'atoi', 'atoi_error', 'atol', 'atol_error', 'capitaliz e', 'capwords', 'center', 'count', 'digits', 'expandtabs', 'find', 'hexdigits', 'index', 'index_error', 'join', 'joinfields', 'letters', 'ljust', 'lower', 'lowe rcase', 'lstrip', 'maketrans', 'octdigits', 'printable', 'punctuation', 'replace ', 'rfind', 'rindex', 'rjust', 'rstrip', 'split', 'splitfields', 'strip', 'swapc ase', 'translate', 'upper', 'uppercase', 'whitespace', 'zfill'] |
|||
msg1520 (view) | Author: Charlie Groves (cgroves) | Date: 2007-03-07.18:17:17 | |
I'm not seeing this at all. Would you mind doing an 'ant clean' and retry? |
History | |||
---|---|---|---|
Date | User | Action | Args |
2007-03-01 05:10:49 | hsk0 | create |
Supported by Python Software Foundation,
Powered by Roundup