mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Fixed generating binary skeletons for Linux on x86_64 (PY-15460)
This commit is contained in:
@@ -783,7 +783,7 @@ MAC_SKIP_MODULES = ["test", "ctypes/test", "distutils/tests", "email/test",
|
||||
|
||||
POSIX_SKIP_MODULES = ["vtemodule", "PAMmodule", "_snackmodule", "/quodlibet/_mmkeys"]
|
||||
|
||||
BIN_MODULE_FNAME_PAT = re.compile('([a-zA-Z_]+[0-9a-zA-Z]*)\\.(?:pyc|pyo|(?:[a-zA-Z_]+-\\d\\d[a-zA-Z]*(?:-[a-zA-Z_0-9\-]+)?\\.)?(?:so|pyd))')
|
||||
BIN_MODULE_FNAME_PAT = re.compile(r'([a-zA-Z_][0-9a-zA-Z_]*)\.(?:pyc|pyo|(?:(?:[a-zA-Z_0-9\-]+\.)?(?:so|pyd)))$')
|
||||
# possible binary module filename: letter, alphanum architecture per PEP-3149
|
||||
TYPELIB_MODULE_FNAME_PAT = re.compile("([a-zA-Z_]+[0-9a-zA-Z]*)[0-9a-zA-Z-.]*\\.typelib")
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
import binascii
|
||||
import datetime
|
||||
import <error descr="No module named nonexistent">nonexistent</error>
|
||||
|
||||
|
||||
print(binascii, nonexistent)
|
||||
print(binascii)
|
||||
print(datetime)
|
||||
print(nonexistent)
|
||||
|
||||
Reference in New Issue
Block a user