[Python-Dev] [Python-checkins] r80025 - peps/trunk/pep-3147.txt
Nick Coghlan
ncoghlan at gmail.com
Tue Apr 13 23:04:32 CEST 2010
More information about the Python-Dev mailing list
Tue Apr 13 23:04:32 CEST 2010
- Previous message: [Python-Dev] [Python-checkins] r80025 - peps/trunk/pep-3147.txt
- Next message: [Python-Dev] [Python-checkins] r80025 - peps/trunk/pep-3147.txt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Barry Warsaw wrote: > On Apr 14, 2010, at 12:17 AM, Nick Coghlan wrote: > >> Barry Warsaw wrote: >>> On Apr 13, 2010, at 11:13 PM, Nick Coghlan wrote: >> Sounds reasonable. I ask because the various functions in runpy will >> also need to cover setting that value properly. > > Right. I'm looking at runpy now, but am less familiar with this code. Right > now I have anything executed with -m as setting __cached__ to None, which > seems right in the simple case because the -m <module> doesn't appear to get > byte compiled. Is that correct? Yeah, the only time it uses byte-compiled files is if the original source is missing. Setting __cached__ to None for that case as well sounds like a reasonable starting point. Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia ---------------------------------------------------------------
- Previous message: [Python-Dev] [Python-checkins] r80025 - peps/trunk/pep-3147.txt
- Next message: [Python-Dev] [Python-checkins] r80025 - peps/trunk/pep-3147.txt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list