[Python-Dev] Bilingual scripts

Chris McDonough chrism at plope.com
Sat May 25 12:17:06 CEST 2013


On Sat, 2013-05-25 at 17:57 +1000, Nick Coghlan wrote:
> I think the simplest thing to do is just append the "3" to the binary
> name (as we do ourselves for pydoc) and then abide by the
> recommendations in PEP 394 to reference the correct system executable.

I'm curious if folks have other concrete examples of global bindir
executables other than nosetests and pydoc that need to be disambiguated
by Python version.  I'd hate to see it become standard practice to
append "3" to scripts generated by packages which happen to use Python
3, as it will just sort of perpetuate its otherness.

- C




More information about the Python-Dev mailing list