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
a69f0f94
Commit
a69f0f94
authored
Mar 20, 2014
by
Victor Stinner
Browse files
Options
Browse Files
Download
Plain Diff
(Merge 3.4) Issue #20978: pyflakes: fix undefined names; remove last part of
OS/2 support in distutils
parents
e5280feb
69b1e261
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
5 deletions
+2
-5
Lib/distutils/spawn.py
Lib/distutils/spawn.py
+0
-2
Lib/ftplib.py
Lib/ftplib.py
+0
-1
Lib/multiprocessing/connection.py
Lib/multiprocessing/connection.py
+1
-1
Lib/tempfile.py
Lib/tempfile.py
+1
-1
No files found.
Lib/distutils/spawn.py
View file @
a69f0f94
...
...
@@ -36,8 +36,6 @@ def spawn(cmd, search_path=1, verbose=0, dry_run=0):
_spawn_posix
(
cmd
,
search_path
,
dry_run
=
dry_run
)
elif
os
.
name
==
'nt'
:
_spawn_nt
(
cmd
,
search_path
,
dry_run
=
dry_run
)
elif
os
.
name
==
'os2'
:
_spawn_os2
(
cmd
,
search_path
,
dry_run
=
dry_run
)
else
:
raise
DistutilsPlatformError
(
"don't know how to spawn programs on platform '%s'"
%
os
.
name
)
...
...
Lib/ftplib.py
View file @
a69f0f94
...
...
@@ -320,7 +320,6 @@ class FTP:
raise
err
else
:
raise
OSError
(
"getaddrinfo returns an empty list"
)
raise
OSError
(
msg
)
sock
.
listen
(
1
)
port
=
sock
.
getsockname
()[
1
]
# Get proper port
host
=
self
.
sock
.
getsockname
()[
0
]
# Get proper host
...
...
Lib/multiprocessing/connection.py
View file @
a69f0f94
...
...
@@ -29,7 +29,7 @@ from .reduction import ForkingPickler
try
:
import
_winapi
from
_winapi
import
WAIT_OBJECT_0
,
WAIT_TIMEOUT
,
INFINITE
from
_winapi
import
WAIT_OBJECT_0
,
WAIT_
ABANDONED_0
,
WAIT_
TIMEOUT
,
INFINITE
except
ImportError
:
if
sys
.
platform
==
'win32'
:
raise
...
...
Lib/tempfile.py
View file @
a69f0f94
...
...
@@ -72,7 +72,7 @@ else:
# file doesn't exist.
def
_stat
(
fn
):
fd
=
_os
.
open
(
fn
,
_os
.
O_RDONLY
)
os
.
close
(
fd
)
_
os
.
close
(
fd
)
def
_exists
(
fn
):
try
:
...
...
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