[Python-Dev] Reserving an arg space for Jython

Brett Cannon brett at python.org
Fri Apr 11 20:51:18 CEST 2008


On Fri, Apr 11, 2008 at 7:40 PM, Guido van Rossum <guido at python.org> wrote:
> Works for me. We should have a patch to CPython that looks for -J and
>  rejects it with "-J is reserved for Jython".
>

Do we want it to be Jython-specific, or should it be available to any
alternative VM? I don't know if the IronPython folks need anything for
.NET, but maybe they would like one?

-Brett

>
>
>  On Fri, Apr 11, 2008 at 10:38 AM, Frank Wierzbicki
>  <fwierzbicki at gmail.com> wrote:
>  > Hi all,
>  >
>  >  I was wondering if it might be possible for Jython to get an "arg
>  >  space" for command line execution.  We try to deliver the same
>  >  switches that Python delivers (so for example -c means "program passed
>  >  in as string" on Python and Jython).  We have some need for arguments
>  >  that would be Jython-specific, for example we would like to be able to
>  >  pass arguments to the Java process that starts Jython.  I would just
>  >  make one up, but it would be best if it was future compatible with
>  >  Python (so -J would be great, but it would be annoying if -J started
>  >  to mean something in a future Python).
>  >
>  >  So what do guys say?  Can we hava -J?  I don't think it is being used yet...
>  >
>  >  -Frank
>  >  _______________________________________________
>  >  Python-Dev mailing list
>  >  Python-Dev at python.org
>  >  http://mail.python.org/mailman/listinfo/python-dev
>  >  Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org
>  >
>
>
>
>  --
>  --Guido van Rossum (home page: http://www.python.org/~guido/)
>
>
> _______________________________________________
>  Python-Dev mailing list
>  Python-Dev at python.org
>  http://mail.python.org/mailman/listinfo/python-dev
>  Unsubscribe: http://mail.python.org/mailman/options/python-dev/brett%40python.org
>


More information about the Python-Dev mailing list