Message7175
Hi Alan, Assuming I am testing this correctly I get the following result for both
os.path.dirname("/QOpenSys/usr/bin/sh")
-and-
os._name
File "/QOpenSys/home/rwatkin/temp/lib/jython/Lib/os.py", line 132, in <module>
raise ImportError, 'no os specific module found'
FYI...this is the contents of _names in os.py:
('_systemrestart', '_ast', 'itertools', 'exceptions', 'zipimport', '_csv', 'math', 'thread', 'imp', 'time', 'sys', 'synchronize',
'struct', '_collections', '_functools', 'array', 'gc', '_py_compile', '_weakref', 'cPickle', '_marshal', '_random', '__builtin__
', 'operator', 'errno', '_sre', 'binascii', 'cmath', 'ucnhash', 'jarray', '_hashlib', 'cStringIO', '_codecs')
just prior to the error being raised. |
|
Date |
User |
Action |
Args |
2012-05-31 18:48:31 | ryanwatkins | set | messageid: <1338490111.9.0.676290153418.issue1842@psf.upfronthosting.co.za> |
2012-05-31 18:48:31 | ryanwatkins | set | recipients:
+ ryanwatkins, fwierzbicki, amak |
2012-05-31 18:48:31 | ryanwatkins | link | issue1842 messages |
2012-05-31 18:48:31 | ryanwatkins | create | |
|