Does anyone know what Mono does here? Presumably they have the exact same problem as all strings in .NET are Unicode, and filenames/env vars/etc... are always strings. Maybe if it's gotta be broken at least it can be broken in a manner that's consistent with others :) > -----Original Message----- > From: python-dev-bounces+dinov=microsoft.com at python.org [mailto:python- > dev-bounces+dinov=microsoft.com at python.org] On Behalf Of Adam Olsen > Sent: Thursday, December 04, 2008 6:32 PM > To: James Y Knight > Cc: "Martin v. Löwis"; python-dev List > Subject: Re: [Python-Dev] Python-3.0, unicode, and os.environ > > On Thu, Dec 4, 2008 at 6:14 PM, James Y Knight <foom at fuhm.net> wrote: > > On Dec 4, 2008, at 6:39 PM, Martin v. Löwis wrote: > >> > >> I'm in favour of a different, fifth solution: > >> > >> 5) represent all environment variables in Unicode strings, > >> including the ones that currently fail to decode. > >> (then do the same to file names, then drop the byte-oriented > >> file operations again) > > > > Yay, maybe we can have this whole discussion all over again! > > > > Let's bring out all the same arguments, come to no conclusion, and > let it > > taper off unresolved, yet again! :) > > > > FWIW, I still agree with Martin that that's the most reasonable > solution. > > It died because nobody presented a viable solution, and I maintain no > solution is possible. All suggestions involve arbitrary > transformations that fail to round trip correctly at some point or > another. They're simply about shuffling the failure around to > somewhere the poster happens to like. > > Please, if you have a *new* idea that doesn't have a failure mode, by > all means post it. But don't resurrect a pointless bikeshed. > > > -- > Adam Olsen, aka Rhamphoryncus > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: http://mail.python.org/mailman/options/python- > dev/dinov%40microsoft.com
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