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
a0b7e9c7
Commit
a0b7e9c7
authored
Dec 27, 2012
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Plain Diff
Null merge.
parents
0e091b03
61006a21
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Lib/idlelib/EditorWindow.py
Lib/idlelib/EditorWindow.py
+1
-1
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/idlelib/EditorWindow.py
View file @
a0b7e9c7
...
@@ -1611,7 +1611,7 @@ class IndentSearcher(object):
...
@@ -1611,7 +1611,7 @@ class IndentSearcher(object):
try
:
try
:
try
:
try
:
_tokenize
.
tokenize
(
self
.
readline
,
self
.
tokeneater
)
_tokenize
.
tokenize
(
self
.
readline
,
self
.
tokeneater
)
except
_tokenize
.
TokenError
:
except
(
_tokenize
.
TokenError
,
SyntaxError
)
:
# since we cut off the tokenizer early, we can trigger
# since we cut off the tokenizer early, we can trigger
# spurious errors
# spurious errors
pass
pass
...
...
Misc/NEWS
View file @
a0b7e9c7
...
@@ -168,6 +168,9 @@ Core and Builtins
...
@@ -168,6 +168,9 @@ Core and Builtins
Library
Library
-------
-------
- Issue #16504: IDLE now catches SyntaxErrors raised by tokenizer. Patch by
Roger Serwy.
- Issue #16702: test_urllib2_localnet tests now correctly ignores proxies for
- Issue #16702: test_urllib2_localnet tests now correctly ignores proxies for
localhost tests.
localhost tests.
...
...
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