Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d5eaa5fb
Commit
d5eaa5fb
authored
Nov 25, 2010
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sys.abiflags may not be defined on all platforms.
parent
17f9b3d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
Lib/sysconfig.py
Lib/sysconfig.py
+5
-1
No files found.
Lib/sysconfig.py
View file @
d5eaa5fb
...
...
@@ -475,7 +475,11 @@ def get_config_vars(*args):
_CONFIG_VARS
[
'base'
]
=
_PREFIX
_CONFIG_VARS
[
'platbase'
]
=
_EXEC_PREFIX
_CONFIG_VARS
[
'projectbase'
]
=
_PROJECT_BASE
_CONFIG_VARS
[
'abiflags'
]
=
sys
.
abiflags
try
:
_CONFIG_VARS
[
'abiflags'
]
=
sys
.
abiflags
except
AttributeError
:
# sys.abiflags may not be defined on all platforms.
_CONFIG_VARS
[
'abiflags'
]
=
''
if
os
.
name
in
(
'nt'
,
'os2'
):
_init_non_posix
(
_CONFIG_VARS
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment