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
Let set.intersection() and set.intersection_update() take multiple input arguments.
2008-06-09
raym
o
nd
.
hettinger
Let
s
et
.
intersection() and set
.
inter
s
ection_update
.
.
.
commit
|
commitdiff
|
tree
2008-06-09
raymond
.
h
e
t
tin
g
er
Unhapp
y
buildbots
.
R
evert 64052
.
Long
doubles have
.
.
.
commit
|
commitdiff
|
tree
2008-06-09
raymond
.
hettinger
Address do
u
ble-rounding
s
c
enarios
b
y
setting all varia
b
les
.
.
.
commit
|
commitdiff
|
tree
2008-06-09
ray
m
ond
.
het
t
in
g
er
Let s
e
t
.
union() and se
t
.
u
pdate()
accept mult
i
ple inputs
.
commit
|
commitdiff
|
tree
2008-06-09
r
aymo
n
d
.
hetti
n
ger
Issue #2138: Ad
d
ma
t
h
.
factorial()
.
commit
|
commitdiff
|
tree
2008-06-09
raymond
.
hettinger
Issue3065
:
Fi
x
e
d
pic
k
l
ing of na
m
e
d tuples
.
Added
.
.
.
commit
|
commitdiff
|
tree
2008-06-06
ray
m
ond
.
hettinge
r
Issue 3501:
Ma
k
e heapq supp
o
rt
b
o
th __le_
_
and __l
t
_
_
.
commit
|
commitdiff
|
tree
2008-05-31
ra
y
mond
.
hett
i
nger
Implemen
t
heapq
i
n te
r
ms of
l
e
ss-
t
h
an (to match list
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
r
a
ymond
.
hetti
n
ger
*
Ma
r
k intermedidate
c
omputes v
a
l
ues
(hi, lo, yr) as
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
raymond
.
het
t
inger
Issue 2903: Add __n
a
me__ in glob
a
l
s
for na
m
edtuple
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
r
aymond
.
h
ettinger
Issue 2855:
F
ix obs
c
ure crasher by slowing do
w
n
t
he
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
ray
m
ond
.
hettinger
Iss
u
e 2784: fix leaks in exc
e
p
tion exit
.
commit
|
commitdiff
|
tree
2008-05-29
raymond
.
he
t
tin
g
er
Fix t
w
o
t
ypos
.
commit
|
commitdiff
|
tree
2008-05-23
ray
m
ond
.
hett
i
nger
Fix typo
commit
|
commitdiff
|
tree
2008-05-23
ra
y
mond
.
h
e
tt
i
ng
e
r
Issue 2909: show how to name unpac
k
ed f
i
e
lds
.
commit
|
commitdiff
|
tree
2008-05-23
raymond
.
hettinger
Tweak the comm
e
n
t
s
and
formatting
.
commit
|
commitdiff
|
tree
2008-05-23
r
a
ymond
.
he
t
tinger
Doc
s
f
or Issue
2
81
9
.
commit
|
commitdiff
|
tree
2008-05-17
raymo
n
d
.
h
ettinger
F
ix-up docst
r
ing
commit
|
commitdiff
|
tree
2008-05-08
r
aymond
.
hettin
g
er
Issue
2
778
.
Do
c
ument the temporary frozenset swap
.
.
.
commit
|
commitdiff
|
tree
2008-05-08
raym
o
n
d
.
het
t
inge
r
Fix-
u
p
the enumerate type exa
m
ple and move it to
the
.
.
.
commit
|
commitdiff
|
tree
2008-05-08
raymond
.
hettinge
r
The __all_
_
variable forgot to expose th
e
gcd() functio
n
.
commit
|
commitdiff
|
tree
2008-05-08
raymond
.
he
t
tinge
r
Frozensets do
n
ot
b
e
nefit from aut
o
conversion
.
commit
|
commitdiff
|
tree
2008-04-17
raymond
.
hetting
e
r
Issue 2
6
48: Add l
e
ading zero to mon
e
y
format
r
eci
p
e
.
.
.
commit
|
commitdiff
|
tree
2008-03-29
ray
m
o
n
d
.
h
etti
n
ger
Be explicit abo
u
t what e
f
f
i
cient
m
eans
.
commit
|
commitdiff
|
tree
2008-03-24
raymond
.
hettinger
Issu
e
2
4
60: Make
Ellipsis o
b
jects cop
y
able
.
commit
|
commitdiff
|
tree
2008-03-24
r
a
ymond
.
he
t
tinge
r
Ti
g
hten
documentation for
R
andom
.
triangular
.
commit
|
commitdiff
|
tree
2008-03-23
ra
y
mond
.
hett
i
nge
r
Ado
p
t Nic
k
's sugg
e
stion for
u
s
eful de
f
a
ult argum
e
n
t
s
.
commit
|
commitdiff
|
tree
2008-03-23
raymond
.
hettinger
Issue 1681432:
A
dd tri
a
n
g
ular dis
t
ribution the
random
.
.
.
commit
|
commitdiff
|
tree
2008-03-23
raymond
.
hettinger
Simplify
demo cod
e
.
commit
|
commitdiff
|
tree
2008-03-19
ray
m
ond
.
hettinge
r
Remo
v
e
u
nnecessary
tracebac
k
save/
r
e
s
to
r
e pair
.
commit
|
commitdiff
|
tree
2008-03-19
r
a
ymond
.
hettinger
R
e
m
ove itertoo
l
s warn
i
ng
s
I h
a
d added before
t
he 2
.
.
.
commit
|
commitdiff
|
tree
2008-03-19
r
aymond
.
hettinger
The filter() function doe
s
sup
p
ort
a
None argument
.
.
.
commit
|
commitdiff
|
tree
2008-03-19
raym
o
nd
.
hettinger
Issue
2
354: Fix-up compare warning
.
P
atch
c
o
ntributed
.
.
.
commit
|
commitdiff
|
tree
2008-03-19
raymond
.
h
ettinger
Fix
c
om
p
iler warni
n
g
.
commit
|
commitdiff
|
tree
2008-03-18
ray
m
on
d
.
he
t
ti
n
ger
Issue: 235
4
: Add 3K warning for the
cmp argument to
.
.
.
commit
|
commitdiff
|
tree
2008-03-18
raymo
n
d
.
hettinger
Speed-up i
s
inst
a
nce()
f
or one
easy case
.
commit
|
commitdiff
|
tree
2008-03-16
r
aymond
.
hettinger
Update docs to
r
eflect rem
o
val
o
f Exact/Inexact
commit
|
commitdiff
|
tree
2008-03-15
ray
m
ond
.
hetting
e
r
Zap one mor
e
use
o
f Exa
c
t/Inexact
.
commit
|
commitdiff
|
tree
2008-03-15
raym
o
nd
.
hettinger
Removed Exact/Ine
x
ac
t
aft
e
r discu
s
sion with
Y
a
s
skin
.
commit
|
commitdiff
|
tree
2008-03-14
r
a
ymond
.
het
t
inger
Le
a
ve heaprepla
c
e
(
) unchange
d
.
commit
|
commitdiff
|
tree
2008-03-13
raymond
.
h
ettinger
Si
m
plify th
e
nlargest
(
) co
d
e using heappushp
o
p(
)
.
commit
|
commitdiff
|
tree
2008-03-13
raymond
.
hettinger
I
s
s
u
e 2274: Add
h
eapq
.
heappushpop()
.
commit
|
commitdiff
|
tree
2008-03-13
raymo
n
d
.
hettinger
Consistent te
n
se
.
commit
|
commitdiff
|
tree
2008-03-13
raymo
n
d
.
hetti
n
ger
Add 2-to-3 support for the
i
tertools
moved to b
u
il
t
ins
.
.
.
commit
|
commitdiff
|
tree
2008-03-11
raymond
.
hetti
n
ger
Improve docs fo
r
itemgetter()
.
Show tha
t
it
works
.
.
.
commit
|
commitdiff
|
tree
2008-03-11
raymond
.
hettinger
A
dd recipe to docs
.
commit
|
commitdiff
|
tree
2008-03-07
raymond
.
hetti
n
ger
Tweak recipes and t
e
s
ts
commit
|
commitdiff
|
tree
2008-03-06
raymond
.
hettinger
Issue 2
2
46: itertools
grouper object did no
t
participate
.
.
.
commit
|
commitdiff
|
tree
2008-03-06
ray
m
ond
.
het
t
inger
More test
s
.
commit
|
commitdiff
|
tree
2008-03-06
raymond
.
hett
i
ng
e
r
Add examples
.
commit
|
commitdiff
|
tree
2008-03-05
ra
y
mond
.
h
e
t
tinger
Small code cleanup
.
commit
|
commitdiff
|
tree
2008-03-05
raymond
.
hettinger
C implementatio
n
of itertools
.
permutations()
.
commit
|
commitdiff
|
tree
2008-03-04
r
a
ymond
.
h
et
t
inger
Fi
x
reflea
k
in ch
a
in(
)
.
commit
|
commitdiff
|
tree
2008-03-04
ra
y
m
o
nd
.
hettinger
Beef-up
docs and
tes
t
s
fo
r
iterto
o
ls
.
Fix-up
e
nd-case
.
.
.
commit
|
commitdiff
|
tree
2008-03-03
ra
y
mon
d
.
het
t
ing
e
r
I
s
sue 2226: Calla
b
le checked for the wrong abstr
a
ct
.
.
.
commit
|
commitdiff
|
tree
2008-03-03
r
aymond
.
hettin
g
er
Remov
e
dependency on iterto
o
ls -- a simple genexp suffi
c
es
.
commit
|
commitdiff
|
tree
2008-03-02
r
aymond
.
h
e
ttin
g
er
Handle 0
-
tuples
w
hich can be single
t
o
n
s
.
commit
|
commitdiff
|
tree
2008-03-02
raymond
.
hettinger
Simplify
code for
i
t
ertools
.
product()
.
commit
|
commitdiff
|
tree
2008-03-02
raym
o
nd
.
hetti
n
g
er
Tighten exam
p
le c
o
de
.
commit
|
commitdiff
|
tree
2008-03-02
raymond
.
hettin
g
e
r
F
i
nish-up
do
c
s for
c
ombinations() and permutation
s
.
.
.
commit
|
commitdiff
|
tree
2008-02-29
raymo
n
d
.
het
t
ing
e
r
Handle the repeat
k
ey
w
ord argument for iter
t
o
ols
.
produc
t
()
.
commit
|
commitdiff
|
tree
2008-02-28
ra
y
mond
.
hetting
e
r
Add alternate constructo
r
for ite
r
t
o
ol
s
.
chai
n
()
.
commit
|
commitdiff
|
tree
2008-02-28
ray
m
ond
.
hetti
n
ger
Hav
e
iter
t
ool
s
.
chain() cons
u
me its inputs lazil
y
i
nstead
.
.
.
commit
|
commitdiff
|
tree
2008-02-28
raymo
n
d
.
h
e
ttinger
Do
c
ument im
p
ending updates t
o
itertools
.
commit
|
commitdiff
|
tree
2008-02-28
raymond
.
hett
i
nger
Add repeat ke
y
word argum
e
nt to itertools
.
produ
c
t()
.
commit
|
commitdiff
|
tree
2008-02-27
r
a
ymond
.
hettinger
S
imply the sample code for co
m
b
i
nations
(
)
.
commit
|
commitdiff
|
tree
2008-02-27
r
aymond
.
hettinger
La
r
ger test range
commit
|
commitdiff
|
tree
2008-02-27
raymo
n
d
.
hett
i
nger
On
e
too many decrefs
.
commit
|
commitdiff
|
tree
2008-02-26
raymond
.
hett
i
n
g
er
A
dd itertools
.
co
m
binati
o
ns()
.
commit
|
commitdiff
|
tree
2008-02-26
r
a
ymond
.
hettinger
Docs fo
r
itertoo
l
s
.
c
o
mbinations()
.
Im
p
le
m
e
ntation
.
.
.
commit
|
commitdiff
|
tree
2008-02-25
raymond
.
hetti
n
ger
Revert part of
r60927 which mad
e
invalid assumptions
.
.
.
commit
|
commitdiff
|
tree
2008-02-25
r
aymond
.
hettinger
Make sure the ite
r
tools filter
f
uncti
o
ns give the
s
ame
.
.
.
commit
|
commitdiff
|
tree
2008-02-23
raymond
.
hetti
n
ge
r
Add r
e
cipe
using itert
o
ol
s
.
product()
.
commit
|
commitdiff
|
tree
2008-02-23
raymond
.
h
e
tting
e
r
Add m
o
re comments
commit
|
commitdiff
|
tree
2008-02-23
ray
m
ond
.
hett
i
nger
I
mpro
v
e
the impl
e
menta
t
ion of
i
tertools
.
p
r
oduct()
commit
|
commitdiff
|
tree
2008-02-22
raymond
.
hettinger
Do
c
umen
t
itertool
s
.
product()
.
commit
|
commitdiff
|
tree
2008-02-22
ray
m
o
nd
.
he
t
tinger
F
i
rst draft fo
r
iterto
o
l
s
.
p
ro
d
uct()
.
Docs
and ot
h
er
.
.
.
commit
|
commitdiff
|
tree
2008-02-21
r
a
y
mo
n
d
.
h
e
t
tinger
Update more instances o
f
h
a
s_key()
.
commit
|
commitdiff
|
tree
2008-02-16
ray
m
ond
.
hettinger
Add __all__ t
o
logging module
.
commit
|
commitdiff
|
tree
2008-02-15
ra
y
mond
.
hettinger
Update example to match th
e
c
urre
n
t synt
a
x
.
commit
|
commitdiff
|
tree
2008-02-14
raymond
.
het
t
inger
No need
to register subclass of ABCs
.
commit
|
commitdiff
|
tree
2008-02-14
ra
y
mon
d
.
hettinger
F
i
x markup
commit
|
commitdiff
|
tree
2008-02-14
raym
o
nd
.
hettinger
Simplify moneyfmt() reci
p
e
.
commit
|
commitdiff
|
tree
2008-02-14
raymond
.
hetti
n
g
e
r
Fix mark
u
p
.
commit
|
commitdiff
|
tree
2008-02-14
raymond
.
hetting
e
r
Sh
o
w h
o
w
t
o remove expone
n
ts
.
commit
|
commitdiff
|
tree
2008-02-14
raymond
.
h
e
t
tinger
Improve
r
st markup
commit
|
commitdiff
|
tree
2008-02-14
ra
y
m
o
nd
.
h
ett
i
n
g
e
r
Add
f
ixed-po
i
n
t
ex
a
mple
s
to
t
he de
c
imal
F
A
Q
commit
|
commitdiff
|
tree
2008-02-14
raymond
.
hettinger
Add dia
g
nostic message to help figure-out why So
c
ketServer
.
.
.
commit
|
commitdiff
|
tree
2008-02-14
raymond
.
het
t
in
g
er
Fix d
e
cimal repr which
should have used s
i
ng
l
e
quotes
.
.
.
commit
|
commitdiff
|
tree
2008-02-14
raymo
n
d
.
h
e
t
tinge
r
Update notes on Decimal
.
commit
|
commitdiff
|
tree
2008-02-12
raymond
.
het
t
in
g
er
d
i
ct
.
copy()
rises from
t
he ashes
.
R
e
vert r
6
0687
.
commit
|
commitdiff
|
tree
2008-02-12
ray
m
ond
.
he
t
t
i
nger
Bring decimal a bit clo
s
er to the spec for Rea
l
s
.
commit
|
commitdiff
|
tree
2008-02-12
r
a
ymond
.
hettinger
Fix typo
in
c
omments
commit
|
commitdiff
|
tree
2008-02-12
r
a
ymond
.
hettinger
R
e
store fractions
.
r
st
t
o the docu
m
en
t
tree
.
commit
|
commitdiff
|
tree
2008-02-11
raymond
.
hettinger
Bac
k
port ABC docs
commit
|
commitdiff
|
tree
2008-02-11
ray
m
ond
.
hettin
g
er
Fix markup
commit
|
commitdiff
|
tree
2008-02-11
ra
y
mond
.
hettinger
Add not
e
s on ho
w
decimal fits into the model
.
commit
|
commitdiff
|
tree
2008-02-11
r
aymo
n
d
.
hetting
e
r
Add t
e
sts for
p
i
c
kleto
o
ls
.
o
p
t
i
mi
z
e
(
)
.
commit
|
commitdiff
|
tree
2008-02-11
ray
m
ond
.
het
t
inger
No need to r
e
g
ister clas
s
e
s
that alre
a
dy inherit from
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
r
a
ymond
.
hettinger
Com
p
lete an open todo on pickletool
s
-
- add a pickle
.
.
.
commit
|
commitdiff
|
tree
next