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
.
het
t
inger
Neaten-u
p
t
h
e
i
tertools recipes
.
commit
|
commitdiff
|
tree
2008-07-25
raymond
.
h
e
ttin
g
er
Issue 1592: Better error
reporting f
o
r
o
perati
o
ns
.
.
.
commit
|
commitdiff
|
tree
2008-07-24
raymond
.
hettinger
Convert from lon
g
t
o
Py_s
s
i
z
e_
t
.
commit
|
commitdiff
|
tree
2008-07-24
ray
m
ond
.
hetti
n
g
er
Finis
h
conversion from int to
Py_ssize_t
.
commit
|
commitdiff
|
tree
2008-07-24
ra
y
mond
.
hettinge
r
P
a
rse to the
correct
datat
y
pe
.
commit
|
commitdiff
|
tree
2008-07-24
raym
o
n
d
.
he
t
tin
g
er
Finish-up the
p
a
rt
i
al conversion from int to Py_ssize
_
t
.
.
.
commit
|
commitdiff
|
tree
2008-07-22
raymond
.
hettinger
One mor
e
attributio
n
.
commit
|
commitdiff
|
tree
2008-07-22
r
a
ymo
n
d
.
hettin
g
er
Fix cred
i
ts for mat
h
.
sum()
commit
|
commitdiff
|
tree
2008-07-22
r
a
ymond
.
hetting
e
r
Tuples n
o
w have bo
t
h coun
t
() and inde
x
()
.
commit
|
commitdiff
|
tree
2008-07-22
raym
o
n
d
.
h
e
t
tinger
Remove ou
t
-of-date section on
Exact/Inexact
.
commit
|
commitdiff
|
tree
2008-07-19
r
aymo
n
d
.
h
e
ttinger
Clean-up itertools
d
ocs and rec
i
p
es
.
commit
|
commitdiff
|
tree
2008-07-19
r
a
ymond
.
hettinger
Fix com
p
ress() recipe in docs to use i
t
er
t
ools
.
commit
|
commitdiff
|
tree
2008-07-19
raymond
.
hetti
n
ger
Add rec
i
pe to the itertools do
c
s
.
commit
|
commitdiff
|
tree
2008-07-19
raymond
.
h
e
tti
n
g
er
Im
p
rove accuracy of gamma test
f
un
c
tion
commit
|
commitdiff
|
tree
2008-07-11
raymond
.
hettinger
Ad
d
cauti
o
n
a
r
y n
o
te on the u
s
e of P
y
S
e
quence_Fas
t
_ITE
M
S
.
commit
|
commitdiff
|
tree
2008-07-10
raymond
.
hett
i
nger
Suppres
s
-3
warnings in unittest
.
p
y
commit
|
commitdiff
|
tree
2008-07-10
raym
o
nd
.
hett
i
nger
Cl
e
ar t
h
e -
3
w
a
rnings in optparse
.
py
commit
|
commitdiff
|
tree
2008-07-10
raymond
.
hettin
g
e
r
I
ssue 3285: Fractio
n
s from_
f
loat() and fr
o
m_dec
i
mal
.
.
.
commit
|
commitdiff
|
tree
2008-07-10
ray
m
ond
.
hettinger
Issue 3301: Bisect func
t
i
ons
behaved badly
whe
n
l
o
.
.
.
commit
|
commitdiff
|
tree
2008-07-10
raymond
.
hettinger
Use oper
a
tor
.
index
(
)
i
nstead of n
.
_
_index_
_
()
.
commit
|
commitdiff
|
tree
2008-07-10
r
aymo
n
d
.
het
t
inger
Is
s
u
e
3287: Raise correct
exception
for flo
a
t inputs
.
commit
|
commitdiff
|
tree
2008-07-05
raymond
.
hettinger
Update
comm
e
nt on prediction macros
.
commit
|
commitdiff
|
tree
2008-06-28
raymond
.
hetti
n
g
er
I
s
sue
3
23
0
: Do not the
set specif
i
c s
i
ze
m
acro
.
commit
|
commitdiff
|
tree
2008-06-27
raymond
.
he
t
tinger
Fix whitespace in exa
m
ple code
.
commit
|
commitdiff
|
tree
2008-06-24
raymond
.
h
ett
i
nger
Revert 64424,
6
4438,
a
nd 64439
.
commit
|
commitdiff
|
tree
2008-06-24
raymond
.
hetti
n
g
e
r
I
ssue
3
1
89: Py3k DeprecationWa
r
ning
in di
f
f
l
ib
commit
|
commitdiff
|
tree
2008-06-23
raymon
d
.
hetting
e
r
I
s
s
u
e 3161: Missing imp
o
rt and te
s
t
.
commit
|
commitdiff
|
tree
2008-06-21
raymo
n
d
.
hettinger
Issue 30
0
8:
hex/oct/bi
n
can show floats exactly
.
commit
|
commitdiff
|
tree
2008-06-20
ra
y
mond
.
hettin
g
e
r
Mak
e
bin() implementation
p
aral
l
e
l oct() and hex(
)
.
.
.
commit
|
commitdiff
|
tree
2008-06-18
ray
m
ond
.
hettinger
Fix dou
b
le decref
.
commit
|
commitdiff
|
tree
2008-06-16
raymond
.
h
ettinger
Issue 3116
:
fix
quad
r
atic b
e
havior in marshal
.
dumps()
.
commit
|
commitdiff
|
tree
2008-06-11
raymo
n
d
.
hettinger
Add
t
e
s
t for
heapq using
b
oth __lt__ and
__le
_
_
.
commit
|
commitdiff
|
tree
2008-06-11
r
ay
m
ond
.
hettinge
r
Optimize previous check
i
n for heapq
.
commit
|
commitdiff
|
tree
2008-06-11
r
a
ymond
.
hettinger
I
s
sue 3051: Le
t
he
a
pq work with e
i
ther __lt__
o
r _
_
l
e
__
.
commit
|
commitdiff
|
tree
2008-06-11
r
aymond
.
hettinger
Multi-arg
form for set
.
diff
e
rence
(
) a
n
d set
.
d
ifference_update()
.
commit
|
commitdiff
|
tree
2008-06-11
raymond
.
hett
i
ng
e
r
Handle the case with zero argume
n
ts
.
commit
|
commitdiff
|
tree
2008-06-11
raymond
.
hettinge
r
U
p
date nu
m
b
e
rs do
c
for
t
he Inte
g
ral s
i
mpl
i
fication
.
commit
|
commitdiff
|
tree
2008-06-11
raymond
.
hetting
e
r
M
ini
-
PEP: Simplifying numbers
.
py
commit
|
commitdiff
|
tree
2008-06-10
raymond
.
hetti
n
ger
Add
A
rnaud for his eff
o
r
t
s
on multi-arg set operati
o
n
s
.
commit
|
commitdiff
|
tree
2008-06-09
raymond
.
hettinger
Let
s
e
t
.
inte
r
s
e
ction() a
n
d set
.
i
nterse
c
t
i
on
_
u
pdate
.
.
.
commit
|
commitdiff
|
tree
2008-06-09
raymond
.
hetti
n
ger
Unhap
p
y buildbots
.
Revert
64052
.
L
o
n
g doubles have
.
.
.
commit
|
commitdiff
|
tree
2008-06-09
raymond
.
h
e
ttinger
Address
dou
b
le-roundi
n
g scena
r
ios by setting all variables
.
.
.
commit
|
commitdiff
|
tree
2008-06-09
raymond
.
he
t
tinger
Let s
e
t
.
union()
and set
.
update() accept
m
u
l
ti
p
le inputs
.
commit
|
commitdiff
|
tree
2008-06-09
raymo
n
d
.
hett
i
nger
Issue
#
2138:
Add m
a
th
.
f
a
ctori
a
l()
.
commit
|
commitdiff
|
tree
2008-06-09
ray
m
o
n
d
.
hettinger
Issue3
0
65: Fix
e
d pick
l
ing of na
m
ed tuples
.
Added
.
.
.
commit
|
commitdiff
|
tree
2008-06-06
raymon
d
.
hettinger
Iss
u
e 3501: Make heapq
su
p
p
o
r
t both __le__
a
nd __lt__
.
commit
|
commitdiff
|
tree
2008-05-31
raymond
.
hettinger
Imple
m
e
nt h
e
a
pq in terms of le
s
s-t
h
an (to matc
h
list
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
r
aymon
d
.
h
e
t
t
in
g
er
*
M
ark intermedidate com
p
u
t
es
valu
e
s (hi, lo, yr)
a
s
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
raymond
.
hettinger
Issue 2903: Add __
n
am
e
__ in globals
for name
d
t
uple
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
raymond
.
hettinger
Issue 28
5
5
:
Fix obscur
e
cra
s
her b
y
sl
o
wi
n
g down t
h
e
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
r
a
ymond
.
he
t
t
inger
Issue 2784:
f
ix le
a
ks i
n
exception exit
.
commit
|
commitdiff
|
tree
2008-05-29
raym
o
nd
.
he
t
t
i
nger
Fix two typos
.
commit
|
commitdiff
|
tree
2008-05-23
ray
m
ond
.
hettinger
Fix typo
commit
|
commitdiff
|
tree
2008-05-23
raymond
.
hettinger
Issue
2
909: show how to name unp
a
cked fi
e
lds
.
commit
|
commitdiff
|
tree
2008-05-23
r
aym
o
nd
.
hetting
e
r
Tweak th
e
comments and f
o
r
m
a
tting
.
commit
|
commitdiff
|
tree
2008-05-23
r
a
ymond
.
h
e
ttinger
Docs for Issue 2819
.
commit
|
commitdiff
|
tree
2008-05-17
raymond
.
h
e
ttinger
Fi
x
-up docstring
commit
|
commitdiff
|
tree
2008-05-08
raymond
.
h
ettinger
Issue 27
7
8
.
Docum
e
nt
the temporary frozen
s
et
s
wap
.
.
.
commit
|
commitdiff
|
tree
2008-05-08
ray
m
ond
.
hettin
g
er
Fix-up the
e
n
ume
r
ate
type exa
m
p
l
e and move
it to th
e
.
.
.
commit
|
commitdiff
|
tree
2008-05-08
raymond
.
hettinger
The __all__ v
a
r
iable f
o
rg
o
t to expose the gcd() funct
i
on
.
commit
|
commitdiff
|
tree
2008-05-08
r
aymon
d
.
h
ett
i
nger
Frozensets do
not benefit from autoconversion
.
commit
|
commitdiff
|
tree
2008-04-17
raymond
.
hettinger
Issue 2
6
48: Add lea
d
in
g
zero to mo
n
ey
f
o
rmat recipe
.
.
.
commit
|
commitdiff
|
tree
2008-03-29
raymon
d
.
hett
i
n
ger
Be explicit
a
bout what eff
i
c
i
ent me
a
ns
.
commit
|
commitdiff
|
tree
2008-03-24
ray
m
ond
.
hetting
e
r
Issue 24
6
0: Ma
k
e
Ellipsis objec
t
s c
o
py
a
ble
.
commit
|
commitdiff
|
tree
2008-03-24
r
a
ymo
n
d
.
h
e
ttin
g
er
Tighte
n
doc
u
me
n
tation for
R
andom
.
tr
i
angular
.
commit
|
commitdiff
|
tree
2008-03-23
r
a
ymond
.
he
t
ti
n
ger
Adopt Nick's suggestion for useful default arguments
.
commit
|
commitdiff
|
tree
2008-03-23
raym
o
nd
.
hettinger
Issue 168
1
4
32:
A
dd tr
i
an
g
ula
r
distribution the r
a
ndom
.
.
.
commit
|
commitdiff
|
tree
2008-03-23
raymond
.
he
t
tinger
S
imp
l
ify demo
c
ode
.
commit
|
commitdiff
|
tree
2008-03-19
raymond
.
hetting
e
r
R
e
move unneces
s
ary trace
b
ack s
a
ve/restor
e
pai
r
.
commit
|
commitdiff
|
tree
2008-03-19
raymond
.
h
e
tt
i
nger
Remove iterto
o
ls warn
i
ngs I had added bef
o
re the 2
.
.
.
commit
|
commitdiff
|
tree
2008-03-19
ray
m
ond
.
he
t
ting
e
r
The filter() fun
c
tion
d
oes support a None argument
.
.
.
commit
|
commitdiff
|
tree
2008-03-19
r
a
ymond
.
hettinger
Issue 2354:
F
ix-up compare warn
i
ng
.
Patch contributed
.
.
.
commit
|
commitdiff
|
tree
2008-03-19
raymond
.
h
e
tti
n
g
e
r
Fix compi
l
er wa
r
ning
.
commit
|
commitdiff
|
tree
2008-03-18
raymon
d
.
hetting
e
r
Issue: 2
3
54: Add 3K w
a
rni
n
g
f
or the cm
p
argument
t
o
.
.
.
commit
|
commitdiff
|
tree
2008-03-18
r
a
ymo
n
d
.
hettinger
S
p
eed-up isinstance() for
o
ne
e
asy
c
ase
.
commit
|
commitdiff
|
tree
2008-03-16
raymond
.
hettinger
Upd
a
te d
o
cs
t
o reflect removal of
E
x
a
c
t/Inexact
commit
|
commitdiff
|
tree
2008-03-15
raymond
.
h
e
t
t
i
nger
Z
ap one more u
s
e of Exact/I
n
ex
a
c
t
.
commit
|
commitdiff
|
tree
2008-03-15
raym
o
nd
.
hettin
g
er
Removed
Exact/Inexact after d
i
scussion with Yasskin
.
commit
|
commitdiff
|
tree
2008-03-14
raymond
.
hettinger
Leave heapr
e
pla
c
e(
)
uncha
n
ged
.
commit
|
commitdiff
|
tree
2008-03-13
raymond
.
hetti
n
ger
Simplify the nlarges
t
()
c
od
e
using heappushpop()
.
commit
|
commitdiff
|
tree
2008-03-13
ray
m
ond
.
hetting
e
r
I
s
sue 22
7
4: Add
heapq
.
h
eapp
u
s
h
pop
(
)
.
commit
|
commitdiff
|
tree
2008-03-13
raymond
.
hettinger
C
o
n
sistent ten
s
e
.
commit
|
commitdiff
|
tree
2008-03-13
raymond
.
hettinger
Add 2-t
o
-
3
support for
t
he iter
t
ools m
o
v
ed t
o
builtins
.
.
.
commit
|
commitdiff
|
tree
2008-03-11
raymond
.
hettinger
Improve docs for i
t
e
mgetter()
.
S
how that it wo
r
ks
.
.
.
commit
|
commitdiff
|
tree
2008-03-11
raymon
d
.
hett
i
ng
e
r
Add rec
i
pe to do
c
s
.
commit
|
commitdiff
|
tree
2008-03-07
ray
m
o
n
d
.
hettinger
Tweak
r
ecipes
and t
e
sts
commit
|
commitdiff
|
tree
2008-03-06
raymond
.
hettinger
I
ssue
2
246: i
t
ertools grou
p
er object did not partic
i
p
ate
.
.
.
commit
|
commitdiff
|
tree
2008-03-06
raymo
n
d
.
hetti
n
ger
More
t
ests
.
commit
|
commitdiff
|
tree
2008-03-06
raymond
.
h
e
t
t
i
n
g
e
r
Add
e
x
a
mples
.
commit
|
commitdiff
|
tree
2008-03-05
r
aymond
.
hettinger
S
m
all code cleanup
.
commit
|
commitdiff
|
tree
2008-03-05
raymond
.
hettinger
C imp
l
ementation
o
f itertools
.
p
e
r
mu
t
ati
o
ns()
.
commit
|
commitdiff
|
tree
2008-03-04
ra
y
mond
.
hetting
e
r
F
i
x ref
l
eak in
chain()
.
commit
|
commitdiff
|
tree
2008-03-04
raymond
.
hettinger
Beef-up d
o
cs
a
nd
tests
f
or itertools
.
Fix-up end-ca
s
e
.
.
.
commit
|
commitdiff
|
tree
2008-03-03
raymond
.
h
e
t
t
inger
Issue 222
6
: Cal
l
able
chec
k
ed
for the wr
o
ng abstrac
t
.
.
.
commit
|
commitdiff
|
tree
2008-03-03
raymond
.
hettin
g
er
Remove dependency on ite
r
tools -- a simple
g
enexp suffices
.
commit
|
commitdiff
|
tree
2008-03-02
r
a
ymond
.
het
t
inger
H
andle
0-tuples wh
i
c
h
can b
e
singlet
o
ns
.
commit
|
commitdiff
|
tree
2008-03-02
raymond
.
hettinger
S
i
mplify
co
d
e
f
or itertools
.
product()
.
commit
|
commitdiff
|
tree
2008-03-02
raymond
.
het
t
inger
Tighten
example cod
e
.
commit
|
commitdiff
|
tree
2008-03-02
raym
o
nd
.
hettin
g
er
Finis
h
-up docs for combination
s
() and p
e
rmu
t
ations
.
.
.
commit
|
commitdiff
|
tree
2008-02-29
r
a
ymond
.
h
et
t
inger
H
andle
t
h
e
repeat keyword argument for itertools
.
product()
.
commit
|
commitdiff
|
tree
next