[Python-Dev] Reading Python source file (original) (raw)
Serhiy Storchaka storchaka at gmail.com
Tue Nov 17 11:20:30 EST 2015
- Previous message (by thread): [Python-Dev] Reading Python source file
- Next message (by thread): [Python-Dev] Reading Python source file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 17.11.15 11:59, M.-A. Lemburg wrote:
I don't think these situations are all that common, though, so reading in the full source code before compiling it sounds like a reasonable approach.
We use the same simplification in eGenix PyRun's emulation of the Python command line interface and it has so far not caused any problems.
Current implementation of import system went the same way. As a result importing the script as a module and running it with command line can have different behaviours in corner cases.
- Previous message (by thread): [Python-Dev] Reading Python source file
- Next message (by thread): [Python-Dev] Reading Python source file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]