Title: RE: [Python-Dev] Rationale for sum()'s design?
[Guido van Rossum]
#- 3.0 is soon?!?
*You* should answer this, ;)
. Facundo
Bitácora De Vuelo: http://www.taniquetil.com.ar/plog
PyAr - Python Argentina: http://pyar.decode.com.ar/
. . . . . . . . . . . . . . . . . . . . . .
Title: RE: [Python-Dev] Rationale for sum()'s design?
[Guido van Rossum]
#- > 1. When omitting the second argument, would supplying an
#- empty list return 0,
#- > None or raise an exception?
#-
#- Good question...
I'd go for None:
- Is a good default for a non-existing argument.
- I
Title: RE: [Python-Dev] comprehension abbreviation (was: Adding any() and all())
[Gareth McCaughan]
#- 1 Some bit of my brain is convinced that [x in stuff if condition]
#- is the Right Syntax and keeps making me type it even though
#- I know it doesn't work.
My brain says: '"x i
Title: RE: [Python-Dev] Legacy bugs on SF
[Reinhold Birkenfeld]
#- The month is over now, so what to do with them?
The "month" is like a minimum time limit.
I got separated and moved to my parent house. I still don't have internet connection, so I have this work a bit overdue.
But I'll
Title: RE: [Python-Dev] string find(substring) vs. substring in string
[Fredrik Lundh]
#- any special reason why "in" is faster if the substring is found, but
#- a lot slower if it's not in there?
Maybe because it stops searching when it finds it?
The time seems to be very dependant of t
Title: RE: [Python-Dev] Allowing slicing of iterators
[Guido van Rossum]
#- > As a trivial example, here's how to skip the head of a
#- zero-numbered list:
#- >
#- > for i, item in enumerate("ABCDEF")[1:]:
#- > print i, item
#- >
#- > Is this idea a non-starter, or should I spend
Title: Deprecating old bugs
As I discussed in this list, in the "Policy about old Python versions" thread at 8-Nov-2004, I started verifying the old bugs.
Here are the results for 2.1.*. This maybe should be put in an informational PEP.
When I verified the bug, I filled two fields:
- Grou
Title: RE: [Python-Dev] logging class submission
[Stephan Stapel]
#- > There's a license issue here?
#-
#- I was given the advise to use this license. If this license
#- prohibts inclusion into Python, how should I re-license the code?
I just was asking. Who gave you the advise?
.
Title: RE: [Python-Dev] logging class submission
[Stephan Stapel]
#- # Copyright 2004-2005 by Stephan Stapel <[EMAIL PROTECTED]>. All
#- Rights Reserved.
#- #
#- # Permission to use, copy, modify, and distribute this
#- software and its
#- # documentation for any purpose and without fee is
Title: RE: [Python-Dev] os.removedirs() vs. shutil.rmtree()
[Johannes Gijsbers]
#- So they're not identical, but I do agree they should be consolidated
#- and moved into one module. I'd say shutil, both because the os
#- module is already awfully crowded, and because these functions are
#- "
Title: RE: [Python-Dev] Re: Subscribing to PEP updates
[Barry Warsaw]
> As an experiment, I just added a PEP topic to the python-checkins
> mailing list. You could subscribe to this list and just select the PEP
> topic (which matches the regex "PEP" in the Subject header or first few
> line
Title: RE: [Python-Dev] re: 2.4 news reaches interesting places
[Carlos Ribeiro]
#- As far as the slogan is concerned - I still stand for my
#- proposal, but
#- I don't know if anyone has registered it first... I fear it is, it
#- sounds strangely familiar. But I hope not.
Well, Google di
Title: RE: [Python-Dev] re: 2.4 news reaches interesting places
[Raymond Hettinger]
#- > So how about a slogan like "Code it Fast, with Python", or "Python:
#- Code
#- > Fast" -- one which emphasizes the (easily defended) claim that
#- development
#- > time is shorter with Python, but which
Title: RE: [Python-Dev] Re: Re: 2.4 news reaches interesting places
[Stephan Deibel]
#- For example, a September article in InfoWorld said "But the
#- big winner
#- this time around is the object-oriented scripting language
#- Python, which
#- saw a 6 percent gain in popularity, almost dou
14 matches
Mail list logo