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
__init__.py -rw-r--r-- 314 bytes
__main__.py -rwxr-xr-x 13.9 KB
bytedesign.py -rwxr-xr-x 4.1 KB
chaos.py -rw-r--r-- 951 bytes
clock.py -rwxr-xr-x 3.1 KB
colormixer.py -rw-r--r-- 1.3 KB
forest.py -rwxr-xr-x 2.9 KB
fractalcurves.py -rwxr-xr-x 3.4 KB
lindenmayer.py -rwxr-xr-x 2.4 KB
minimal_hanoi.py -rwxr-xr-x 2.0 KB
nim.py -rw-r--r-- 6.4 KB
paint.py -rwxr-xr-x 1.3 KB
peace.py -rwxr-xr-x 1.0 KB
penrose.py -rwxr-xr-x 3.3 KB
planet_and_moon.py -rwxr-xr-x 2.8 KB
rosette.py -rw-r--r-- 1.3 KB
round_dance.py -rw-r--r-- 1.8 KB
sorting_animate.py -rwxr-xr-x 4.9 KB
tree.py -rwxr-xr-x 1.4 KB
turtle.cfg -rw-r--r-- 160 bytes
two_canvases.py -rw-r--r-- 1.1 KB
yinyang.py -rwxr-xr-x 821 bytes

back to top