mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Null merge.
This commit is contained in:
commit
a0b7e9c74c
2 changed files with 4 additions and 1 deletions
|
@ -1611,7 +1611,7 @@ class IndentSearcher(object):
|
|||
try:
|
||||
try:
|
||||
_tokenize.tokenize(self.readline, self.tokeneater)
|
||||
except _tokenize.TokenError:
|
||||
except (_tokenize.TokenError, SyntaxError):
|
||||
# since we cut off the tokenizer early, we can trigger
|
||||
# spurious errors
|
||||
pass
|
||||
|
|
|
@ -168,6 +168,9 @@ Core and Builtins
|
|||
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
|
||||
localhost tests.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue