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/2008-December/084056.html below:

[Python-Dev] Python-3.0, unicode, and os.environ

[Python-Dev] Python-3.0, unicode, and os.environToshio Kuratomi a.badger at gmail.com
Sun Dec 7 07:07:08 CET 2008
Guido van Rossum wrote:
> On Sat, Dec 6, 2008 at 10:53 AM,  <glyph at divmod.com> wrote:

>> I find it interesting to note that the only users in this discussion who
>> actually have these problems in real life all have this attitude.  It is
>> expected that in an imperfect world we will have imperfect encodings, but it
>> is super important that software which can open files can deal with not
>> understanding the character translation of the filename.
> 
> For file managers and similar tools I am absolutely 100% in agreement
> -- that's why the binary APIs are there.
> 
> Most apps aren't file managers or ftp clients though. The sky is not falling.
> 
I agree that the sky is not falling (as long as we get a binary API for
env vars in 3.1) but I'm still wondering what the use case you see is.
Most apps aren't file managers or ftp clients but when they interact
with files (for instance, a file selection dialog) they need to be able
to show the user all the relevant files.  So on an app-by-app basis the
need for this is high.  On a code basis, I'd hope that most file
selection dialogs are pulled out into libraries... but that still
doesn't help me identify when someone would expect that asking python
for a list of all files in a directory or a specific set of files in a
directory should, without warning, return only a subset of them.  In
what situations is this appropriate behaviour?

-Toshio

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-dev/attachments/20081206/8ce71be8/attachment.pgp>
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