SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

gh-63161: Fix tokenize.detect_encoding() (GH-139446)

* Support non-UTF-8 shebang and comments if non-UTF-8 encoding is specified.
* Detect decoding error for non-UTF-8 encoding.
* Detect null bytes in source code.
S
Serhiy Storchaka committed
38d4b436ca767351db834189b3a5379406cd52a8
Parent: 3222ea0
Committed by GitHub <noreply@github.com> on 10/20/2025, 5:08:47 PM