diff options
author | Guido van Rossum <guido@python.org> | 1993-01-26 13:04:43 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-01-26 13:04:43 (GMT) |
commit | 35fb82a33f4bc78be1f7d219b8ebd078b37c90cb (patch) | |
tree | 1075bc3db6c7e05e13fb9e247b447c1e085c3cfe /Lib/os.py | |
parent | 93f07400737a430ce642b4e7f6c9bd3e4460229c (diff) | |
download | cpython-35fb82a33f4bc78be1f7d219b8ebd078b37c90cb.zip cpython-35fb82a33f4bc78be1f7d219b8ebd078b37c90cb.tar.gz cpython-35fb82a33f4bc78be1f7d219b8ebd078b37c90cb.tar.bz2 |
* os.py: _exit doesn't exist in all variations of posix
* Added fcmp() to test_support.py and use it in test*.py
Diffstat (limited to 'Lib/os.py')
-rw-r--r-- | Lib/os.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -18,7 +18,10 @@ try: from posix import * - from posix import _exit + try: + from posix import _exit + except ImportError: + pass name = 'posix' curdir = '.' pardir = '..' |