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
Neaten-up the itertools recipes.
2008-07-30
raymond
.
hettinger
N
e
aten-up
the iter
t
ools recipes
.
commit
|
commitdiff
|
tree
2008-07-25
raymond
.
het
t
inge
r
Issue 1592: Better err
o
r reporting f
o
r operations
.
.
.
commit
|
commitdiff
|
tree
2008-07-24
raymo
n
d
.
hettinge
r
Convert from l
o
ng to Py_ss
i
ze
_
t
.
commit
|
commitdiff
|
tree
2008-07-24
raymond
.
hettinger
Finish con
v
e
r
sion f
r
om in
t
t
o
Py_ssize_t
.
commit
|
commitdiff
|
tree
2008-07-24
raymond
.
hettin
g
e
r
P
a
rse to the cor
r
e
c
t datatyp
e
.
commit
|
commitdiff
|
tree
2008-07-24
raymond
.
hettinger
Finish-up the partial conversion f
r
om int to Py_
s
si
z
e_t
.
.
.
commit
|
commitdiff
|
tree
2008-07-22
r
a
y
mond
.
h
ettinger
One mo
r
e
attribution
.
commit
|
commitdiff
|
tree
2008-07-22
raymon
d
.
h
e
tting
e
r
Fix credits for m
a
th
.
sum
(
)
commit
|
commitdiff
|
tree
2008-07-22
raymond
.
hettinger
Tuples now have
both
count()
a
nd i
n
d
e
x
()
.
commit
|
commitdiff
|
tree
2008-07-22
r
aymond
.
he
t
tinger
R
e
move
out-of-dat
e
section
o
n
Exact/Inexa
c
t
.
commit
|
commitdiff
|
tree
2008-07-19
raymond
.
hettinger
C
lean-up it
e
rtools d
o
cs and recipe
s
.
commit
|
commitdiff
|
tree
2008-07-19
r
ay
m
ond
.
hettinger
Fix c
o
mpre
s
s() r
e
c
ipe in do
c
s
to use
i
tertools
.
commit
|
commitdiff
|
tree
2008-07-19
raymond
.
he
t
ting
e
r
A
dd re
c
ipe
t
o the iterto
o
ls docs
.
commit
|
commitdiff
|
tree
2008-07-19
ray
m
ond
.
h
ettinger
Improve accurac
y
of g
a
mma test fu
n
ction
commit
|
commitdiff
|
tree
2008-07-11
raymond
.
hettinger
Add caut
i
onary note on the use of PySequence_Fast_ITEM
S
.
commit
|
commitdiff
|
tree
2008-07-10
raymon
d
.
hett
i
nger
Supp
r
e
s
s -3
w
a
rnin
g
s in unittest
.
py
commit
|
commitdiff
|
tree
2008-07-10
raymond
.
hettin
g
er
Clear
the -3 warning
s
in optpars
e
.
py
commit
|
commitdiff
|
tree
2008-07-10
ra
y
m
o
n
d
.
het
t
inger
Issue
3
285: Fractions from_float() and from_decim
a
l
.
.
.
commit
|
commitdiff
|
tree
2008-07-10
raymo
n
d
.
hetting
e
r
I
s
sue 3301: Bisect f
u
nctions behaved
b
adly when lo
.
.
.
commit
|
commitdiff
|
tree
2008-07-10
raymo
n
d
.
hett
i
n
ger
Use operator
.
i
nd
e
x() instea
d
of n
.
__
i
ndex__()
.
commit
|
commitdiff
|
tree
2008-07-10
raymond
.
hetting
e
r
Issue 3287: Raise correc
t
ex
c
eption for fl
o
at
input
s
.
commit
|
commitdiff
|
tree
2008-07-05
raymond
.
hettinger
Up
d
ate com
m
ent on pr
e
diction m
a
cros
.
commit
|
commitdiff
|
tree
2008-06-28
ra
y
mon
d
.
het
t
inger
Issue
3230: D
o
not the set specific size
macr
o
.
commit
|
commitdiff
|
tree
2008-06-27
ra
y
mo
n
d
.
hetti
n
ger
Fix whit
e
space in e
x
ample co
d
e
.
commit
|
commitdiff
|
tree
2008-06-24
raymond
.
hettinger
R
e
vert
64424,
64438, and 64439
.
commit
|
commitdiff
|
tree
2008-06-24
raymond
.
hettinger
Issue 3189: Py3k
Depre
c
ationWarning
i
n difflib
commit
|
commitdiff
|
tree
2008-06-23
r
aymond
.
he
t
t
inger
Issue 316
1
:
Missin
g
import and
t
est
.
commit
|
commitdiff
|
tree
2008-06-21
ray
m
o
n
d
.
hett
i
nger
Issue 3008:
h
e
x
/oct/bin c
a
n
sh
o
w floa
t
s ex
a
ctly
.
commit
|
commitdiff
|
tree
2008-06-20
r
a
ym
o
nd
.
hettinger
Make bin() im
p
lementation parallel
o
ct() and
hex()
.
.
.
commit
|
commitdiff
|
tree
2008-06-18
r
aymond
.
hettinger
Fix double d
e
cref
.
commit
|
commitdiff
|
tree
2008-06-16
raymond
.
hettinger
Issue 3116: fix qu
a
dratic b
e
havior in m
a
rshal
.
dumps()
.
commit
|
commitdiff
|
tree
2008-06-11
raymond
.
h
ettinger
A
dd test for heapq using both __lt_
_
and
_
_le
_
_
.
commit
|
commitdiff
|
tree
2008-06-11
raym
o
nd
.
hettinger
Optimize previous checkin for heapq
.
commit
|
commitdiff
|
tree
2008-06-11
raymond
.
hetting
e
r
Issue 3051
:
L
e
t he
a
pq work with e
i
ther __lt
_
_ or __
l
e__
.
commit
|
commitdiff
|
tree
2008-06-11
raymo
n
d
.
he
t
t
i
n
ge
r
Multi-arg form for
s
et
.
di
f
ference()
an
d
set
.
difference_up
d
ate()
.
commit
|
commitdiff
|
tree
2008-06-11
raymond
.
hettinger
H
a
n
dle the
c
a
s
e
with z
e
ro argu
m
ent
s
.
commit
|
commitdiff
|
tree
2008-06-11
r
aymond
.
hettinger
U
p
date numbers
doc
f
or the
I
n
tegral s
i
mp
l
ification
.
commit
|
commitdiff
|
tree
2008-06-11
raymond
.
hetting
e
r
Mini-PEP: Simplif
y
i
n
g nu
m
bers
.
py
commit
|
commitdiff
|
tree
2008-06-10
raymond
.
hettinger
Add Arnaud fo
r
hi
s
efforts o
n
multi-arg se
t
operations
.
commit
|
commitdiff
|
tree
2008-06-09
raymond
.
hettinger
Let set
.
intersection() and set
.
i
n
t
e
r
s
ec
t
ion_update
.
.
.
commit
|
commitdiff
|
tree
2008-06-09
raymond
.
h
e
ttinger
Unhappy buildbots
.
Revert
6
4
052
.
Long doubles
h
a
ve
.
.
.
commit
|
commitdiff
|
tree
2008-06-09
ra
y
mond
.
h
et
t
inger
Address doub
l
e-roundin
g
scenarios by
s
e
t
ting all variab
l
es
.
.
.
commit
|
commitdiff
|
tree
2008-06-09
ray
m
ond
.
hettinger
Le
t
set
.
union()
and
set
.
update() accept multiple
i
nputs
.
commit
|
commitdiff
|
tree
2008-06-09
ray
m
on
d
.
he
t
tinger
I
ssue #
2
138: Add math
.
f
actorial
(
)
.
commit
|
commitdiff
|
tree
2008-06-09
raymon
d
.
hettinger
Iss
u
e
3
065: Fix
e
d pickling of
n
amed tuples
.
A
d
d
ed
.
.
.
commit
|
commitdiff
|
tree
2008-06-06
raymond
.
he
t
tinger
Issue 3501
:
Make heapq suppor
t
both
_
_le__ and __l
t
__
.
commit
|
commitdiff
|
tree
2008-05-31
raymon
d
.
hettinger
Imple
m
ent
heapq in terms
o
f
l
e
s
s
-
t
h
a
n (to match list
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
raymo
n
d
.
hettinger
*
M
ark
i
nter
m
edidat
e
com
p
utes value
s
(hi, lo, yr) as
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
raymond
.
hetti
n
ger
Issue 2903: A
d
d __name__ in globals
for named
t
upl
e
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
r
a
y
mond
.
h
e
ttinger
I
s
sue 2
8
55: Fix obscu
r
e crasher by s
l
owing down the
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
ra
y
mond
.
hettinger
Issue 2784:
f
ix leaks
in exception exit
.
commit
|
commitdiff
|
tree
2008-05-29
raym
o
n
d
.
hettinger
Fix tw
o
ty
p
os
.
commit
|
commitdiff
|
tree
2008-05-23
r
a
ymond
.
hettinger
Fix typo
commit
|
commitdiff
|
tree
2008-05-23
r
a
ymond
.
hettinge
r
Is
s
ue 2909: show ho
w
to
n
ame u
n
pa
c
k
e
d f
i
e
lds
.
commit
|
commitdiff
|
tree
2008-05-23
raymond
.
hett
i
ng
e
r
Tweak
the comments and fo
r
matti
n
g
.
commit
|
commitdiff
|
tree
2008-05-23
raymond
.
h
ettinge
r
D
o
cs for Issue 2819
.
commit
|
commitdiff
|
tree
2008-05-17
raymond
.
hettinger
Fix-up docs
t
ring
commit
|
commitdiff
|
tree
2008-05-08
ra
y
mon
d
.
h
ettinger
Issue 2778
.
D
ocument t
h
e
temporary frozenset swap
.
.
.
commit
|
commitdiff
|
tree
2008-05-08
r
aym
o
n
d
.
hettinger
Fix
-
u
p
the e
n
umerate type exampl
e
and mov
e
it to the
.
.
.
commit
|
commitdiff
|
tree
2008-05-08
ray
m
ond
.
hettin
g
er
The
__all__ vari
a
b
le forgo
t
to e
x
pose the
g
cd(
)
f
u
nction
.
commit
|
commitdiff
|
tree
2008-05-08
raymond
.
he
t
tinger
Froz
e
nsets d
o
not bene
f
it
from autoconversion
.
commit
|
commitdiff
|
tree
2008-04-17
raymond
.
hettinger
Issue 2648: Add leading zero to
money
f
ormat re
c
ipe
.
.
.
commit
|
commitdiff
|
tree
2008-03-29
raymond
.
hettinger
Be explicit about
what effi
c
ient
m
e
ans
.
commit
|
commitdiff
|
tree
2008-03-24
ra
y
m
o
nd
.
hettinger
Issue 246
0
: Make Elli
p
sis objects copyable
.
commit
|
commitdiff
|
tree
2008-03-24
raymon
d
.
hett
i
nger
Tighten d
o
cumentatio
n
f
o
r Random
.
triangular
.
commit
|
commitdiff
|
tree
2008-03-23
raym
o
n
d
.
hett
i
nger
Adopt Nick's suggesti
o
n for useful default arg
u
m
e
n
ts
.
commit
|
commitdiff
|
tree
2008-03-23
raymon
d
.
hettinger
I
s
su
e
1681432: Add t
r
i
a
n
gular
distribution the rando
m
.
.
.
commit
|
commitdiff
|
tree
2008-03-23
raymond
.
hetting
e
r
S
i
mplify demo
code
.
commit
|
commitdiff
|
tree
2008-03-19
r
a
ymon
d
.
het
t
inge
r
Remove
u
n
necessar
y
trac
e
ba
c
k
save/restor
e
pair
.
commit
|
commitdiff
|
tree
2008-03-19
raymond
.
hettinger
Remo
v
e itertools wa
r
nings I had added
before th
e
2
.
.
.
commit
|
commitdiff
|
tree
2008-03-19
r
a
ymond
.
hettinger
Th
e
filter()
f
unction does support a None
argu
m
e
nt
.
.
.
commit
|
commitdiff
|
tree
2008-03-19
raymond
.
het
t
inger
Issue 2354: Fi
x
-up compar
e
w
a
r
n
ing
.
Patch contributed
.
.
.
commit
|
commitdiff
|
tree
2008-03-19
raymond
.
hettinge
r
Fix co
m
piler war
n
ing
.
commit
|
commitdiff
|
tree
2008-03-18
ra
y
mond
.
hettinger
Issu
e
: 2
3
54: Add 3K
warning
f
or the cmp ar
g
um
e
n
t to
.
.
.
commit
|
commitdiff
|
tree
2008-03-18
raymond
.
hettinger
Speed-up isinstance() fo
r
one
eas
y
ca
s
e
.
commit
|
commitdiff
|
tree
2008-03-16
raymond
.
hettinger
Upda
t
e docs
t
o reflect removal of Exact/Inexact
commit
|
commitdiff
|
tree
2008-03-15
raymond
.
h
etting
e
r
Zap one more
u
s
e of Exact/Inexact
.
commit
|
commitdiff
|
tree
2008-03-15
raym
o
nd
.
hettinger
Remo
v
e
d E
x
act/I
n
e
xact
a
fter discussion w
i
th Y
a
sskin
.
commit
|
commitdiff
|
tree
2008-03-14
raymon
d
.
het
t
inger
Leave heapreplace() u
n
changed
.
commit
|
commitdiff
|
tree
2008-03-13
raym
o
nd
.
h
e
ttinger
Simplify
the nlargest() code using heappushpop()
.
commit
|
commitdiff
|
tree
2008-03-13
raymon
d
.
hettinger
Iss
u
e 2274: A
d
d heapq
.
heappushpop(
)
.
commit
|
commitdiff
|
tree
2008-03-13
ray
m
ond
.
hettinger
Consistent tense
.
commit
|
commitdiff
|
tree
2008-03-13
r
aymond
.
hettinger
Add 2-
t
o-3 support for the itertools moved to
b
uiltins
.
.
.
commit
|
commitdiff
|
tree
2008-03-11
r
a
ymo
n
d
.
hettinge
r
Impr
o
v
e docs for itemgetter()
.
Show that it works
.
.
.
commit
|
commitdiff
|
tree
2008-03-11
raymo
n
d
.
h
e
t
t
inger
Add recipe to
d
ocs
.
commit
|
commitdiff
|
tree
2008-03-07
r
a
y
mond
.
het
t
inger
Tweak reci
p
e
s a
n
d tests
commit
|
commitdiff
|
tree
2008-03-06
raymond
.
hetting
e
r
Is
s
ue
2246: itertools grouper obj
e
c
t
did n
o
t
p
articipate
.
.
.
commit
|
commitdiff
|
tree
2008-03-06
raymond
.
hett
i
nger
M
ore tes
t
s
.
commit
|
commitdiff
|
tree
2008-03-06
raymond
.
hettinger
Add examples
.
commit
|
commitdiff
|
tree
2008-03-05
raymond
.
he
t
t
in
g
er
S
m
all
c
ode cleanup
.
commit
|
commitdiff
|
tree
2008-03-05
ray
m
ond
.
hettinger
C implementat
i
on of itertools
.
pe
r
mutations()
.
commit
|
commitdiff
|
tree
2008-03-04
raymond
.
hettinger
Fix r
e
flea
k
in chain()
.
commit
|
commitdiff
|
tree
2008-03-04
ra
y
mond
.
hettinger
Beef-
u
p docs and tests fo
r
itertools
.
F
i
x-u
p
end-
c
ase
.
.
.
commit
|
commitdiff
|
tree
2008-03-03
raymond
.
hett
i
n
ger
Issue 2226: Callabl
e
chec
k
ed for t
h
e wrong
a
bstract
.
.
.
commit
|
commitdiff
|
tree
2008-03-03
ray
m
ond
.
hettinger
Remove dependency on
i
tertool
s
-- a
s
imp
l
e genexp suffices
.
commit
|
commitdiff
|
tree
2008-03-02
ra
y
mond
.
hettin
g
er
Handl
e
0
-
tuples which can be singletons
.
commit
|
commitdiff
|
tree
2008-03-02
ra
y
m
o
nd
.
hettinger
Simpli
f
y cod
e
for itertools
.
product()
.
commit
|
commitdiff
|
tree
2008-03-02
raymond
.
h
e
ttinger
Tighten example code
.
commit
|
commitdiff
|
tree
2008-03-02
raymon
d
.
hettin
g
e
r
Finish
-
u
p do
c
s f
o
r co
m
binati
o
ns() and pe
r
m
utati
o
ns
.
.
.
commit
|
commitdiff
|
tree
2008-02-29
raymon
d
.
het
t
i
n
ger
Handle the repea
t
k
eyword argument for iterto
o
ls
.
product()
.
commit
|
commitdiff
|
tree
next