Staging
v0.5.1
https://github.com/python/cpython
Revision 04ac4c1cb8e7af5571adbe64cb82938a323e5850 authored by Christian Heimes on 11 September 2012, 13:47:28 UTC, committed by Christian Heimes on 11 September 2012, 13:47:28 UTC
1 parent eeb5635
Raw File
Tip revision: 04ac4c1cb8e7af5571adbe64cb82938a323e5850 authored by Christian Heimes on 11 September 2012, 13:47:28 UTC
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.
Tip revision: 04ac4c1
.hgtouch
# -*- Makefile -*-
# Define dependencies of generated files that are checked into hg.
# The syntax of this file uses make rule dependencies, without actions

Python/importlib.h: Lib/importlib/_bootstrap.py Python/freeze_importlib.py

Include/ast.h: Parser/Python.asdl Parser/asdl.py Parser/asdl_c.py
Python/Python-ast.c: Include/ast.h

Python/opcode_targets.h: Python/makeopcodetargets.py Lib/opcode.py

Objects/typeslots.inc: Include/typeslots.h Objects/typeslots.py
back to top