summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-08-25 18:44:34 +0000
committerGuido van Rossum <guido@python.org>1998-08-25 18:44:34 +0000
commit06bb82012ae891bbd3de59ec49f95623dbdf79e1 (patch)
tree8333ebd5684bd246423f93d422a4da95ea617c63 /Python/pythonrun.c
parentbe3ec74fde2221e5c7ca85ff288fa392efaeca8f (diff)
downloadcpython-06bb82012ae891bbd3de59ec49f95623dbdf79e1.tar.gz
__file__ used to be always set to the .pyc (or .pyo) file, even if
that file in fact did not exist or at least was not used. Change this so that __file__ is *only* set to the .pyc/.pyo file when it actually read the code object from it; otherwise __file__ is set to the .py file.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions