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/2010-March/098038.html below:

[Python-Dev] __file__

[Python-Dev] __file__ [Python-Dev] __file__Greg Ewing greg.ewing at canterbury.ac.nz
Mon Mar 1 00:22:19 CET 2010
Glenn Linderman wrote:
> if the 
> command line/runpy can do it, the importer could do it.  Just a matter 
> of desire and coding.  Whether it is worth pursuing further depends on 
> people's perceptions of "kookiness" vs. functional and performance 
> considerations.

Having .py files around that aren't source text could
lead to a lot of confusion, given that most platforms
these days decide which application to open for a given
file based solely on the filename extension. I wouldn't
enjoy trying to open a .py file only to have my text
editor blow up because it was actually a binary file.

So on balance I think it's a bit too kooky for my
taste.

-- 
Greg
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