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
Add recipe to docs.
2008-03-11
raymond
.
hettinger
Add
recipe to docs
.
commit
|
commitdiff
|
tree
2008-03-07
raymond
.
he
t
t
inger
Tweak recipes an
d
te
s
ts
commit
|
commitdiff
|
tree
2008-03-06
ra
y
mond
.
hetting
e
r
Is
s
ue
2
2
46: itertools grouper
object did not
p
articipate
.
.
.
commit
|
commitdiff
|
tree
2008-03-06
raymond
.
hettinger
Mor
e
tes
t
s
.
commit
|
commitdiff
|
tree
2008-03-06
raymond
.
hettinger
Add exampl
e
s
.
commit
|
commitdiff
|
tree
2008-03-05
raymond
.
h
ettin
g
er
S
m
all
code cleanup
.
commit
|
commitdiff
|
tree
2008-03-05
ray
m
ond
.
hett
i
nger
C implementat
i
on of itertools
.
pe
r
mu
t
ations()
.
commit
|
commitdiff
|
tree
2008-03-04
raymo
n
d
.
h
e
t
ti
n
ger
Fix refle
a
k in chain()
.
commit
|
commitdiff
|
tree
2008-03-04
r
a
y
mond
.
hettinger
Beef-up docs and tests for
itert
o
ols
.
Fix-up end
-
ca
s
e
.
.
.
commit
|
commitdiff
|
tree
2008-03-03
raymond
.
hetting
e
r
Issue 2226: Call
a
ble
checked
for the wrong abstract
.
.
.
commit
|
commitdiff
|
tree
2008-03-03
r
aymond
.
hett
i
ng
e
r
Remo
v
e depe
n
den
c
y
o
n
itertools -- a
s
imp
l
e genexp suffi
c
e
s
.
commit
|
commitdiff
|
tree
2008-03-02
raymond
.
hettinge
r
H
andl
e
0-tuples which can
be
singlet
o
ns
.
commit
|
commitdiff
|
tree
2008-03-02
raymond
.
het
t
in
g
er
Simplify code for it
e
rtool
s
.
p
roduc
t
()
.
commit
|
commitdiff
|
tree
2008-03-02
ra
y
mond
.
hettinger
Tighten example
code
.
commit
|
commitdiff
|
tree
2008-03-02
raymo
n
d
.
h
ettinger
F
i
nish-up docs f
o
r combinati
o
n
s() and permutatio
n
s
.
.
.
commit
|
commitdiff
|
tree
2008-02-29
raymond
.
hettinger
Handle the repe
a
t keyword argument
f
o
r itertools
.
p
r
oduct()
.
commit
|
commitdiff
|
tree
2008-02-28
raymond
.
hettinger
Add alternate constructor for
i
tertools
.
c
h
ain()
.
commit
|
commitdiff
|
tree
2008-02-28
r
aymond
.
h
e
t
t
inge
r
H
ave itertoo
l
s
.
c
h
ain
(
)
consume its inputs
l
a
zily instead
.
.
.
commit
|
commitdiff
|
tree
2008-02-28
raymond
.
het
t
inger
D
ocument
i
mpending updates
t
o ite
r
tools
.
commit
|
commitdiff
|
tree
2008-02-28
r
a
ymond
.
hettinger
Add repe
a
t
ke
y
wor
d
argument to iterto
o
ls
.
prod
u
c
t
()
.
commit
|
commitdiff
|
tree
2008-02-27
raymond
.
hettinger
S
i
m
ply the
sa
m
ple code for comb
i
nations()
.
commit
|
commitdiff
|
tree
2008-02-27
raymond
.
h
e
t
tinger
Larger
t
est range
commit
|
commitdiff
|
tree
2008-02-27
raymond
.
hettin
g
e
r
One
t
oo
m
any decrefs
.
commit
|
commitdiff
|
tree
2008-02-26
raymond
.
hettinger
Add it
e
rto
o
ls
.
c
o
mbina
t
ions()
.
commit
|
commitdiff
|
tree
2008-02-26
ra
y
mond
.
hettinger
Docs f
o
r
i
tertool
s
.
combinations()
.
Implementatio
n
.
.
.
commit
|
commitdiff
|
tree
2008-02-25
raymo
n
d
.
hettinger
R
e
v
ert part
of r60927 which mad
e
invalid assumptions
.
.
.
commit
|
commitdiff
|
tree
2008-02-25
raymond
.
hettinger
Make su
r
e the it
e
rtools fil
t
er
fun
c
t
i
ons
give
t
h
e same
.
.
.
commit
|
commitdiff
|
tree
2008-02-23
raym
o
nd
.
hettinger
Add recipe using it
e
rtools
.
pr
o
d
uct()
.
commit
|
commitdiff
|
tree
2008-02-23
raymond
.
he
t
tinger
Add m
o
re
c
omme
n
t
s
commit
|
commitdiff
|
tree
2008-02-23
ra
y
m
ond
.
hettinger
Improve
t
he implementation of itert
o
ols
.
product()
commit
|
commitdiff
|
tree
2008-02-22
r
a
y
mon
d
.
h
ettinger
Document itert
o
ols
.
pro
d
u
c
t()
.
commit
|
commitdiff
|
tree
2008-02-22
raymond
.
h
e
t
t
inger
First dra
f
t
f
or
i
t
e
rtools
.
produc
t
(
)
.
Docs and
o
the
r
.
.
.
commit
|
commitdiff
|
tree
2008-02-21
raymond
.
hettinger
Update mor
e
inst
a
n
ces of has_k
e
y()
.
commit
|
commitdiff
|
tree
2008-02-16
raymond
.
hett
i
nger
Ad
d
__all__ to logging module
.
commit
|
commitdiff
|
tree
2008-02-15
ra
y
mond
.
hett
i
nger
Update e
x
ample to
m
atch the current sy
n
tax
.
commit
|
commitdiff
|
tree
2008-02-14
raymo
n
d
.
hettinger
No
need to reg
i
ster subclass
of ABCs
.
commit
|
commitdiff
|
tree
2008-02-14
raymond
.
het
t
ing
e
r
Fix markup
commit
|
commitdiff
|
tree
2008-02-14
ra
y
mon
d
.
hettinger
S
i
mplify mone
y
fmt() recipe
.
commit
|
commitdiff
|
tree
2008-02-14
raym
o
n
d
.
hettin
g
e
r
Fix marku
p
.
commit
|
commitdiff
|
tree
2008-02-14
raymond
.
het
t
ing
e
r
Show ho
w
to
r
emove e
x
ponent
s
.
commit
|
commitdiff
|
tree
2008-02-14
raymond
.
hettinger
Impr
o
ve rst markup
commit
|
commitdiff
|
tree
2008-02-14
raymond
.
hetti
n
ger
Ad
d
fixed-point examples t
o
the decimal FAQ
commit
|
commitdiff
|
tree
2008-02-14
raymo
n
d
.
hettin
g
e
r
Add
diagnostic me
s
s
ag
e
to
help f
i
gur
e
-o
u
t why Sock
e
tServ
e
r
.
.
.
commit
|
commitdiff
|
tree
2008-02-14
raymond
.
hettinge
r
Fix decima
l
repr which should
h
ave u
s
ed single quotes
.
.
.
commit
|
commitdiff
|
tree
2008-02-14
ray
m
ond
.
hettinge
r
Up
d
ate notes on
D
e
cimal
.
commit
|
commitdiff
|
tree
2008-02-12
ra
y
mond
.
h
e
ttin
g
er
dict
.
copy() rises from the a
s
hes
.
Revert
r
6068
7
.
commit
|
commitdiff
|
tree
2008-02-12
raymond
.
h
e
tti
n
ger
Br
i
n
g
de
c
imal a bit
cl
o
ser to the spec
f
or Reals
.
commit
|
commitdiff
|
tree
2008-02-12
raym
o
nd
.
hetti
n
ger
Fix typo in c
o
mm
e
nts
commit
|
commitdiff
|
tree
2008-02-12
raymond
.
hettinger
Restore fractions
.
rst t
o
the d
o
c
ument tree
.
commit
|
commitdiff
|
tree
2008-02-11
raymond
.
hetti
n
ger
Back
p
ort ABC d
o
cs
commit
|
commitdiff
|
tree
2008-02-11
r
aymond
.
hettinge
r
Fix markup
commit
|
commitdiff
|
tree
2008-02-11
raymo
n
d
.
hettinger
Add
n
ot
e
s on how decimal fits in
t
o the model
.
commit
|
commitdiff
|
tree
2008-02-11
ra
y
mon
d
.
hettinger
Add tests for pic
k
letools
.
optimiz
e
()
.
commit
|
commitdiff
|
tree
2008-02-11
ra
y
mond
.
hetti
n
ger
No n
e
e
d to re
g
i
s
ter classe
s
that a
l
r
e
a
d
y inherit f
r
om
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
raymond
.
hetti
n
g
e
r
Complet
e
an open todo on pick
l
etools --
ad
d
a
pickle
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
raymond
.
hetting
e
r
Cla
r
ify t
h
at
decimal also suppor
t
s f
i
xed-point arithmetic
.
commit
|
commitdiff
|
tree
2008-02-09
raymond
.
hettinger
Te
m
porar
i
l
y
disable this test
.
It's been bro
k
e
n for
.
.
.
commit
|
commitdiff
|
tree
2008-02-09
ra
y
mond
.
hettinger
M
e
t
aclass
d
e
clarati
o
n is inhe
r
ited
commit
|
commitdiff
|
tree
2008-02-09
raymond
.
hettinger
Add -3 warnings that set
.
co
p
y
(), dict
.
copy(), and defaul
t
d
ic
.
.
.
commit
|
commitdiff
|
tree
2008-02-09
raymond
.
het
t
inger
Me
r
g
e with r6068
3
.
commit
|
commitdiff
|
tree
2008-02-09
raymond
.
h
e
t
t
inger
Make ABC containers inherit as d
o
cument
e
d
.
commit
|
commitdiff
|
tree
2008-02-08
raymo
n
d
.
h
e
ttinger
Add a
d
vice on
c
h
o
osi
n
g between Di
c
t
M
i
xin and Mut
a
bleMapp
i
ng
commit
|
commitdiff
|
tree
2008-02-08
raymond
.
hettinger
Fill-i
n
missing
S
et c
o
mparis
o
ns
commit
|
commitdiff
|
tree
2008-02-08
raymond
.
hettinger
S
p
e
e
d
-u
p
_
_iter__() mixi
n
meth
o
d
.
commit
|
commitdiff
|
tree
2008-02-08
raymond
.
he
t
tinger
R
e
move
u
n
n
ecessa
r
y modul
o
division
.
commit
|
commitdiff
|
tree
2008-02-07
raymon
d
.
h
etting
e
r
Fix typo
commit
|
commitdiff
|
tree
2008-02-07
ray
m
ond
.
het
t
inger
The
float conve
r
sion r
e
cipe
i
s simple
r
in Py2
.
6
commit
|
commitdiff
|
tree
2008-02-07
raymond
.
hettinger
Merg
e
r60628, r60631,
a
nd r60633
.
Reg
i
ster UserLi
s
t
.
.
.
commit
|
commitdiff
|
tree
2008-02-07
raymond
.
hettinger
Merge 60627
.
commit
|
commitdiff
|
tree
2008-02-07
raymond
.
hettinger
Return
i
nts instead of longs
for tuple
.
count() and
.
.
.
commit
|
commitdiff
|
tree
2008-02-07
ray
m
on
d
.
hettinger
I
ssue 2025: Add
t
uple
.
cou
n
t
(
)
and tuple
.
in
d
ex()
t
o
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
raym
o
n
d
.
hettinger
Sync-up wit
h
Py3k work
.
commit
|
commitdiff
|
tree
2008-02-02
r
a
ymond
.
he
t
tin
g
er
N
eaten-up a bit
.
commit
|
commitdiff
|
tree
2008-02-02
r
aymond
.
hetting
e
r
Simpl
e
r solution to
h
an
d
ling
non-IEEE 754 envir
o
n
men
t
s
.
commit
|
commitdiff
|
tree
2008-02-01
raymond
.
h
e
ttinger
Add protection from
w
e
i
rdness wh
i
le scaling
the
m
antiss
a
.
.
.
commit
|
commitdiff
|
tree
2008-02-01
raym
o
nd
.
hettin
g
e
r
Fi
x
int/
l
ong t
y
pecase
.
A
d
d chec
k
f
or non-binar
y
floating
.
.
.
commit
|
commitdiff
|
tree
2008-02-01
ra
y
mon
d
.
h
e
ttinger
Test
r
ound-trip o
n
floa
t
.
as_integer_ratio() and float
.
.
.
commit
|
commitdiff
|
tree
2008-02-01
raymo
n
d
.
hettinger
l
abs() ta
k
es a long for an input
.
commit
|
commitdiff
|
tree
2008-02-01
r
a
ymond
.
he
t
tinger
Int
e
ger rat
i
o
s
hould return i
n
ts instead
o
f longs whereever
.
.
.
commit
|
commitdiff
|
tree
2008-02-01
raymond
.
hettinger
Issue #
1
996: float
.
as_integer_rat
i
o() should r
e
turn
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
raym
o
n
d
.
het
t
inger
Minor
w
ordsmithin
g
on docstring
commit
|
commitdiff
|
tree
2008-01-31
raymond
.
h
e
tting
e
r
Missing return
commit
|
commitdiff
|
tree
2008-01-31
raymond
.
hettinger
Fix defect in
__
i
x
or__ which would get
t
he wron
g
commit
|
commitdiff
|
tree
2008-01-30
raymond
.
h
e
ttinger
U
p
dat
e
itertool recipe
s
commit
|
commitdiff
|
tree
2008-01-30
raymon
d
.
h
ettinger
De
m
o
n
s
tr
a
t
e ne
w
e
x
cept/as syntax
.
commit
|
commitdiff
|
tree
2008-01-30
raymond
.
hettinger
MutableSets su
p
p
ort a remove(
)
method
.
commit
|
commitdiff
|
tree
2008-01-30
ra
y
mond
.
h
e
tti
n
g
e
r
Add i
s
disjoint
(
)
t
o the Set/MutableSet ABCs
.
commit
|
commitdiff
|
tree
2008-01-29
raymo
n
d
.
h
ettin
g
er
C
a
ll
M
ethod is
faster
with a NULL third-argument than
.
.
.
commit
|
commitdiff
|
tree
2008-01-28
raymond
.
h
ettinger
Removed
u
nnece
s
sa
r
y conditional (spott
e
d
b
y
Neal No
r
witz)
.
commit
|
commitdiff
|
tree
2008-01-28
raymond
.
h
e
ttinger
Factor-o
u
t common code
w
ith a
new m
a
c
r
o
commit
|
commitdiff
|
tree
2008-01-28
raymo
n
d
.
hettinger
Fact
o
r-out common cod
e
with a
new macro
commit
|
commitdiff
|
tree
2008-01-28
raymond
.
he
t
tinger
Let
m
a
rshal bu
i
lt-up sets and frozensets one
e
lement
.
.
.
commit
|
commitdiff
|
tree
2008-01-28
raym
o
nd
.
h
etti
n
ger
Make PySet_Add() work w
i
th frozensets
.
commit
|
commitdiff
|
tree
2008-01-27
raymond
.
hettinger
Re
m
oved
a
n
unnecess
a
ry and confu
s
in
g
pa
r
agra
p
h
f
rom
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
raymond
.
hettinger
Docstrin
g
nit
commit
|
commitdiff
|
tree
2008-01-26
r
a
ymond
.
het
t
i
n
g
er
Revert Py
S
et_Add() cha
n
ges
.
commit
|
commitdiff
|
tree
2008-01-26
raymond
.
hettinge
r
U
pdat
e
t
est cod
e
for change to PySet_Add()
.
commit
|
commitdiff
|
tree
2008-01-26
raymond
.
hettinge
r
Let marshal build-up sets an
d
frozen
s
ets o
n
e
element
.
.
.
commit
|
commitdiff
|
tree
2008-01-26
raymo
n
d
.
h
e
t
tinger
M
ak
e
PySet_Add(
)
w
o
rk with f
r
ozensets
.
Works
l
ik
e
.
.
.
commit
|
commitdiff
|
tree
2008-01-25
raymond
.
h
e
t
t
inger
Change
s
54857 and
54840 broke co
d
e a
n
d were reverted
.
.
.
commit
|
commitdiff
|
tree
next