Carl Meyer <c...@oddbird.net> added the comment:
Can we have a named -X option that also takes a parameter? I don't see any
existing examples of that. This option needs to take the path where bytecode
should be written.
Are there strong use-cases for having a CLI arg for this? I don't mind doing
the implementation work if there are, but right now I'm struggling to think of
any case where it would be better to run `python -C /tmp/bytecode` than
`PYTHONBYTECODEPATH=/tmp/bytecode python`. Our existing "takes a path" env
variables (`PYTHONHOME` and `PYTHONPATH`) do not have CLI equivalents.
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list