Message7175

Author ryanwatkins
Recipients amak, fwierzbicki, ryanwatkins
Date 2012-05-31.18:48:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338490111.9.0.676290153418.issue1842@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-05-31 18:48:31ryanwatkinssetmessageid: <1338490111.9.0.676290153418.issue1842@psf.upfronthosting.co.za>
2012-05-31 18:48:31ryanwatkinssetrecipients: + ryanwatkins, fwierzbicki, amak
2012-05-31 18:48:31ryanwatkinslinkissue1842 messages
2012-05-31 18:48:31ryanwatkinscreate