[Python-Dev] Bilingual scripts

Nick Coghlan ncoghlan at gmail.com
Thu May 30 10:53:01 CEST 2013

On 30 May 2013 04:40, "Barry Warsaw" <barry at python.org> wrote:
> On May 29, 2013, at 01:01 PM, Nick Coghlan wrote:
> >PEP 432 is also related, as it includes the "pysystem" proposal [1]
> >(an alternate Python CLI that will default to -Es behaviour, but is
> >otherwise similar to the standard "python" interpreter).
> I *knew* this was being specified somewhere, but I couldn't find it in
> the tracker or PEP summary.  As an aside Nick, what do you think about
> splitting the pysystem proposal out of PEP 432?  I think they could
> live as independent PEPs albeit perhaps the pysystem one dependent on 432.

Sure. You could probably even implement it without PEP 432, it would just
be somewhat painful to replicate the current CLI behaviour.


> >The rest of the discussion though makes me think we may actually need
> >a *nix equivalent of PEP 397 (which describes the "py" launcher we
> >created to get around the limitations of Windows file associations).
> Perhaps!
> >Between that and the interpreter identification mechanism defined for
> >the PEP 425 compatibility tags it should be possible to come up with
> >an upstream solution for 3.4 that the distros can backport to work
> >with earlier versions (similar to the way users can download the
> >Windows launcher directly from
> >https://bitbucket.org/pypa/pylauncher/downloads even though we only
> >started shipping it upstream as part of the Python 3.3 installer)
> We're getting pretty close to a real idea here. :)
> -Barry
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130530/1c517157/attachment.html>

More information about the Python-Dev mailing list