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
c4a28711
Commit
c4a28711
authored
Aug 22, 2011
by
Nick Coghlan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #12811 by closing files promptly in tabnanny.check. Patch by Anthony Briggs.
parent
029ba2b8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
Lib/tabnanny.py
Lib/tabnanny.py
+3
-0
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/tabnanny.py
View file @
c4a28711
...
...
@@ -126,6 +126,9 @@ def check(file):
else
:
print
(
file
,
badline
,
repr
(
line
))
return
finally
:
f
.
close
()
if
verbose
:
print
(
"%r: Clean bill of health."
%
(
file
,))
...
...
Misc/ACKS
View file @
c4a28711
...
...
@@ -121,6 +121,7 @@ Erik Bray
Brian Brazil
Dave Brennan
Tom Bridgman
Anthony Briggs
Tobias Brink
Richard Brodie
Michael Broghton
...
...
Misc/NEWS
View file @
c4a28711
...
...
@@ -265,6 +265,9 @@ Core and Builtins
Library
-------
- Issue #12811: tabnanny.check() now promptly closes checked files. Patch by
Anthony Briggs.
- Issue #6560: The sendmsg/recvmsg API is now exposed by the socket module
when provided by the underlying platform, supporting processing of
ancillary data in pure Python code.
...
...
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