A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-July/112392.html below:

[Python-Dev] 3.2.1 encoding surprise

[Python-Dev] 3.2.1 encoding surprise [Python-Dev] 3.2.1 encoding surpriseEthan Furman ethan at stoneleaf.us
Thu Jul 21 00:51:25 CEST 2011
Glenn Linderman wrote:
>   On 7/20/2011 7:19 AM, Vinay Sajip wrote:
>> It's not py's job to walk the path: the shell does that when you just type
>> "foo". It locates foo.py, and then invokes py because of file association - py
>> then checks the file for a shebang to decide which Python to dispatch it to.
> 
> Certainly when the launcher is invoked via an association, this would be 
> the case.  However, when the launcher is invoked via the command line, 
> then the unqualified name is passed through.  To be useful from the 
> command line, the launcher should walk the PATH to find the .py file.

I would say that would be a cool enhancement, as it could save a bit of 
typing, but I think the launcher is quite useful even without path 
traversal.

~Ethan~
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4