[Python-Dev] py_compile and CR in source files (original) (raw)
Skip Montanaro skip@mojam.com (Skip Montanaro)
Fri, 26 May 2000 04:39:39 -0500 (CDT)
- Previous message: [Python-Dev] py_compile and CR in source files
- Next message: [Python-Dev] py_compile and CR in source files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Greg> Arrghh! This means that Distutils will either have to
Greg> check/convert line-endings at build-time (hey, finally, a good
Greg> excuse for the "build_py" command), or implicitly compile modules
Greg> by importing them (instead of using 'py_compile.compile()').
I don't think you can safely compile modules by importing them. You have no idea what the side effects of the import might be.
How about fixing py_compile.compile() instead?
-- Skip Montanaro, skip@mojam.com, http://www.mojam.com/, http://www.musi-cal.com/ "We have become ... the stewards of life's continuity on earth. We did not ask for this role... We may not be suited to it, but here we are."
- Stephen Jay Gould
- Previous message: [Python-Dev] py_compile and CR in source files
- Next message: [Python-Dev] py_compile and CR in source files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]