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
.
h
ettinger
Neat
e
n
-up the iter
t
o
ols
re
c
i
p
es
.
commit
|
commitdiff
|
tree
2008-07-25
raymond
.
h
e
ttinger
Issue 159
2
:
B
etter erro
r
reporting for operations
.
.
.
commit
|
commitdiff
|
tree
2008-07-24
r
aymond
.
hettin
g
er
Convert from long to Py_
s
size
_
t
.
commit
|
commitdiff
|
tree
2008-07-24
raymo
n
d
.
h
ett
i
nger
F
ini
s
h conversion fr
o
m int
t
o
Py_ssize_t
.
commit
|
commitdiff
|
tree
2008-07-24
r
a
ymond
.
hett
i
n
g
er
Parse to the co
r
r
ect d
a
tatype
.
commit
|
commitdiff
|
tree
2008-07-24
raymond
.
hettinger
Finish-up the partial c
o
nver
s
ion f
r
om int to Py_ssize_t
.
.
.
commit
|
commitdiff
|
tree
2008-07-22
r
a
ymond
.
hettinger
O
ne more attrib
u
tion
.
commit
|
commitdiff
|
tree
2008-07-22
raymond
.
hettinger
Fix credits for math
.
s
um()
commit
|
commitdiff
|
tree
2008-07-22
raymond
.
hettinger
Tuples now have both cou
n
t() and
i
ndex()
.
commit
|
commitdiff
|
tree
2008-07-22
raymond
.
h
ettinger
Remove out-of-date section on Exact/In
e
xact
.
commit
|
commitdiff
|
tree
2008-07-19
r
aymond
.
hett
i
nger
C
l
ean-up i
t
ertools doc
s
and rec
i
pes
.
commit
|
commitdiff
|
tree
2008-07-19
raymon
d
.
h
e
ttinger
Fi
x
compress() recipe
i
n docs to use iterto
o
ls
.
commit
|
commitdiff
|
tree
2008-07-19
raymond
.
h
ettinger
Add reci
p
e
t
o the
itertools docs
.
commit
|
commitdiff
|
tree
2008-07-19
ra
y
mond
.
h
e
t
t
inger
Im
p
rove accura
c
y of
gamma t
e
s
t
function
commit
|
commitdiff
|
tree
2008-07-11
r
aymond
.
hettinge
r
Add cautionary note on t
h
e
u
s
e of P
y
Seq
u
ence_Fast_ITEMS
.
commit
|
commitdiff
|
tree
2008-07-10
raym
o
nd
.
he
t
ting
e
r
Suppress -3 warnings
i
n unittest
.
py
commit
|
commitdiff
|
tree
2008-07-10
ra
y
mon
d
.
h
e
tt
i
n
ger
Clear the
-
3
warnings in
opt
p
arse
.
py
commit
|
commitdiff
|
tree
2008-07-10
raymond
.
het
t
in
g
e
r
Issue 32
8
5: Fract
i
on
s
from_float()
a
nd from_decimal
.
.
.
commit
|
commitdiff
|
tree
2008-07-10
r
a
ymond
.
h
ett
i
nger
Issue 3301: Bisect functions b
e
haved badly
w
he
n
lo
.
.
.
commit
|
commitdiff
|
tree
2008-07-10
r
aymond
.
hett
i
nger
Use operator
.
ind
e
x()
i
nst
e
a
d
of
n
.
_
_
i
ndex__()
.
commit
|
commitdiff
|
tree
2008-07-10
raym
o
nd
.
hettinger
Issue 3287: Raise correct excep
t
ion for float in
p
uts
.
commit
|
commitdiff
|
tree
2008-07-05
raym
o
nd
.
h
e
t
tinger
Update
c
omment on p
r
ediction macros
.
commit
|
commitdiff
|
tree
2008-06-28
raymond
.
he
t
ti
n
g
e
r
Issue 3230: Do not the set specific size macro
.
commit
|
commitdiff
|
tree
2008-06-27
raymond
.
hettinger
F
i
x
wh
i
t
esp
a
ce i
n
example
c
o
d
e
.
commit
|
commitdiff
|
tree
2008-06-24
raym
o
nd
.
h
e
ttinger
Rev
e
rt 64424, 644
3
8
,
a
n
d
6443
9
.
commit
|
commitdiff
|
tree
2008-06-24
ray
m
o
n
d
.
hettinger
Issue 3189: P
y
3k DeprecationWarning in difflib
commit
|
commitdiff
|
tree
2008-06-23
raymond
.
het
t
inger
Issue 3161
:
Miss
i
n
g import an
d
t
es
t
.
commit
|
commitdiff
|
tree
2008-06-21
raymond
.
h
ettinger
I
s
sue 3
0
08: hex/o
c
t/bin can sho
w
f
l
oats ex
a
ctly
.
commit
|
commitdiff
|
tree
2008-06-20
raymond
.
hettinger
Make
b
i
n
(
)
i
m
pl
e
mentation
parallel oct() and he
x
()
.
.
.
commit
|
commitdiff
|
tree
2008-06-18
raymond
.
hetting
e
r
F
i
x double decref
.
commit
|
commitdiff
|
tree
2008-06-16
raymon
d
.
hettinger
Is
s
ue 3116
:
fix quadratic beh
a
vior
i
n
m
a
rsh
a
l
.
d
umps()
.
commit
|
commitdiff
|
tree
2008-06-11
ra
y
mond
.
hettinger
Add
t
est for
h
eapq
u
sing b
o
th __lt__ and
_
_
le__
.
commit
|
commitdiff
|
tree
2008-06-11
raymon
d
.
he
t
tinger
O
p
t
imize
pre
v
ious
checkin
f
o
r hea
p
q
.
commit
|
commitdiff
|
tree
2008-06-11
raym
o
nd
.
he
t
tinger
I
s
s
ue
3
0
51: Let heapq work
w
ith either __l
t
__
o
r __l
e
__
.
commit
|
commitdiff
|
tree
2008-06-11
ra
y
mond
.
hetti
n
ger
Multi
-
arg fo
r
m f
o
r set
.
dif
f
erence(
)
and set
.
diffe
r
ence_update()
.
commit
|
commitdiff
|
tree
2008-06-11
raymond
.
h
etti
n
ger
H
a
n
dle
t
he cas
e
wi
t
h zero arguments
.
commit
|
commitdiff
|
tree
2008-06-11
raymond
.
hettinger
Up
d
ate numbers doc
fo
r
the Integral
simp
l
i
f
ication
.
commit
|
commitdiff
|
tree
2008-06-11
raymond
.
hettinge
r
M
i
ni-
P
E
P: Simpl
i
f
y
i
n
g
n
u
m
bers
.
py
commit
|
commitdiff
|
tree
2008-06-10
r
aymond
.
hettinger
Ad
d
Arnaud for his efforts
o
n multi-
a
rg set opera
t
ions
.
commit
|
commitdiff
|
tree
2008-06-09
ra
y
mond
.
hettin
g
er
Let s
e
t
.
intersection() a
n
d set
.
intersection
_
update
.
.
.
commit
|
commitdiff
|
tree
2008-06-09
raymond
.
hetti
n
ger
U
nhappy buil
d
b
ots
.
Rev
e
rt 6405
2
.
Long doubles hav
e
.
.
.
commit
|
commitdiff
|
tree
2008-06-09
r
a
ymond
.
hett
i
nger
Add
r
e
ss double-round
i
ng
scenario
s
by
set
t
ing all variables
.
.
.
commit
|
commitdiff
|
tree
2008-06-09
raymo
n
d
.
hett
i
nger
L
et set
.
un
i
on(
)
and
s
et
.
update() accept multiple
i
nputs
.
commit
|
commitdiff
|
tree
2008-06-09
raymo
n
d
.
he
t
tinger
Issue #2138: Add math
.
f
a
ctorial()
.
commit
|
commitdiff
|
tree
2008-06-09
raymond
.
hetti
n
ger
Issue3065: Fixe
d
pickling of name
d
tuples
.
Added
.
.
.
commit
|
commitdiff
|
tree
2008-06-06
raymo
n
d
.
hettinger
Issue 3501: Make heapq support both __le_
_
a
nd __lt_
_
.
commit
|
commitdiff
|
tree
2008-05-31
r
a
ymond
.
het
t
ing
e
r
Implemen
t
h
ea
p
q in terms of less-than (to match list
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
ray
m
on
d
.
hettinge
r
* Ma
r
k int
e
rmedidate
computes value
s
(hi,
l
o, yr) as
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
r
ay
m
o
nd
.
hettinger
Issue 2903: Add __
n
ame
_
_ in globals
f
or namedt
u
p
le
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
r
aymond
.
h
ettinger
Issue 2855
:
Fix o
b
scure crasher b
y
slowin
g
down the
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
ray
m
o
n
d
.
hettinger
Iss
u
e 2784: fix le
a
ks
i
n
exception exit
.
commit
|
commitdiff
|
tree
2008-05-29
r
aymond
.
he
t
tinger
Fix two typos
.
commit
|
commitdiff
|
tree
2008-05-23
raymond
.
h
ettinger
Fix typo
commit
|
commitdiff
|
tree
2008-05-23
raymond
.
het
t
i
n
ger
Issue
2909: show how
to name unpac
k
e
d fie
l
ds
.
commit
|
commitdiff
|
tree
2008-05-23
raymond
.
hettin
g
er
Tw
e
ak
t
he com
m
ents and fo
r
matting
.
commit
|
commitdiff
|
tree
2008-05-23
ra
y
mond
.
hettinger
Docs for Issue 2819
.
commit
|
commitdiff
|
tree
2008-05-17
raymond
.
hettinger
Fix-up docstring
commit
|
commitdiff
|
tree
2008-05-08
raymond
.
h
e
t
tinger
Issue 2778
.
Docu
m
ent the
t
empor
a
ry frozens
e
t sw
a
p
.
.
.
commit
|
commitdiff
|
tree
2008-05-08
ra
y
mond
.
hettinger
Fix-up the enumerate typ
e
example and move
i
t to
the
.
.
.
commit
|
commitdiff
|
tree
2008-05-08
r
aymond
.
he
t
tinge
r
The __al
l
_
_ va
r
iable forgot
t
o expose the gcd
(
) function
.
commit
|
commitdiff
|
tree
2008-05-08
raymond
.
hettinger
Frozensets do
n
ot ben
e
fit from autoconversion
.
commit
|
commitdiff
|
tree
2008-04-17
r
a
ymon
d
.
hettinge
r
Iss
u
e 2648: Add leadin
g
z
ero t
o
money format recip
e
.
.
.
commit
|
commitdiff
|
tree
2008-03-29
raym
o
nd
.
het
t
ing
e
r
B
e
explicit about what effi
c
ient means
.
commit
|
commitdiff
|
tree
2008-03-24
raymond
.
hettinger
Issu
e
2460
:
Make
Ell
i
psis objects copyable
.
commit
|
commitdiff
|
tree
2008-03-24
raymo
n
d
.
hetti
n
ger
T
igh
t
e
n
documenta
t
ion for Ra
n
dom
.
triangu
l
ar
.
commit
|
commitdiff
|
tree
2008-03-23
ra
y
mond
.
hettinger
Adopt Ni
c
k's su
g
gestion for useful defa
u
lt ar
g
u
m
ents
.
commit
|
commitdiff
|
tree
2008-03-23
raymond
.
hettinger
Issue 1681432: Add tria
n
gular dist
r
ibutio
n
the rand
o
m
.
.
.
commit
|
commitdiff
|
tree
2008-03-23
ray
m
ond
.
hetting
e
r
Simplify demo code
.
commit
|
commitdiff
|
tree
2008-03-19
raymond
.
hettinger
Remove
u
nnecessary t
r
aceback save/restore
p
air
.
commit
|
commitdiff
|
tree
2008-03-19
r
aymond
.
hettinger
Remove itertools
w
arnings I had
a
dded b
e
fore the 2
.
.
.
commit
|
commitdiff
|
tree
2008-03-19
r
aymond
.
he
t
ti
n
ger
The f
i
lter() function does support
a None argument
.
.
.
commit
|
commitdiff
|
tree
2008-03-19
raymond
.
hettinger
I
s
s
ue
2354: Fi
x
-
u
p compare wa
r
ning
.
Patch c
o
nt
r
i
b
ute
d
.
.
.
commit
|
commitdiff
|
tree
2008-03-19
ra
y
m
ond
.
hettinger
Fix compil
e
r warnin
g
.
commit
|
commitdiff
|
tree
2008-03-18
raymond
.
h
ettinger
Issue: 2354:
A
dd 3K warning
f
or the c
m
p argum
e
nt to
.
.
.
commit
|
commitdiff
|
tree
2008-03-18
raymond
.
hetting
e
r
Speed-up isins
t
anc
e
() for one easy case
.
commit
|
commitdiff
|
tree
2008-03-16
raymon
d
.
hetting
e
r
Upd
a
te docs to r
e
flect
removal of Exac
t
/Inexact
commit
|
commitdiff
|
tree
2008-03-15
ra
y
mond
.
he
t
tinger
Zap one more use of Exa
c
t/Ine
x
act
.
commit
|
commitdiff
|
tree
2008-03-15
raymond
.
hett
i
nger
Removed Exact/
I
nex
a
ct aft
e
r discussion
with Ya
s
skin
.
commit
|
commitdiff
|
tree
2008-03-14
r
ay
m
ond
.
hettinger
L
e
ave heaprepla
c
e() unch
a
nged
.
commit
|
commitdiff
|
tree
2008-03-13
raymond
.
hettinger
Simpli
f
y
t
he nlargest()
c
o
d
e u
s
ing
heappushpop(
)
.
commit
|
commitdiff
|
tree
2008-03-13
raymond
.
he
t
t
i
nger
Issue 2274
:
Add heapq
.
heappu
s
hpop(
)
.
commit
|
commitdiff
|
tree
2008-03-13
raymond
.
he
t
tinger
Consistent t
e
nse
.
commit
|
commitdiff
|
tree
2008-03-13
raymond
.
het
t
in
g
er
Add 2-to-3 su
p
port for the itertoo
l
s
m
oved
t
o builtins
.
.
.
commit
|
commitdiff
|
tree
2008-03-11
ray
m
ond
.
h
e
ttinge
r
Improve docs for item
g
etter()
.
S
h
ow that it works
.
.
.
commit
|
commitdiff
|
tree
2008-03-11
raymond
.
hettinger
Add recipe to docs
.
commit
|
commitdiff
|
tree
2008-03-07
r
a
y
m
o
n
d
.
h
ettinger
Tweak recipes and test
s
commit
|
commitdiff
|
tree
2008-03-06
ray
m
ond
.
h
e
ttinger
Issue 224
6
: ite
r
tools
grou
p
er
o
bject
did not participate
.
.
.
commit
|
commitdiff
|
tree
2008-03-06
raym
o
nd
.
h
e
ttinger
More t
e
sts
.
commit
|
commitdiff
|
tree
2008-03-06
raym
o
nd
.
hetti
n
ger
Add examples
.
commit
|
commitdiff
|
tree
2008-03-05
raymond
.
h
et
t
i
nger
Small code c
l
eanup
.
commit
|
commitdiff
|
tree
2008-03-05
raymond
.
hetti
n
g
er
C impl
e
ment
a
tio
n
of itertools
.
permu
t
ations()
.
commit
|
commitdiff
|
tree
2008-03-04
ray
m
ond
.
hetting
e
r
Fix re
f
lea
k
in cha
i
n(
)
.
commit
|
commitdiff
|
tree
2008-03-04
raym
o
nd
.
hettinger
Bee
f
-up docs a
n
d tests for itertools
.
F
i
x-u
p
en
d
-case
.
.
.
commit
|
commitdiff
|
tree
2008-03-03
raymond
.
h
e
ttinger
I
s
sue 2
2
26:
C
allable checked for th
e
wrong abstract
.
.
.
commit
|
commitdiff
|
tree
2008-03-03
raymo
n
d
.
hettinger
Re
m
ove depen
d
ency o
n
itertools -- a simple genexp suffices
.
commit
|
commitdiff
|
tree
2008-03-02
r
a
y
m
ond
.
hettinger
Hand
l
e 0-tuples whic
h
c
an be
s
i
ngletons
.
commit
|
commitdiff
|
tree
2008-03-02
raymond
.
h
e
tt
i
nger
Simplify cod
e
for itertools
.
pro
d
uct()
.
commit
|
commitdiff
|
tree
2008-03-02
ray
m
ond
.
het
t
inger
Tighten e
x
ampl
e
c
ode
.
commit
|
commitdiff
|
tree
2008-03-02
raymon
d
.
hett
i
nger
Finish-up
d
o
c
s for c
o
m
binat
i
o
n
s
() and permutations
.
.
.
commit
|
commitdiff
|
tree
2008-02-29
r
a
ymond
.
hettinger
H
andle
the rep
e
at keyword
arg
u
ment
f
or
i
tertools
.
product()
.
commit
|
commitdiff
|
tree
next