This website requires JavaScript.
Explore
Help
Sign In
ada
/
cpython
Watch
0
Star
0
Fork
0
You've already forked cpython
mirror of
https://github.com/AdaCore/cpython.git
synced
2026-02-12 12:57:15 -08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
143d034ecd110f8543eba4ad76dfb6085cdaeb3d
cpython
/
Python
/
pythonrun.c
Christian Heimes
6d29352cfd
Issue
#15895
: my analysis was slightly off. The FILE pointer is only leaked when set_main_loader() fails for a pyc file with closeit=0. In the success case run_pyc_file() does its own cleanup of the fp. I've changed the code to use another FILE ptr for pyc files and moved the fclose() to PyRun_SimpleFileExFlags() to make it more obvious what's happening.
2012-09-11 15:47:28 +02:00
73 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink