Re: [Python-Dev] python -U

2010-02-04 Thread Barry Warsaw
On Feb 03, 2010, at 08:52 PM, Martin v. Löwis wrote:

>>> As an aside, I think this should be documented *somewhere* other than
>>> just in import.c!  I'd totally forgotten about it until I read the
>>> source and almost missed it.  Either it should be documented or it
>>> should be ripped out.
>> 
>> The -U option is already gone in 3.x.
>
>Precisely my view.

I took the "or document it" approach.

http://bugs.python.org/file16127/7847.patch
http://bugs.python.org/issue7847

-Barry


signature.asc
Description: PGP signature
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] python -U

2010-02-03 Thread Martin v. Löwis
>> As an aside, I think this should be documented *somewhere* other than
>> just in import.c!  I'd totally forgotten about it until I read the
>> source and almost missed it.  Either it should be documented or it
>> should be ripped out.
> 
> The -U option is already gone in 3.x.

Precisely my view.

Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] python -U

2010-02-03 Thread Antoine Pitrou
Le Tue, 02 Feb 2010 22:57:11 -0800, Barry Warsaw a écrit :
> On Jan 31, 2010, at 01:44 PM, Nick Coghlan wrote:
> 
>>We deliberate don't document -U because its typical effect is "break the
>>world" - it makes all strings unicode in 2.x.
> 
> As an aside, I think this should be documented *somewhere* other than
> just in import.c!  I'd totally forgotten about it until I read the
> source and almost missed it.  Either it should be documented or it
> should be ripped out.

The -U option is already gone in 3.x.


___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com