From: <pj...@us...> - 2009-04-23 05:47:00
|
Revision: 6256 http://jython.svn.sourceforge.net/jython/?rev=6256&view=rev Author: pjenvey Date: 2009-04-23 05:46:39 +0000 (Thu, 23 Apr 2009) Log Message: ----------- fix test___all__ on windows Modified Paths: -------------- trunk/jython/Lib/os.py Modified: trunk/jython/Lib/os.py =================================================================== --- trunk/jython/Lib/os.py 2009-04-22 23:45:41 UTC (rev 6255) +++ trunk/jython/Lib/os.py 2009-04-23 05:46:39 UTC (rev 6256) @@ -30,15 +30,13 @@ 'O_RDWR', 'O_SYNC', 'O_TRUNC', 'O_WRONLY', 'R_OK', 'SEEK_CUR', 'SEEK_END', 'SEEK_SET', 'W_OK', 'X_OK', '_exit', 'access', 'altsep', 'chdir', 'chmod', 'close', 'curdir', 'defpath', - 'environ', 'error', 'fdopen', 'getcwd', 'getcwdu', 'getegid', - 'getenv','geteuid', 'getgid', 'getlogin', 'getlogin', 'getpgrp', - 'getpid', 'getppid', 'getuid', 'isatty', 'linesep', 'listdir', - 'lseek', 'lstat', 'makedirs', 'mkdir', 'name', 'open', 'pardir', - 'path', 'pathsep', 'popen', 'popen2', 'popen3', 'popen4', - 'putenv', 'read', 'remove', 'removedirs', 'rename', 'renames', - 'rmdir', 'sep', 'setpgrp', 'setsid', 'stat', 'stat_result', - 'strerror', 'system', 'unlink', 'unsetenv', 'utime', 'walk', - 'write']) + 'environ', 'error', 'fdopen', 'getcwd', 'getcwdu', 'getenv', + 'getpid', 'isatty', 'linesep', 'listdir', 'lseek', 'lstat', + 'makedirs', 'mkdir', 'name', 'open', 'pardir', 'path', + 'pathsep', 'popen', 'popen2', 'popen3', 'popen4', 'putenv', + 'read', 'remove', 'removedirs', 'rename', 'renames', 'rmdir', + 'sep', 'stat', 'stat_result', 'strerror', 'system', 'unlink', + 'unsetenv', 'utime', 'walk', 'write']) import errno import jarray @@ -1050,6 +1048,10 @@ raise OSError(status[0], strerror(status[0])) return res_pid, status[0] + __all__.extend(['link', 'symlink', 'readlink', 'getegid', 'geteuid', + 'getgid', 'getlogin', 'getpgrp', 'getppid', 'getuid', + 'setpgrp', 'setsid', 'kill', 'wait', 'waitpid']) + def getpid(): """getpid() -> pid This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |