Staging
v0.8.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
COPYING -rw-r--r-- 1.1 KB
ascii.h -rw-r--r-- 3.4 KB
asciitab.h -rw-r--r-- 3.3 KB
expat.h -rw-r--r-- 40.5 KB
expat_config.h -rw-r--r-- 365 bytes
expat_external.h -rw-r--r-- 5.5 KB
iasciitab.h -rw-r--r-- 3.3 KB
internal.h -rw-r--r-- 3.9 KB
latin1tab.h -rw-r--r-- 3.3 KB
nametab.h -rw-r--r-- 8.8 KB
pyexpatns.h -rw-r--r-- 6.9 KB
siphash.h -rw-r--r-- 12.9 KB
utf8tab.h -rw-r--r-- 3.3 KB
winconfig.h -rw-r--r-- 2.0 KB
xmlparse.c -rw-r--r-- 232.3 KB
xmlrole.c -rw-r--r-- 34.1 KB
xmlrole.h -rw-r--r-- 4.3 KB
xmltok.c -rw-r--r-- 52.7 KB
xmltok.h -rw-r--r-- 12.2 KB
xmltok_impl.c -rw-r--r-- 51.3 KB
xmltok_impl.h -rw-r--r-- 3.3 KB
xmltok_ns.c -rw-r--r-- 4.2 KB

back to top