[issue46054] Incorrect error when parsing non-utf8 files

2021-12-12 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset c6d1c52c166968fb722ae26d44aa2c1c030dc613 by Pablo Galindo Salgado 
in branch 'main':
bpo-46054: Correct non-utf8 character tests in test_exceptions (GH-30074)
https://github.com/python/cpython/commit/c6d1c52c166968fb722ae26d44aa2c1c030dc613


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46054] Incorrect error when parsing non-utf8 files

2021-12-12 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset 94483f1e3cec182fabe19268e579f63045bc984a by Miss Islington (bot) 
in branch '3.10':
bpo-46054: Fix parsing error when parsing non-utf8 characters in source files 
(GH-30068) (GH-30069)
https://github.com/python/cpython/commit/94483f1e3cec182fabe19268e579f63045bc984a


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46054] Incorrect error when parsing non-utf8 files

2021-12-12 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
pull_requests: +28296
pull_request: https://github.com/python/cpython/pull/30074

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46054] Incorrect error when parsing non-utf8 files

2021-12-11 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset 4325a766f5f603ef6dfb8c4d5798e5e73cb5efd5 by Pablo Galindo Salgado 
in branch 'main':
bpo-46054: Fix parsing error when parsing non-utf8 characters in source files 
(GH-30068)
https://github.com/python/cpython/commit/4325a766f5f603ef6dfb8c4d5798e5e73cb5efd5


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46054] Incorrect error when parsing non-utf8 files

2021-12-11 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 2.0 -> 3.0
pull_requests: +28290
pull_request: https://github.com/python/cpython/pull/30069

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46054] Incorrect error when parsing non-utf8 files

2021-12-11 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
keywords: +patch
pull_requests: +28288
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/30068

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46054] Incorrect error when parsing non-utf8 files

2021-12-11 Thread Pablo Galindo Salgado


New submission from Pablo Galindo Salgado :

Python3.9 shows:

 ../3.9/python /bin/ls
SyntaxError: Non-UTF-8 code starting with '\xfc' in file /bin/ls on line 2, but 
no encoding declared; see https://python.org/dev/peps/pep-0263/ for detail

while 3.10 shows:

 python /bin/ls
  File "/bin/ls", line 0

SyntaxError: unknown parsing error

--
components: Parser
messages: 408361
nosy: lys.nikolaou, pablogsal
priority: normal
severity: normal
status: open
title: Incorrect error when parsing non-utf8 files
versions: Python 3.10, Python 3.11

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com