Message54874
If I invoke "python -OO" on a set of files, python
creates a set of .pyo files. If I then realize this is
an incredibly stupid thing to do because it removes the
docstrings from the output and this program requires
those docstrings python does not give me a method of
overwriting the generated .pyos.
I anticipated that running "python -O" would detect
that the already generated .pyos were created in a
different optimixation level and overwrite them with
new .pyos. Barring that, I expected there to be a
command line switch to tell python to overwrite the
previously generated .pyo cache files. Finding
neither, I realized that the only way to recover
docstrings for people using python -O was to rm all the
generated .pyo files. This seems like a bug or a
missing feature. |
|
| Date |
User |
Action |
Args |
| 2007-08-23 16:12:04 | admin | link | issue1538778 messages |
| 2007-08-23 16:12:04 | admin | create | |
|