mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
* os.py: _exit doesn't exist in all variations of posix
* Added fcmp() to test_support.py and use it in test*.py
This commit is contained in:
parent
93f0740073
commit
35fb82a33f
4 changed files with 45 additions and 19 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 = '..'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue