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
7c010ee0
Commit
7c010ee0
authored
Mar 21, 2012
by
Andrew Svetlov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#3573: idle now doesn't hungs if launched as: idle -e <directory>
Patch by Guilherme Polo.
parent
3d3cf48e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
+14
-2
Lib/idlelib/NEWS.txt
Lib/idlelib/NEWS.txt
+7
-0
Lib/idlelib/PyShell.py
Lib/idlelib/PyShell.py
+4
-2
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/idlelib/NEWS.txt
View file @
7c010ee0
What's New in IDLE 2.7.3?
=======================
- Issue #3573: IDLE hangs when passing invalid command line args
(directory(ies) instead of file(s)).
What's New in IDLE 2.7.2?
=======================
...
...
Lib/idlelib/PyShell.py
View file @
7c010ee0
...
...
@@ -1412,8 +1412,10 @@ def main():
if enable_edit:
if not (cmd or script):
for filename in args:
flist.open(filename)
for filename in args[:]:
if flist.open(filename) is None:
# filename is a directory actually, disconsider it
args.remove(filename)
if not args:
flist.new()
if enable_shell:
...
...
Misc/NEWS
View file @
7c010ee0
...
...
@@ -27,6 +27,9 @@ Core and Builtins
Library
-------
-
Issue
#
3573
:
IDLE
hangs
when
passing
invalid
command
line
args
(
directory
(
ies
)
instead
of
file
(
s
))
(
Patch
by
Guilherme
Polo
)
-
Issue
#
13694
:
asynchronous
connect
in
asyncore
.
dispatcher
does
not
set
addr
attribute
.
...
...
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