[Python-Dev] [Python-checkins] cpython (3.3): Add -b and -X options to python man page.

R. David Murray rdmurray at bitdance.com
Mon Jun 24 22:43:15 CEST 2013


On Mon, 24 Jun 2013 22:14:46 +0200, Maciej Fijalkowski <fijall at gmail.com> wrote:
> On Sun, Jun 23, 2013 at 6:14 PM, R. David Murray <rdmurray at bitdance.com> wrote:
> > On Sun, 23 Jun 2013 17:40:13 +0200, Maciej Fijalkowski <fijall at gmail.com> wrote:
> >> On Thu, Jun 20, 2013 at 3:36 PM, Brett Cannon <brett at python.org> wrote:
> >> > On Wed, Jun 19, 2013 at 11:20 PM, senthil.kumaran
> >> > <python-checkins at python.org> wrote:
> >> >>  .TP
> >> >> +.BI "\-X " option
> >> >> +Set implementation specific option.
> >> >
> >> >
> >> > Should probably be "Set the implementation-specific option."
> >>
> >> Is there anyone respecting this notation? (I know pypy does not, it
> >> uses --jit and stuff)
> >
> > CPython does.  We introduced it for ourselves, it is up to other
> > implementations whether or not to use it, or use something else.
> >
> > --David
> 
> you mean "CPython does not have any implementation-specific options"?
> I would claim -O behavior should be implementation-specific since it's
> nonsense in the optimizations sense, but other than that, it does not
> seem that there is any -X options?

There is one.  -X faulthandler.  I'm sure others would agree about
-O, but that long predates -X.

So, the idea is that -X *can* be used by other implementations for their
own purposes, but there is certainly no requirement that they do so.
Our promise is that anything CPython uses it for is something we don't
expect other implementations to support.

--David


More information about the Python-Dev mailing list