Staging
v0.5.1
https://github.com/python/cpython
Revision b6d98c10fff6f320f8fdf595c3f9a05d8be4e31d authored by Victor Stinner on 08 December 2020, 13:38:08 UTC, committed by GitHub on 08 December 2020, 13:38:08 UTC
Fix encoding name when running a ".pyc" file on Windows:
PyRun_SimpleFileExFlags() now uses the correct encoding to decode the
filename.

* Add pyrun_file() subfunction.
* Add pyrun_simple_file() subfunction.
* PyRun_SimpleFileExFlags() now calls _Py_fopen_obj() rather than
  _Py_fopen().
1 parent 233fddf
History
Tip revision: b6d98c10fff6f320f8fdf595c3f9a05d8be4e31d authored by Victor Stinner on 08 December 2020, 13:38:08 UTC
bpo-32381: Fix PyRun_SimpleFileExFlags() encoding (GH-23642)
Tip revision: b6d98c1
File Mode Size
mime
__init__.py -rw-r--r-- 1.7 KB
_encoded_words.py -rw-r--r-- 8.3 KB
_header_value_parser.py -rw-r--r-- 104.5 KB
_parseaddr.py -rw-r--r-- 17.2 KB
_policybase.py -rw-r--r-- 14.7 KB
architecture.rst -rw-r--r-- 9.3 KB
base64mime.py -rw-r--r-- 3.5 KB
charset.py -rw-r--r-- 16.7 KB
contentmanager.py -rw-r--r-- 10.4 KB
encoders.py -rw-r--r-- 1.7 KB
errors.py -rw-r--r-- 3.6 KB
feedparser.py -rw-r--r-- 22.2 KB
generator.py -rw-r--r-- 19.7 KB
header.py -rw-r--r-- 23.5 KB
headerregistry.py -rw-r--r-- 20.4 KB
iterators.py -rw-r--r-- 2.1 KB
message.py -rw-r--r-- 46.0 KB
parser.py -rw-r--r-- 4.9 KB
policy.py -rw-r--r-- 10.1 KB
quoprimime.py -rw-r--r-- 9.6 KB
utils.py -rw-r--r-- 13.1 KB

back to top