This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients Arfrever, draghuram, eric.araujo, ggenellina, giampaolo.rodola, gvanrossum, ijmorlan, terry.reedy, ysj.ray, zooko
Date 2010-07-21.06:41:28
SpamBayes Score 0.0004965772
Marked as misclassified No
Message-id <1279694493.23.0.797465243922.issue9299@psf.upfronthosting.co.za>
In-reply-to
Content
On windows, I can only import nt, not posix, ce, os2.
>>> import posix
Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import posix
ImportError: No module named posix
>>> import nt
>>> dir(nt)
['F_OK', 'O_APPEND', 'O_BINARY', 'O_CREAT', 'O_EXCL', 'O_NOINHERIT', 'O_RANDOM', 'O_RDONLY', 'O_RDWR', 'O_SEQUENTIAL', 'O_SHORT_LIVED', 'O_TEMPORARY', 'O_TEXT', 'O_TRUNC', 'O_WRONLY', 'P_DETACH', 'P_NOWAIT', 'P_NOWAITO', 'P_OVERLAY', 'P_WAIT', 'R_OK', 'TMP_MAX', 'W_OK', 'X_OK', '__doc__', '__name__', '__package__', '_exit', '_getfullpathname', 'abort', 'access', 'chdir', 'chmod', 'close', 'closerange', 'device_encoding', 'dup', 'dup2', 'environ', 'error', 'execv', 'execve', 'fstat', 'fsync', 'getcwd', 'getcwdb', 'getpid', 'isatty', 'listdir', 'lseek', 'lstat', 'mkdir', 'open', 'pipe', 'putenv', 'read', 'remove', 'rename', 'rmdir', 'spawnv', 'spawnve', 'startfile', 'stat', 'stat_float_times', 'stat_result', 'statvfs_result', 'strerror', 'system', 'times', 'umask', 'unlink', 'urandom', 'utime', 'waitpid', 'write']
I guessed there might be some trickery because I say the ifdef Windows in posixmodule.c.
History
Date User Action Args
2010-07-21 06:41:33terry.reedysetrecipients: + terry.reedy, gvanrossum, zooko, ggenellina, draghuram, giampaolo.rodola, ijmorlan, eric.araujo, Arfrever, ysj.ray
2010-07-21 06:41:33terry.reedysetmessageid: <1279694493.23.0.797465243922.issue9299@psf.upfronthosting.co.za>
2010-07-21 06:41:31terry.reedylinkissue9299 messages
2010-07-21 06:41:29terry.reedycreate