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
Issue #2138: Add math.factorial().
2008-06-09
raymond
.
hetting
e
r
Issu
e
#2138
:
Add math
.
factorial()
.
commit
|
commitdiff
|
tree
2008-06-09
ra
y
mond
.
he
t
tinger
Issue
3
0
6
5: Fixed pickling of n
a
med
tup
l
es
.
A
d
ded
.
.
.
commit
|
commitdiff
|
tree
2008-06-06
raymo
n
d
.
h
e
ttinge
r
Issue 350
1
: Mak
e
hea
p
q support both __le__ and __lt__
.
commit
|
commitdiff
|
tree
2008-05-31
raymond
.
hettinger
Implemen
t
heapq i
n
terms
of
less-tha
n
(to match list
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
ray
m
on
d
.
hettinger
* Mark
int
e
rmedidate computes values (hi, lo, yr) as
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
raym
o
nd
.
he
t
tinger
Issue 2903: A
d
d
__name
_
_ in
globals for name
d
tuple
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
raymond
.
hettinger
Is
s
u
e
2
855: Fix obscure cr
a
sher b
y
slowing
d
own
the
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
raymond
.
het
t
inger
Iss
u
e
2784
:
fix leaks
i
n exc
e
ption exit
.
commit
|
commitdiff
|
tree
2008-05-29
raymond
.
h
ettinger
Fi
x
two typos
.
commit
|
commitdiff
|
tree
2008-05-23
raymo
n
d
.
h
e
t
tin
g
er
Fi
x
typo
commit
|
commitdiff
|
tree
2008-05-23
raymo
n
d
.
hettinger
Issue 2909: show how to n
a
me unpacked f
i
elds
.
commit
|
commitdiff
|
tree
2008-05-23
raym
o
nd
.
hetti
n
ge
r
Tweak the
c
omments
a
n
d f
o
rmatting
.
commit
|
commitdiff
|
tree
2008-05-23
raymond
.
hett
i
n
g
er
Doc
s
for Issue
2
8
19
.
commit
|
commitdiff
|
tree
2008-05-17
raymond
.
hettinger
Fix-up
d
ocs
t
ring
commit
|
commitdiff
|
tree
2008-05-08
raymond
.
hettinger
Issue
2
7
7
8
.
Document t
h
e
t
e
m
porary frozens
e
t sw
a
p
.
.
.
commit
|
commitdiff
|
tree
2008-05-08
raymon
d
.
hetting
e
r
Fix-u
p
the enumerate
t
ype example and
m
ove it to
the
.
.
.
commit
|
commitdiff
|
tree
2008-05-08
raymond
.
hettinger
The __all_
_
vari
a
ble forgot to
exp
o
se the gcd() function
.
commit
|
commitdiff
|
tree
2008-05-08
raymond
.
hett
i
n
g
e
r
Fro
z
ensets do not
b
e
nefit from a
u
to
c
onversion
.
commit
|
commitdiff
|
tree
2008-04-17
raymond
.
hettinger
Issue
2648: Add leading zero to money format
r
e
cipe
.
.
.
commit
|
commitdiff
|
tree
2008-03-29
raymond
.
hettinger
Be explicit
a
bout what efficient means
.
commit
|
commitdiff
|
tree
2008-03-24
r
a
y
mond
.
h
ettinger
Issue 2460: Make Elli
p
sis obj
e
cts copyable
.
commit
|
commitdiff
|
tree
2008-03-24
ray
m
ond
.
hettinger
Tighten doc
u
mentat
i
on for Ran
d
om
.
triangular
.
commit
|
commitdiff
|
tree
2008-03-23
raym
o
nd
.
h
e
ttinger
Adopt Nick's
s
uggestion for
useful default
arguments
.
commit
|
commitdiff
|
tree
2008-03-23
raymond
.
he
t
tinger
Issue 1
6
81
4
32: Add tria
n
gular distribution
t
he random
.
.
.
commit
|
commitdiff
|
tree
2008-03-23
ray
m
ond
.
hettinger
Simplify demo code
.
commit
|
commitdiff
|
tree
2008-03-19
raymond
.
he
t
tinger
Remove unnecessar
y
traceb
a
ck sav
e
/restore
p
air
.
commit
|
commitdiff
|
tree
2008-03-19
raymo
n
d
.
hettinger
Re
m
ove ite
r
tools warnings
I
ha
d
added
b
e
fore the 2
.
.
.
commit
|
commitdiff
|
tree
2008-03-19
raymond
.
hettinger
The fil
t
er() function doe
s
support a None argument
.
.
.
commit
|
commitdiff
|
tree
2008-03-19
raymond
.
het
t
inger
Issue 2354: F
i
x-up
c
ompare warni
n
g
.
Patch contribute
d
.
.
.
commit
|
commitdiff
|
tree
2008-03-19
raymond
.
hettinger
Fix compiler warni
n
g
.
commit
|
commitdiff
|
tree
2008-03-18
r
aymon
d
.
hettinger
I
ssue
:
2354: Add
3K warning for
t
he cm
p
arg
u
ment to
.
.
.
commit
|
commitdiff
|
tree
2008-03-18
raymond
.
h
e
ttinger
S
p
ee
d
-up isinstance()
for one
e
asy c
a
se
.
commit
|
commitdiff
|
tree
2008-03-16
raymon
d
.
hettinger
Update docs to reflect remo
v
al of Exact/Inex
a
c
t
commit
|
commitdiff
|
tree
2008-03-15
raymon
d
.
h
e
ttinge
r
Z
ap one more use
o
f Exact/
I
ne
x
act
.
commit
|
commitdiff
|
tree
2008-03-15
raymond
.
hettinger
Removed
E
xact/Inexa
c
t after
d
i
scussio
n
with Ya
s
skin
.
commit
|
commitdiff
|
tree
2008-03-14
ra
y
mond
.
he
t
t
i
nger
Lea
v
e
heapr
e
p
l
ace() un
c
h
a
nged
.
commit
|
commitdiff
|
tree
2008-03-13
raymond
.
hettinger
Simpl
i
fy
the
n
largest() code using h
e
appushpop()
.
commit
|
commitdiff
|
tree
2008-03-13
raymond
.
het
t
inger
Issue 2274:
Ad
d
he
a
pq
.
h
eapp
u
shpop()
.
commit
|
commitdiff
|
tree
2008-03-13
r
a
y
mond
.
hett
i
nge
r
Consi
s
tent te
n
s
e
.
commit
|
commitdiff
|
tree
2008-03-13
r
aymond
.
h
ettinger
Ad
d
2-to-3 support for
t
he itertool
s
moved to b
u
iltin
s
.
.
.
commit
|
commitdiff
|
tree
2008-03-11
raymond
.
hettinger
Improve docs for item
g
etter()
.
Sho
w
t
hat
it
works
.
.
.
commit
|
commitdiff
|
tree
2008-03-11
r
a
y
mond
.
hettinger
Add recipe to do
c
s
.
commit
|
commitdiff
|
tree
2008-03-07
raymond
.
hettinger
Tweak
r
ecipe
s
a
n
d t
e
s
t
s
commit
|
commitdiff
|
tree
2008-03-06
raymond
.
hettinger
I
s
su
e
2246:
i
tertools grouper object did not participate
.
.
.
commit
|
commitdiff
|
tree
2008-03-06
raymond
.
hettinger
Mo
r
e tests
.
commit
|
commitdiff
|
tree
2008-03-06
r
aymond
.
hettinger
A
dd examples
.
commit
|
commitdiff
|
tree
2008-03-05
raymond
.
het
t
i
n
ger
Small c
o
d
e
cle
a
nup
.
commit
|
commitdiff
|
tree
2008-03-05
raymo
n
d
.
h
ettinger
C implementati
o
n
of itertools
.
permu
t
a
tion
s
()
.
commit
|
commitdiff
|
tree
2008-03-04
raymo
n
d
.
hett
i
n
g
er
Fi
x
refleak
in chai
n
()
.
commit
|
commitdiff
|
tree
2008-03-04
r
a
y
mond
.
hettinger
Beef-u
p
do
c
s and tests for i
t
e
r
tools
.
Fix-up e
n
d
-
case
.
.
.
commit
|
commitdiff
|
tree
2008-03-03
ra
y
mon
d
.
het
t
inger
Issue 2226:
Ca
l
labl
e
checked for the wrong abstra
c
t
.
.
.
commit
|
commitdiff
|
tree
2008-03-03
raymond
.
hettinger
Remove depen
d
ency o
n
i
t
e
rto
o
ls -- a simple
ge
n
e
x
p s
u
ffices
.
commit
|
commitdiff
|
tree
2008-03-02
raymo
n
d
.
hettinge
r
Handle 0-tuples which ca
n
be singleto
n
s
.
commit
|
commitdiff
|
tree
2008-03-02
raymond
.
het
t
inge
r
S
i
mplify
c
o
de fo
r
itertool
s
.
p
r
oduct()
.
commit
|
commitdiff
|
tree
2008-03-02
r
aymond
.
hettinger
T
i
g
h
ten example
c
o
d
e
.
commit
|
commitdiff
|
tree
2008-03-02
ra
y
mo
n
d
.
h
e
t
t
inger
Finish-u
p
docs for co
m
binations() and permuta
t
i
ons
.
.
.
commit
|
commitdiff
|
tree
2008-02-29
raymond
.
hettin
g
e
r
Handl
e
the repeat keyword argument for
i
tertool
s
.
pro
d
uct(
)
.
commit
|
commitdiff
|
tree
2008-02-28
ra
y
m
on
d
.
h
e
ttinger
Add alt
e
rn
a
te constr
u
ctor for i
t
ertools
.
chain()
.
commit
|
commitdiff
|
tree
2008-02-28
raym
o
n
d
.
hettin
g
er
Have
itertools
.
chain() con
s
ume its in
p
ut
s
la
z
il
y
instead
.
.
.
commit
|
commitdiff
|
tree
2008-02-28
raym
o
nd
.
hettinger
Do
c
ument impending updat
e
s to iterto
o
ls
.
commit
|
commitdiff
|
tree
2008-02-28
raym
o
nd
.
he
t
tinger
Add repeat keyw
o
rd argument to ite
r
t
o
ols
.
prod
u
ct()
.
commit
|
commitdiff
|
tree
2008-02-27
raymon
d
.
hettinger
Si
m
ply t
h
e sample
code
f
o
r co
m
binations()
.
commit
|
commitdiff
|
tree
2008-02-27
ray
m
ond
.
hettinger
Larger
test ra
n
ge
commit
|
commitdiff
|
tree
2008-02-27
raymond
.
h
ettinger
One too
m
any decrefs
.
commit
|
commitdiff
|
tree
2008-02-26
raymond
.
hett
i
nger
A
dd i
t
e
rto
o
l
s
.
com
b
ina
t
ion
s
()
.
commit
|
commitdiff
|
tree
2008-02-26
raymond
.
hettinger
Docs for itertools
.
combinations()
.
I
m
p
l
eme
n
tation
.
.
.
commit
|
commitdiff
|
tree
2008-02-25
raymond
.
he
t
t
inger
Revert part of r6092
7
wh
i
ch
m
ad
e
invalid assumptions
.
.
.
commit
|
commitdiff
|
tree
2008-02-25
raymo
n
d
.
hetti
n
ger
M
a
k
e
s
ure the iter
t
ools filter
functions
g
ive the same
.
.
.
commit
|
commitdiff
|
tree
2008-02-23
raymond
.
hettinger
A
d
d recipe using itertools
.
product()
.
commit
|
commitdiff
|
tree
2008-02-23
raymond
.
hettinger
Add mo
r
e commen
t
s
commit
|
commitdiff
|
tree
2008-02-23
raymond
.
hettin
g
er
Imp
r
ove th
e
implementat
i
on of ite
r
tool
s
.
produc
t
()
commit
|
commitdiff
|
tree
2008-02-22
ray
m
o
n
d
.
hett
i
nger
Doc
u
ment
itert
o
ol
s
.
product()
.
commit
|
commitdiff
|
tree
2008-02-22
raymond
.
h
e
tti
n
ger
First dra
f
t for itertools
.
product()
.
D
ocs
a
nd ot
h
er
.
.
.
commit
|
commitdiff
|
tree
2008-02-21
raymond
.
hettinger
Update more inst
a
nces of
has_
k
ey
(
)
.
commit
|
commitdiff
|
tree
2008-02-16
raymond
.
het
t
i
n
ger
Ad
d
__al
l
__ to logging module
.
commit
|
commitdiff
|
tree
2008-02-15
raymond
.
het
t
inger
U
pdate e
x
amp
l
e
to
m
at
c
h
t
he cur
r
e
nt s
y
n
tax
.
commit
|
commitdiff
|
tree
2008-02-14
raymond
.
hettinger
No
need t
o
reg
i
ste
r
s
ubc
l
ass of ABCs
.
commit
|
commitdiff
|
tree
2008-02-14
raymond
.
hetting
e
r
Fix marku
p
commit
|
commitdiff
|
tree
2008-02-14
raymond
.
hettinger
Si
m
pli
f
y moneyfmt() recipe
.
commit
|
commitdiff
|
tree
2008-02-14
raymond
.
hettinger
F
ix markup
.
commit
|
commitdiff
|
tree
2008-02-14
raymo
n
d
.
hetti
n
ger
Show how to remove expon
e
nts
.
commit
|
commitdiff
|
tree
2008-02-14
r
a
ymond
.
h
etting
e
r
Improve
rst markup
commit
|
commitdiff
|
tree
2008-02-14
raymond
.
hettinger
A
dd fixed-point e
x
ample
s
t
o
the decimal FAQ
commit
|
commitdiff
|
tree
2008-02-14
r
aymon
d
.
hettinger
Add diagnostic me
s
sage to help figure-out w
h
y Socke
t
Serv
e
r
.
.
.
commit
|
commitdiff
|
tree
2008-02-14
r
a
ymond
.
h
e
t
t
inger
Fix decimal repr whic
h
s
h
ould have u
s
ed single quotes
.
.
.
commit
|
commitdiff
|
tree
2008-02-14
raymo
n
d
.
hettinger
Updat
e
note
s
on Decima
l
.
commit
|
commitdiff
|
tree
2008-02-12
raymond
.
he
t
tinger
dict
.
c
o
py(
)
rises from
the ashes
.
Rev
e
rt r60687
.
commit
|
commitdiff
|
tree
2008-02-12
r
a
ymond
.
hettinger
Bring dec
i
mal a bit closer
t
o the spec for Reals
.
commit
|
commitdiff
|
tree
2008-02-12
r
a
ymond
.
h
e
t
tinger
Fix
t
y
p
o
in co
m
ments
commit
|
commitdiff
|
tree
2008-02-12
raymond
.
hettinger
Restore
fr
a
c
t
i
ons
.
rst to th
e
document t
r
ee
.
commit
|
commitdiff
|
tree
2008-02-11
raymond
.
hettinger
Backp
o
rt
ABC docs
commit
|
commitdiff
|
tree
2008-02-11
raymon
d
.
het
t
inger
Fix markup
commit
|
commitdiff
|
tree
2008-02-11
r
a
y
m
ond
.
hettinger
Ad
d
no
t
es on how decimal fits into the
m
ode
l
.
commit
|
commitdiff
|
tree
2008-02-11
raymo
n
d
.
h
e
ttinger
Add tests
fo
r
pickletools
.
op
t
imize()
.
commit
|
commitdiff
|
tree
2008-02-11
ra
y
mond
.
hetti
n
ger
No need
to reg
i
ster classes that already inherit from
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
ra
y
mond
.
het
t
i
nger
Complete an open
to
d
o on
p
i
c
kleto
o
ls -- add a
p
ic
k
le
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
raym
o
n
d
.
h
e
ttinge
r
Cl
a
ri
f
y
that decimal also supports fixed-point arithme
t
i
c
.
commit
|
commitdiff
|
tree
2008-02-09
raymond
.
hettinger
Tempor
a
rily disable
this test
.
It's been broken for
.
.
.
commit
|
commitdiff
|
tree
2008-02-09
ray
m
ond
.
he
t
ti
n
ger
Metaclass declaration is inheri
t
ed
commit
|
commitdiff
|
tree
2008-02-09
r
a
y
mond
.
he
t
tinger
Add -3
warnings that set
.
c
o
p
y(), dict
.
copy(),
an
d
defaultdi
c
.
.
.
commit
|
commitdiff
|
tree
next