commit | 35fb82a33f4bc78be1f7d219b8ebd078b37c90cb | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Jan 26 13:04:43 1993 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Jan 26 13:04:43 1993 +0000 |
tree | 1075bc3db6c7e05e13fb9e247b447c1e085c3cfe | |
parent | 93f07400737a430ce642b4e7f6c9bd3e4460229c [diff] [blame] |
* os.py: _exit doesn't exist in all variations of posix * Added fcmp() to test_support.py and use it in test*.py
diff --git a/Lib/os.py b/Lib/os.py index 556268f..dc1ef5a 100644 --- a/Lib/os.py +++ b/Lib/os.py
@@ -18,7 +18,10 @@ try: from posix import * - from posix import _exit + try: + from posix import _exit + except ImportError: + pass name = 'posix' curdir = '.' pardir = '..'