Running the above code in a normal python session (Python 2.6.2 (r262:71600, May 27 2009, 13:06:14) [C] on sunos5) reproduces the problem.
>>> os.name 'posix' >>> sys.platform 'sunos5'
Running the above code in a normal python session (Python 2.6.2 (r262:71600, May 27 2009, 13:06:14) [C] on sunos5) reproduces the problem.
>>> os.name
'posix'
>>> sys.platform
'sunos5'