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
77888384
Commit
77888384
authored
Apr 15, 2012
by
Brett Cannon
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
881535b7
f8f3190d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Lib/importlib/_bootstrap.py
Lib/importlib/_bootstrap.py
+2
-2
No files found.
Lib/importlib/_bootstrap.py
View file @
77888384
...
...
@@ -23,7 +23,7 @@ CASE_INSENSITIVE_PLATFORMS = 'win', 'cygwin', 'darwin'
def
_make_relax_case
():
if
any
(
map
(
sys
.
platform
.
startswith
,
CASE_INSENSITIVE_PLATFORMS
)
):
if
sys
.
platform
.
startswith
(
CASE_INSENSITIVE_PLATFORMS
):
def
_relax_case
():
"""True if filenames must be checked case-insensitively."""
return
b'PYTHONCASEOK'
in
_os
.
environ
...
...
@@ -163,7 +163,7 @@ code_type = type(_wrap.__code__)
def
verbose_message
(
message
,
*
args
):
"""Print the message to stderr if -v/PYTHONVERBOSE is turned on."""
if
sys
.
flags
.
verbose
:
if
not
message
.
startswith
(
'#'
)
and
not
message
.
startswith
(
'import '
):
if
not
message
.
startswith
(
(
'#'
,
'import '
)
):
message
=
'# '
+
message
print
(
message
.
format
(
*
args
),
file
=
sys
.
stderr
)
...
...
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