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
test
__init__.py -rw-r--r-- 165.3 KB
__main__.py -rw-r--r-- 148 bytes
colorchooser.py -rw-r--r-- 1.8 KB
commondialog.py -rw-r--r-- 1.2 KB
constants.py -rw-r--r-- 1.5 KB
dialog.py -rw-r--r-- 1.5 KB
dnd.py -rw-r--r-- 11.3 KB
filedialog.py -rw-r--r-- 14.5 KB
font.py -rw-r--r-- 6.7 KB
messagebox.py -rw-r--r-- 3.8 KB
scrolledtext.py -rw-r--r-- 1.8 KB
simpledialog.py -rw-r--r-- 11.2 KB
tix.py -rw-r--r-- 75.3 KB
ttk.py -rw-r--r-- 55.9 KB

back to top