[Python-Dev] file open in python interpreter (original) (raw)

adrian golding adriangolding at gmail.com
Mon Nov 3 08:04:46 CET 2008


hi all, i am trying to find out where is the part of the code in the python interpreter that opens up the .py file and parses it. in particular, i am trying to find the file open command in that file. I greped and i just want to make sure this is it: /Python-2.6/Parser/pgenmain.c i am intending to take a hash measurement of the .py file just before i open it to run the script. is the above file the right place to call for the measurement before the file open function?

thank you - adrian -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20081103/82aaacc2/attachment.htm>



More information about the Python-Dev mailing list