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
ettinger
Show example of
how
t
o make
a sorted d
i
c
tionar
y
commit
|
commitdiff
|
tree
2009-11-01
raym
o
n
d
.
hettinger
Fix ex
c
ep
t
ion
h
an
d
ling in itertools
.
izip_long
e
st()
.
commit
|
commitdiff
|
tree
2009-09-29
ray
m
ond
.
hettinger
Issue 7008: Bett
e
r d
o
cument
str
.
title an
d
show how
.
.
.
commit
|
commitdiff
|
tree
2009-08-04
raymond
.
het
t
inger
I
ss
u
e 6637: def
a
ultdi
c
t
.
copy()
f
ai
l
ed with an empt
y
.
.
.
commit
|
commitdiff
|
tree
2009-07-27
raymon
d
.
he
t
tinger
Issue 6573: Fix
s
et
.
union() for cases where self is
.
.
.
commit
|
commitdiff
|
tree
2009-06-29
raymond
.
hettinger
Issue
63
7
0: P
e
r
formance issue
w
ith
collect
i
on
s
.
Counter()
.
commit
|
commitdiff
|
tree
2009-06-23
raymon
d
.
het
t
inger
A
d
d p
r
oc
e
dura
l
note
.
commit
|
commitdiff
|
tree
2009-06-23
raym
o
nd
.
he
t
tinger
Issu
e
6305: Clarif
y
error mes
s
age for l
a
rge arguments
.
.
.
commit
|
commitdiff
|
tree
2009-06-23
ray
m
ond
.
hettinger
Issue 6329:
Fix iteration for memoryvie
w
s
.
commit
|
commitdiff
|
tree
2009-06-17
raymond
.
hettin
g
er
A
d
d usag
e
note
.
commit
|
commitdiff
|
tree
2009-06-11
raymond
.
h
ettinger
Issue 6261:
C
lari
f
y behavior of random
.
u
nif
o
r
m()
.
commit
|
commitdiff
|
tree
2009-06-11
raymond
.
hetting
e
r
Move comment to correc
t
line
.
commit
|
commitdiff
|
tree
2009-06-11
r
aymond
.
h
ettin
g
er
Add e
x
am
p
le of how
t
o do
ke
y
l
o
o
k
ups with
b
isect(
)
.
commit
|
commitdiff
|
tree
2009-06-10
r
a
ymo
n
d
.
hetting
e
r
Fix sign
e
d
/unsign
e
d compil
e
r wa
r
ning
.
commit
|
commitdiff
|
tree
2009-06-10
raymond
.
hettinger
Issue 6256: Fix stacklev
e
l in w
a
r
ning message
.
commit
|
commitdiff
|
tree
2009-05-29
r
a
ym
o
nd
.
h
e
ttinger
Mo
v
e
t
he bas
i
c
examples secti
o
n back to the
be
g
in
n
ing
.
commit
|
commitdiff
|
tree
2009-05-29
ray
m
ond
.
h
et
t
inger
Iss
u
e 598
2
:
Cl
a
ssmethod and
s
t
aticmethod expose wrapped
.
.
.
commit
|
commitdiff
|
tree
2009-05-29
raymond
.
hettinge
r
Dep
r
e
c
ate cont
e
x
tlib
.
n
ested()
.
The with-s
t
atement
.
.
.
commit
|
commitdiff
|
tree
2009-05-29
raymond
.
hett
i
nger
Issue 5150: Add rstr
i
p() option to IDLE's
for
m
a
t
menu
.
commit
|
commitdiff
|
tree
2009-05-27
raymon
d
.
h
e
ttinge
r
Fix field
n
ame
c
onflicts
for named
t
upl
e
s
.
commit
|
commitdiff
|
tree
2009-05-22
raymo
n
d
.
hettinger
Fix-up moving averag
e
e
x
am
p
le
.
commit
|
commitdiff
|
tree
2009-05-19
ra
y
m
ond
.
hetting
e
r
Note that order
e
d dictionaries work with rever
s
ed()
.
commit
|
commitdiff
|
tree
2009-05-18
ra
y
mond
.
hettinger
Issue 60
3
7: Mut
a
b
l
eSequence
.
__
i
add__ should return
.
.
.
commit
|
commitdiff
|
tree
2009-04-27
raymond
.
hettin
g
er
Add e
x
a
m
ple
t
o the seealso
s
e
c
tion
.
commit
|
commitdiff
|
tree
2009-04-27
raymond
.
he
t
t
inger
Up
d
at
e
spec v
e
rsion num
b
er
.
commit
|
commitdiff
|
tree
2009-04-20
ray
m
ond
.
hetting
e
r
F
i
x
t
ypo
commit
|
commitdiff
|
tree
2009-04-16
raymond
.
hettinger
Clarify the
beha
v
io
r
o
f any() and all(
)
with an emp
t
y
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
raymond
.
hetti
n
ger
Add exam
p
les
.
commit
|
commitdiff
|
tree
2009-04-10
raymond
.
hettinge
r
Fix
t
he
c
ount of datat
y
pes
.
commit
|
commitdiff
|
tree
2009-04-10
raym
o
nd
.
he
t
t
inge
r
Clarify
t
he ta
b
le entries
f
or
combinatorics
.
commit
|
commitdiff
|
tree
2009-04-10
raym
o
nd
.
h
e
tting
e
r
IE needs the
b
o
r
der-left:0
f
or some reason
.
commit
|
commitdiff
|
tree
2009-04-10
r
aymo
n
d
.
hettinge
r
Mo
r
e table clean-up
commit
|
commitdiff
|
tree
2009-04-09
raymond
.
hett
i
nger
Center table headings
.
commit
|
commitdiff
|
tree
2009-04-09
raymond
.
hettinger
Mo
r
e table
f
o
rmatting
.
commit
|
commitdiff
|
tree
2009-04-09
ray
m
ond
.
het
t
inger
Add note on using
k
eyw
o
rd arguments with OrderedDict
.
commit
|
commitdiff
|
tree
2009-04-08
r
aymond
.
hettinger
Minor factoring
.
commit
|
commitdiff
|
tree
2009-04-08
raymond
.
hettinger
Add docstrings
.
commit
|
commitdiff
|
tree
2009-04-07
raymon
d
.
h
e
t
t
i
nger
F
i
x make
.
bat t
o
match makefile c
h
anges
commit
|
commitdiff
|
tree
2009-04-04
raymond
.
hettinger
Replace t
h
e localized min/max
c
a
lls
with no
r
m
a
l
if
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
raymond
.
hett
i
nge
r
Add helpful link
.
commit
|
commitdiff
|
tree
2009-04-03
raymond
.
hettinger
Localize the
f
u
nction lookup
i
n t
i
me
i
t
.
commit
|
commitdiff
|
tree
2009-04-02
raym
o
nd
.
hettinger
U
pdate docs for namedtuple's r
e
naming cha
n
ge
.
commit
|
commitdiff
|
tree
2009-04-02
raymo
n
d
.
h
ettinger
Hav
e
n
amed
t
u
ple's field
renamer assign
n
ame
s
that
commit
|
commitdiff
|
tree
2009-04-01
r
aymond
.
hetti
n
ger
Add link to
an alternative gener
a
tor
w
ith a lon
g
-pe
r
i
od
.
commit
|
commitdiff
|
tree
2009-04-01
raymond
.
hettin
g
er
Issu
e
#
5
647
:
MutableSe
t
.
__iand
_
_
(
)
no longer m
u
tate
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
raymon
d
.
hettinger
Improve
examples for col
l
ections
.
deque()
commit
|
commitdiff
|
tree
2009-03-31
r
aymond
.
hettin
g
e
r
Per the language summit, the optional fastpath i
m
ports
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
raymond
.
hetting
e
r
Mak
e
l
i
f
e
ea
s
i
e
r for
n
on-CP
y
thon implementations
.
commit
|
commitdiff
|
tree
2009-03-25
raymond
.
he
t
tinger
S
eparate in
i
tia
l
ization fro
m
clearing
.
commit
|
commitdiff
|
tree
2009-03-24
raym
o
nd
.
hettinger
Add links
to relate
d
resour
c
es
.
commit
|
commitdiff
|
tree
2009-03-23
raymond
.
het
t
i
nger
Make importe
d
name private a
n
d wrap long-li
n
e
.
commit
|
commitdiff
|
tree
2009-03-23
raymond
.
h
etting
e
r
Move i
n
itia
l
ization of
r
o
ot link
t
o __init__
.
commit
|
commitdiff
|
tree
2009-03-23
raymond
.
hettinger
Add
more
comments
.
I
m
prove variable names
.
commit
|
commitdiff
|
tree
2009-03-20
raymond
.
hettinger
A
dd Mut
a
bl
e
Set example
.
commit
|
commitdiff
|
tree
2009-03-19
raymo
n
d
.
hettin
g
er
Fi
x
typo
commit
|
commitdiff
|
tree
2009-03-19
r
aymond
.
hettinger
* Add i
m
p
lementation n
o
tes
.
commit
|
commitdiff
|
tree
2009-03-19
r
a
y
mond
.
he
t
tinger
* Add clearer c
o
mm
e
n
t
to init
i
alizat
i
on code
.
commit
|
commitdiff
|
tree
2009-03-19
r
a
ymo
n
d
.
h
e
tting
e
r
Sil
e
nc
e
a
compil
e
r warning
.
commit
|
commitdiff
|
tree
2009-03-19
r
a
y
m
ond
.
hettin
g
e
r
Issue
5
381: Add ob
j
ect_pai
r
s
_
h
o
ok
t
o th
e
json module
.
commit
|
commitdiff
|
tree
2009-03-19
ray
m
ond
.
h
ett
i
n
g
e
r
Impro
v
e implementation with better underlying d
a
ta
.
.
.
commit
|
commitdiff
|
tree
2009-03-18
raymond
.
hettinger
Use mixin
m
ethods where poss
i
b
le
.
(2
.
7 only -- these
.
.
.
commit
|
commitdiff
|
tree
2009-03-12
r
ay
m
ond
.
hettin
g
e
r
Is
s
ue 5477: F
i
x
buglet
i
n the itertools documentation
.
commit
|
commitdiff
|
tree
2009-03-12
ra
y
mond
.
hettinger
Ad
d
reference
t
o solution for a commonly asked qu
e
stion
.
commit
|
commitdiff
|
tree
2009-03-10
raymond
.
hettinger
Fix typo
.
commit
|
commitdiff
|
tree
2009-03-10
raymon
d
.
hettinger
F
o
r collections
.
dequ
e
() obj
e
cts,
e
xpose t
h
e maxlen
.
.
.
commit
|
commitdiff
|
tree
2009-03-10
ray
m
ond
.
hetti
n
ger
S
m
all optimization f
o
r co
r
n
er case wh
e
re max
l
e
n
==0
.
commit
|
commitdiff
|
tree
2009-03-10
raymond
.
hettinger
Upd
a
t
e
the decimal FAQ for the fro
m
_float() classmeth
o
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-10
raymon
d
.
hettinger
Add a
vers
i
on
t
ag to the decimal modul
e
.
commit
|
commitdiff
|
tree
2009-03-10
r
aymo
n
d
.
hetti
n
ge
r
Cla
r
ify the
meaning of normal and subnor
m
al
.
commit
|
commitdiff
|
tree
2009-03-10
raymond
.
hettinger
Update url for the sp
e
c
.
commit
|
commitdiff
|
tree
2009-03-10
r
aymo
n
d
.
hett
i
ng
e
r
Fix
markup
.
commit
|
commitdiff
|
tree
2009-03-09
raymo
n
d
.
hettin
g
er
Add
c
r
oss
-
r
e
ference to the collections docs
.
commit
|
commitdiff
|
tree
2009-03-09
ra
y
mon
d
.
hettinger
A
d
d con
s
ume() re
c
ipe to itertools d
o
cs
.
commit
|
commitdiff
|
tree
2009-03-09
raymond
.
h
e
tt
i
nger
Issue
5
44
3
:
F
i
x typo
.
commit
|
commitdiff
|
tree
2009-03-03
r
a
ymond
.
he
t
ti
n
ge
r
Ba
c
kport 701
4
0, 70141, 70143, and 701
4
4
.
commit
|
commitdiff
|
tree
2009-03-03
r
a
ym
o
nd
.
h
ettinger
Minor simplification
.
commit
|
commitdiff
|
tree
2009-03-03
raym
o
nd
.
hettin
g
er
Mak
e
the un
d
e
r
l
y
i
ng data stru
c
ture mor
e
private
.
commit
|
commitdiff
|
tree
2009-03-03
raymo
n
d
.
he
t
ting
e
r
Beef-up tests
.
commit
|
commitdiff
|
tree
2009-03-03
ra
y
mond
.
h
e
ttinger
Fix markup
.
commit
|
commitdiff
|
tree
2009-03-03
raymond
.
hetti
n
ger
Backport 70111: Let configp
a
rser use orde
r
ed dic
t
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-03
r
a
ymond
.
hettinger
Backport 70106:
A
dd OrderedDict suppo
r
t to collections
.
.
.
commit
|
commitdiff
|
tree
2009-03-03
raymond
.
h
e
tti
n
ger
B
ackp
o
rt PEP 372
:
Orde
r
edDic
t
()
commit
|
commitdiff
|
tree
2009-03-01
raymond
.
hett
i
nger
Fi
x
docs for Confi
g
Parser
.
commit
|
commitdiff
|
tree
2009-02-27
raymond
.
hettinger
G
i
ve
mapping v
i
ews a usable r
e
pr
.
commit
|
commitdiff
|
tree
2009-02-26
raym
o
nd
.
hetting
e
r
Fix typo
.
commit
|
commitdiff
|
tree
2009-02-25
r
a
ymond
.
hettinger
C
larif
y
C
ounter(
)
d
ocs
.
commit
|
commitdiff
|
tree
2009-02-25
r
a
y
m
ond
.
hettinger
Rem
o
ve reference
t
o z
e
ro argument for
m
of super() in
.
.
.
commit
|
commitdiff
|
tree
2009-02-25
raymond
.
het
t
inger
More markup and spelling fixes
.
commit
|
commitdiff
|
tree
2009-02-25
raymond
.
hettinger
Res
t
ore P
y
2
.
x version
o
f
s
ample ca
l
l to
super()
.
commit
|
commitdiff
|
tree
2009-02-25
ray
m
ond
.
het
t
ing
e
r
S
y
n
c
-up py3
.
1 doc
upd
a
tes
f
or super()
.
commit
|
commitdiff
|
tree
2009-02-24
raymond
.
he
t
tinger
Backport 69934: Register xrange(
)
as
a Sequence
.
commit
|
commitdiff
|
tree
2009-02-23
raymond
.
het
t
inge
r
Update
itertools recipes to
use ne
x
t()
.
commit
|
commitdiff
|
tree
2009-02-21
raym
o
nd
.
hettinger
Speedu
p
a
nd simpli
f
y
n
egative counte
r
u
s
ing count
'
s
.
.
.
commit
|
commitdiff
|
tree
2009-02-21
raymond
.
hetting
e
r
Fix keyw
o
rd arguments for it
e
rtools
.
count
(
)
.
commit
|
commitdiff
|
tree
2009-02-19
r
a
ym
o
nd
.
hettinger
Inl
i
ne
c
oe
f
fic
i
ents in gamma()
.
Add re
f
lection formul
a
.
.
.
commit
|
commitdiff
|
tree
2009-02-19
raymond
.
hetti
n
ge
r
A
d
d
li
n
ks to helpful exte
r
nal resources
.
commit
|
commitdiff
|
tree
2009-02-19
r
a
ymond
.
hettinger
Add an example for math
.
fsum()
and e
l
aborate on the
.
.
.
commit
|
commitdiff
|
tree
2009-02-19
raymo
n
d
.
hettinge
r
Add
s
o
m
e
c
ross-referen
c
es t
o
the d
o
c
s
.
S
implify the
.
.
.
commit
|
commitdiff
|
tree
2009-02-19
r
aymond
.
hetti
n
ger
Add keyword arg su
p
port
t
o it
e
rtoo
l
s
.
repe
a
t
(
)
.
commit
|
commitdiff
|
tree
2009-02-19
raymond
.
hettinger
Add keyw
o
rd arg support to itertools
.
compres
s
()
.
commit
|
commitdiff
|
tree
next