[Python-3000] Rename re.sub and re.subn

2008-01-27 Thread hashcollision
I have always thought that re's sub and subn are misnamed. I always mis-remember them as 'replace'. Can they either be renamed to "replace" and "replacen" or at least the new functions added? ___ Python-3000 mailing list Python-3000@python.org http://mail

Re: [Python-3000] Ellipsis Literal

2008-01-27 Thread Greg Ewing
Gisle Aas wrote: > I think it would be been nice if "..." raised an NotYetImplemented > exception if executed as a lone statement. That's quite a clever idea! Not sure if it's actually desirable, but it makes a Monty Pythonish sort of sense. > BTW, Perl 6 also introduce the same feature and Lar

Re: [Python-3000] r60376 - in python/branches/py3k: Lib/test/test_float.py Lib/test/test_long.py Objects/stringlib/formatter.h

2008-01-27 Thread Nick Coghlan
Aahz wrote: > On Mon, Jan 28, 2008, Nick Coghlan wrote: >> I think this checkin goes too far in removing support for the floating >> point formatting codes from integers. Guido objected to %d working on >> floats last year, but expected %f and friends to continue to work on >> integers [1]. This

Re: [Python-3000] [Python-3000-checkins] r60376 - in python/branches/py3k: Lib/test/test_float.py Lib/test/test_long.py Objects/stringlib/formatter.h

2008-01-27 Thread Aahz
On Mon, Jan 28, 2008, Nick Coghlan wrote: > > I think this checkin goes too far in removing support for the floating > point formatting codes from integers. Guido objected to %d working on > floats last year, but expected %f and friends to continue to work on > integers [1]. This makes sense whe

Re: [Python-3000] [Python-3000-checkins] r60376 - in python/branches/py3k: Lib/test/test_float.py Lib/test/test_long.py Objects/stringlib/formatter.h

2008-01-27 Thread Guido van Rossum
On Jan 27, 2008 8:16 PM, Nick Coghlan <[EMAIL PROTECTED]> wrote: > eric.smith wrote: > > Author: eric.smith > > Date: Sun Jan 27 22:07:59 2008 > > New Revision: 60376 > > > > Modified: > >python/branches/py3k/Lib/test/test_float.py > >python/branches/py3k/Lib/test/test_long.py > >python

Re: [Python-3000] [Python-3000-checkins] r60376 - in python/branches/py3k: Lib/test/test_float.py Lib/test/test_long.py Objects/stringlib/formatter.h

2008-01-27 Thread Nick Coghlan
eric.smith wrote: > Author: eric.smith > Date: Sun Jan 27 22:07:59 2008 > New Revision: 60376 > > Modified: >python/branches/py3k/Lib/test/test_float.py >python/branches/py3k/Lib/test/test_long.py >python/branches/py3k/Objects/stringlib/formatter.h > Log: > Restrict format presentation