repo.or.cz
/
python.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Show example of how to make a sorted dictionary
2009-11-10
raymon
d
.
h
ett
i
nger
Sh
o
w example of how to mak
e
a sor
t
ed di
c
tionary
commit
|
commitdiff
|
tree
2009-11-01
raymond
.
hettinge
r
F
ix
e
x
c
e
ption h
a
n
d
ling in
i
ter
t
ool
s
.
izip_longest()
.
commit
|
commitdiff
|
tree
2009-09-29
raymond
.
he
t
tinge
r
Issue 7008: Better document str
.
t
itle
a
nd
show ho
w
.
.
.
commit
|
commitdiff
|
tree
2009-08-04
raymond
.
hettinger
Issue 6637: defaultdict
.
copy() failed
w
ith a
n
emp
t
y
.
.
.
commit
|
commitdiff
|
tree
2009-07-27
raymo
n
d
.
h
e
tti
n
g
e
r
Issue 6573: Fix set
.
union() for cases where self is
.
.
.
commit
|
commitdiff
|
tree
2009-06-29
ray
m
ond
.
hettinge
r
Issue 63
7
0: Performan
c
e issue wi
t
h colle
c
tions
.
Counter()
.
commit
|
commitdiff
|
tree
2009-06-23
raymond
.
hettinger
Add procedural no
t
e
.
commit
|
commitdiff
|
tree
2009-06-23
raym
o
nd
.
hetti
n
ger
I
s
sue 6305: Clarify er
r
or message
for la
r
ge arguments
.
.
.
commit
|
commitdiff
|
tree
2009-06-23
raymond
.
hettinger
Issue
6329: Fix ite
r
ation
for memoryviews
.
commit
|
commitdiff
|
tree
2009-06-17
raymond
.
hettinger
Add usage note
.
commit
|
commitdiff
|
tree
2009-06-11
r
a
ymo
n
d
.
het
t
ing
e
r
I
ssu
e
6261: Clari
f
y behavior
o
f rando
m
.
uniform
(
)
.
commit
|
commitdiff
|
tree
2009-06-11
raymond
.
hettinger
M
o
ve comment
to correc
t
l
i
ne
.
commit
|
commitdiff
|
tree
2009-06-11
raymond
.
hett
i
nger
Add example of how to do key l
o
ok
u
ps with bi
s
e
c
t()
.
commit
|
commitdiff
|
tree
2009-06-10
r
a
ymond
.
het
t
ing
e
r
Fi
x
s
i
g
n
e
d/unsigned compiler
warning
.
commit
|
commitdiff
|
tree
2009-06-10
ra
y
mon
d
.
het
t
inger
Issue 6256: Fix stac
k
level in warning message
.
commit
|
commitdiff
|
tree
2009-05-29
r
a
y
mond
.
hett
i
nge
r
Move the bas
i
c examples section back to the
beg
i
nning
.
commit
|
commitdiff
|
tree
2009-05-29
ray
m
ond
.
hettinger
Is
s
ue 59
8
2: Cl
a
s
s
method a
n
d stati
c
method expose wrapped
.
.
.
commit
|
commitdiff
|
tree
2009-05-29
raymond
.
hetti
n
g
er
Deprecate contextlib
.
nested()
.
Th
e
with-stat
e
ment
.
.
.
commit
|
commitdiff
|
tree
2009-05-29
raymond
.
h
e
tti
n
g
e
r
Issue 5150: Ad
d
rstri
p
() op
t
i
o
n t
o
IDLE's forma
t
m
e
nu
.
commit
|
commitdiff
|
tree
2009-05-27
raymond
.
he
t
tinger
Fix
f
ield name conflicts for na
m
ed tuples
.
commit
|
commitdiff
|
tree
2009-05-22
raymon
d
.
hett
i
nger
Fix-up
movi
n
g average
examp
l
e
.
commit
|
commitdiff
|
tree
2009-05-19
raymo
n
d
.
h
e
tti
n
ger
Note
that
o
rd
e
red dictionaries work with reversed()
.
commit
|
commitdiff
|
tree
2009-05-18
raymond
.
het
t
inger
Issue 6
0
3
7: MutableSequence
.
__iadd__ shoul
d
return
.
.
.
commit
|
commitdiff
|
tree
2009-04-27
raymond
.
hettinger
Add
e
xample
to
t
he seealso sec
t
ion
.
commit
|
commitdiff
|
tree
2009-04-27
raymond
.
hettinger
Update spec version num
b
e
r
.
commit
|
commitdiff
|
tree
2009-04-20
raymond
.
hetting
e
r
F
ix
typo
commit
|
commitdiff
|
tree
2009-04-16
raymond
.
hettinger
Cla
r
if
y
t
h
e behavior of an
y
()
and a
l
l() with an empty
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
raymond
.
hettinger
Add exa
m
ples
.
commit
|
commitdiff
|
tree
2009-04-10
ra
y
mond
.
hettinger
Fix the count o
f
data
t
ypes
.
commit
|
commitdiff
|
tree
2009-04-10
r
a
y
m
ond
.
hetting
e
r
Clarify t
h
e
ta
b
le ent
r
ies for com
b
inatori
c
s
.
commit
|
commitdiff
|
tree
2009-04-10
ra
y
mond
.
hettin
g
er
IE needs
th
e
b
o
rder-left:0 for
som
e
reason
.
commit
|
commitdiff
|
tree
2009-04-10
r
a
y
mond
.
het
t
inger
More
tabl
e
clean-up
commit
|
commitdiff
|
tree
2009-04-09
ray
m
on
d
.
h
e
t
t
inger
Cente
r
table headings
.
commit
|
commitdiff
|
tree
2009-04-09
raymond
.
hettinger
More table
f
ormatting
.
commit
|
commitdiff
|
tree
2009-04-09
r
a
ym
o
nd
.
hetting
e
r
Ad
d
note on us
i
ng keyword
argument
s
with OrderedDict
.
commit
|
commitdiff
|
tree
2009-04-08
raymond
.
he
t
ti
n
ger
M
inor
facto
r
i
ng
.
commit
|
commitdiff
|
tree
2009-04-08
raymond
.
hettin
g
er
Add
d
ocstrings
.
commit
|
commitdiff
|
tree
2009-04-07
raymo
n
d
.
het
t
in
g
er
Fi
x
make
.
ba
t
t
o match makefile
chang
e
s
commit
|
commitdiff
|
tree
2009-04-04
raymond
.
hettinger
Replace
t
he localize
d
min/max cal
l
s with normal i
f
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
ray
m
ond
.
het
t
i
n
ger
Add he
l
pful link
.
commit
|
commitdiff
|
tree
2009-04-03
r
a
ymond
.
hett
i
ng
e
r
L
o
calize th
e
function
l
ooku
p
in timeit
.
commit
|
commitdiff
|
tree
2009-04-02
ra
y
mond
.
h
e
ttinger
Up
d
ate doc
s
f
or namedtuple's renaming change
.
commit
|
commitdiff
|
tree
2009-04-02
raymond
.
hettin
g
er
H
av
e
namedtupl
e
'
s
field r
e
namer
a
ssign names that
commit
|
commitdiff
|
tree
2009-04-01
raym
o
nd
.
hettinger
Add link
t
o an alternative generator with a long-peri
o
d
.
commit
|
commitdiff
|
tree
2009-04-01
r
aymon
d
.
hettinger
Is
s
ue #5647: MutableS
e
t
.
__ia
n
d__() no longe
r
mutate
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
raymond
.
h
e
ttinger
Im
p
rove examples
for
c
o
l
l
e
c
tions
.
deque()
commit
|
commitdiff
|
tree
2009-03-31
ray
m
ond
.
he
t
ti
n
g
er
Per
the
la
n
guage su
m
m
i
t,
the op
t
i
o
nal fast
p
ath imports
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
raym
o
nd
.
h
e
ttinger
M
a
ke life
e
asier for non-C
P
ytho
n
imp
l
ementations
.
commit
|
commitdiff
|
tree
2009-03-25
ra
y
mon
d
.
h
et
t
inger
Separate
initialization
from c
l
earing
.
commit
|
commitdiff
|
tree
2009-03-24
r
aymond
.
hett
i
nger
A
dd l
i
nks to rela
t
ed resource
s
.
commit
|
commitdiff
|
tree
2009-03-23
raymond
.
h
e
ttin
g
er
M
ake impo
r
ted
name private an
d
wrap long-line
.
commit
|
commitdiff
|
tree
2009-03-23
r
a
ymond
.
het
t
inger
Mo
v
e initial
i
zation
o
f ro
o
t l
i
nk to __init__
.
commit
|
commitdiff
|
tree
2009-03-23
raymond
.
hettin
g
e
r
Add
m
o
re comme
n
ts
.
Improv
e
v
a
riable nam
e
s
.
commit
|
commitdiff
|
tree
2009-03-20
raymo
n
d
.
hettinger
Add MutableSet
e
x
a
mple
.
commit
|
commitdiff
|
tree
2009-03-19
raymond
.
h
e
t
t
inger
Fix typo
commit
|
commitdiff
|
tree
2009-03-19
raymond
.
hettinger
*
Ad
d
imp
l
ementa
t
ion notes
.
commit
|
commitdiff
|
tree
2009-03-19
raymond
.
hettinge
r
* A
d
d cle
a
rer comment
t
o initializatio
n
c
ode
.
commit
|
commitdiff
|
tree
2009-03-19
raym
o
nd
.
hetting
e
r
Silen
c
e a compiler warning
.
commit
|
commitdiff
|
tree
2009-03-19
raymond
.
h
e
ttin
g
er
Issue
5381: Add ob
j
ect_pairs_h
o
ok to th
e
json mo
d
u
l
e
.
commit
|
commitdiff
|
tree
2009-03-19
raymond
.
hetti
n
ger
Im
p
rove implementat
i
on
wi
t
h better
underly
i
ng
da
t
a
.
.
.
commit
|
commitdiff
|
tree
2009-03-18
raymond
.
hettinger
Use mixin
m
eth
o
d
s
w
h
ere possible
.
(2
.
7 o
n
ly -- thes
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-12
raym
o
nd
.
hettinger
Issue 5477: Fix bu
g
let
i
n
t
he
ite
r
t
ools documentation
.
commit
|
commitdiff
|
tree
2009-03-12
raymond
.
hettinger
Add refe
r
e
nce to
s
o
l
u
t
ion for a
commonly asked que
s
tion
.
commit
|
commitdiff
|
tree
2009-03-10
raymond
.
hettinger
Fix typo
.
commit
|
commitdiff
|
tree
2009-03-10
raymond
.
het
t
inger
For collect
i
ons
.
deque() objects, expose t
h
e maxlen
.
.
.
commit
|
commitdiff
|
tree
2009-03-10
r
a
ymond
.
hetti
n
ger
Small opti
m
iza
t
ion for corner case where
m
axlen==
0
.
commit
|
commitdiff
|
tree
2009-03-10
raymond
.
hettinger
Upda
t
e the decima
l
FAQ
for the f
r
om_flo
a
t() cla
s
smethod
.
.
.
commit
|
commitdiff
|
tree
2009-03-10
r
ay
m
ond
.
hettinger
Add a version tag t
o
the
d
ec
i
mal module
.
commit
|
commitdiff
|
tree
2009-03-10
ra
y
mond
.
hetti
n
ger
C
larify the m
e
anin
g
of n
o
r
m
al and sub
n
ormal
.
commit
|
commitdiff
|
tree
2009-03-10
r
a
y
m
ond
.
h
e
ttinger
Update url f
o
r the s
p
e
c
.
commit
|
commitdiff
|
tree
2009-03-10
raymond
.
h
e
tt
i
nge
r
Fix markup
.
commit
|
commitdiff
|
tree
2009-03-09
raymond
.
hettinger
Add cross
-
refe
r
ence
t
o
the collections docs
.
commit
|
commitdiff
|
tree
2009-03-09
raymond
.
h
ettinge
r
Add consu
m
e()
reci
p
e to
itertoo
l
s docs
.
commit
|
commitdiff
|
tree
2009-03-09
raymond
.
hett
i
nger
Issue 5443: Fix typo
.
commit
|
commitdiff
|
tree
2009-03-03
raymon
d
.
hetti
n
g
e
r
Bac
k
port 70140,
7
01
4
1, 70143, and 70144
.
commit
|
commitdiff
|
tree
2009-03-03
raymond
.
hettinger
Minor
s
im
p
lification
.
commit
|
commitdiff
|
tree
2009-03-03
raymond
.
h
ettinger
Make the underlying data struct
u
re more privat
e
.
commit
|
commitdiff
|
tree
2009-03-03
raym
o
nd
.
h
e
ttinger
Beef-
u
p test
s
.
commit
|
commitdiff
|
tree
2009-03-03
raymond
.
hettinger
Fix marku
p
.
commit
|
commitdiff
|
tree
2009-03-03
ray
m
ond
.
hettin
g
er
Backport
7011
1
: L
e
t
c
onfigpa
r
ser
u
se ordered dicts
.
.
.
commit
|
commitdiff
|
tree
2009-03-03
raymond
.
hettinger
Backport 7010
6
:
A
dd OrderedD
i
c
t su
p
port to collections
.
.
.
commit
|
commitdiff
|
tree
2009-03-03
raymond
.
h
e
ttinger
Ba
c
k
p
ort PEP 372: OrderedD
i
c
t
()
commit
|
commitdiff
|
tree
2009-03-01
raymond
.
hettinger
Fix docs f
o
r ConfigParser
.
commit
|
commitdiff
|
tree
2009-02-27
raym
o
nd
.
hettinge
r
G
ive mapping views a usable repr
.
commit
|
commitdiff
|
tree
2009-02-26
r
a
ymond
.
he
t
tinger
Fix typo
.
commit
|
commitdiff
|
tree
2009-02-25
r
ay
m
o
nd
.
hetti
n
g
er
Clarify Counter(
)
docs
.
commit
|
commitdiff
|
tree
2009-02-25
raymond
.
hettinger
Remov
e
reference
t
o zero argument form of super() in
.
.
.
commit
|
commitdiff
|
tree
2009-02-25
raymo
n
d
.
hetting
e
r
Mo
r
e markup and spe
l
ling fixes
.
commit
|
commitdiff
|
tree
2009-02-25
raymond
.
hettinger
Res
t
ore Py2
.
x
versi
o
n o
f
s
ample call to su
p
er()
.
commit
|
commitdiff
|
tree
2009-02-25
raymond
.
hettinger
Sy
n
c
-
up py3
.
1 doc upda
t
e
s
for super()
.
commit
|
commitdiff
|
tree
2009-02-24
ray
m
o
n
d
.
h
e
ttinger
Bac
k
po
r
t 69934: Reg
i
ste
r
xrange() as a
S
eq
u
ence
.
commit
|
commitdiff
|
tree
2009-02-23
raym
o
n
d
.
hett
i
nger
Update itertools recipes to use
n
ext()
.
commit
|
commitdiff
|
tree
2009-02-21
ray
m
o
nd
.
h
e
tting
e
r
Speedup and si
m
plify n
e
gative
c
ounte
r
using count's
.
.
.
commit
|
commitdiff
|
tree
2009-02-21
raymond
.
hett
i
nger
Fix keywo
r
d
argum
e
nts for
i
tertools
.
c
o
unt()
.
commit
|
commitdiff
|
tree
2009-02-19
raymond
.
he
t
tinger
I
n
line coef
f
icients in gamma()
.
Add
r
eflecti
o
n
formu
l
a
.
.
.
commit
|
commitdiff
|
tree
2009-02-19
r
a
ymond
.
hetting
e
r
Add
l
inks
t
o helpful external resour
c
es
.
commit
|
commitdiff
|
tree
2009-02-19
ra
y
mond
.
hettinger
A
dd an example for math
.
fsum() and elab
o
r
a
te
o
n
t
h
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-19
ray
m
ond
.
hettinger
Add
some cross-references to the docs
.
Simplify the
.
.
.
commit
|
commitdiff
|
tree
2009-02-19
ray
m
o
n
d
.
hetting
e
r
Add keyword arg s
u
ppor
t
to i
t
ert
o
ols
.
repeat()
.
commit
|
commitdiff
|
tree
2009-02-19
raymond
.
hetti
n
ger
Add keyword
arg support to itertools
.
co
m
pre
s
s
(
)
.
commit
|
commitdiff
|
tree
next