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 1592: Better error reporting for operations on closed shelves.
2008-07-25
raymond
.
h
ettinger
Issue 1592: Be
t
ter error r
e
portin
g
fo
r
operations
.
.
.
commit
|
commitdiff
|
tree
2008-07-24
r
aymond
.
hettinger
Co
n
vert from long to Py_ssize_t
.
commit
|
commitdiff
|
tree
2008-07-24
raymond
.
hetting
e
r
Finish conver
s
ion from int to Py_ssize_t
.
commit
|
commitdiff
|
tree
2008-07-24
ray
m
ond
.
hettinger
Parse to
t
he correct datatyp
e
.
commit
|
commitdiff
|
tree
2008-07-24
raymond
.
het
t
inger
Finish-up the
p
a
r
tial conversion fro
m
int to Py_ssize_t
.
.
.
commit
|
commitdiff
|
tree
2008-07-22
ra
y
mond
.
hett
i
nger
One
mo
r
e
a
ttribution
.
commit
|
commitdiff
|
tree
2008-07-22
raymond
.
hettinger
Fix cred
i
ts for mat
h
.
sum()
commit
|
commitdiff
|
tree
2008-07-22
raymon
d
.
h
ettin
g
er
Tuples now h
a
ve both
coun
t
() and
i
ndex()
.
commit
|
commitdiff
|
tree
2008-07-22
raymond
.
he
t
tinger
Remov
e
o
ut-of-dat
e
section on
E
xact
/
I
nexac
t
.
commit
|
commitdiff
|
tree
2008-07-19
r
a
ymond
.
hetti
n
ger
Clean-up iter
t
ools
docs and
r
e
cipes
.
commit
|
commitdiff
|
tree
2008-07-19
raymond
.
hetti
n
ger
Fix compress() reci
p
e i
n
do
c
s to use itert
o
ols
.
commit
|
commitdiff
|
tree
2008-07-19
raym
o
nd
.
hettinge
r
Ad
d
rec
i
pe
to
the it
e
rtools docs
.
commit
|
commitdiff
|
tree
2008-07-19
ra
y
mond
.
hettinger
Improve ac
c
u
r
ac
y
of ga
m
ma test fun
c
tion
commit
|
commitdiff
|
tree
2008-07-11
raymond
.
het
t
inger
Ad
d
cautionary
note on
t
he use
of PySeque
n
ce
_
Fas
t
_ITE
M
S
.
commit
|
commitdiff
|
tree
2008-07-10
r
a
ymon
d
.
hettinger
Suppress -3 warnings in unittest
.
py
commit
|
commitdiff
|
tree
2008-07-10
r
aymond
.
hetti
n
ger
Clear t
h
e -
3
wa
r
nin
g
s in optparse
.
p
y
commit
|
commitdiff
|
tree
2008-07-10
raymond
.
hettinger
Is
s
ue 32
8
5
: Frac
t
ions
f
rom_
f
loat(
)
a
nd
f
r
om_decimal
.
.
.
commit
|
commitdiff
|
tree
2008-07-10
ray
m
ond
.
h
ettinger
Issue 3301
:
Bisect funct
i
on
s
behaved badly wh
e
n lo
.
.
.
commit
|
commitdiff
|
tree
2008-07-10
raymond
.
h
e
ttinger
Use operato
r
.
index
(
) instead of
n
.
__ind
e
x__()
.
commit
|
commitdiff
|
tree
2008-07-10
raym
o
nd
.
hettinger
Issue 328
7
: Raise correct ex
c
e
ption for float
i
n
p
ut
s
.
commit
|
commitdiff
|
tree
2008-07-05
raymond
.
hettinger
Upda
t
e
comment
o
n prediction macr
o
s
.
commit
|
commitdiff
|
tree
2008-06-28
raymond
.
het
t
inger
Issue
3230
:
Do
not the set
spe
c
ific size ma
c
ro
.
commit
|
commitdiff
|
tree
2008-06-27
raymond
.
he
t
t
in
g
er
Fix whitespace in example code
.
commit
|
commitdiff
|
tree
2008-06-24
raymond
.
hetting
e
r
Revert
6
4424, 64
4
38, and 64439
.
commit
|
commitdiff
|
tree
2008-06-24
r
a
ymond
.
hettinger
Issue 3189: Py3k Depre
c
a
tionWarning in
dif
f
lib
commit
|
commitdiff
|
tree
2008-06-23
raym
o
n
d
.
hett
i
nge
r
I
s
sue 316
1
: Mis
s
ing impo
r
t
and test
.
commit
|
commitdiff
|
tree
2008-06-21
ray
m
ond
.
het
t
i
nger
Issue 30
0
8: hex/oct/b
i
n can show floats exa
c
tly
.
commit
|
commitdiff
|
tree
2008-06-20
raymond
.
hett
i
nger
Make bin() i
m
plem
e
ntation
p
arallel oct
(
) a
n
d
hex()
.
.
.
commit
|
commitdiff
|
tree
2008-06-18
r
aymond
.
hettinger
Fix double decref
.
commit
|
commitdiff
|
tree
2008-06-16
raymond
.
hettinger
Is
s
ue 3116:
f
i
x
qu
a
d
r
atic behavior in
m
ars
h
al
.
dumps()
.
commit
|
commitdiff
|
tree
2008-06-11
ra
y
mon
d
.
hetting
e
r
Add test for heap
q
u
sing bo
t
h __lt__ and __le
_
_
.
commit
|
commitdiff
|
tree
2008-06-11
r
a
ymond
.
hettinger
Optimize p
r
evious checkin
f
or
heapq
.
commit
|
commitdiff
|
tree
2008-06-11
raymond
.
h
e
ttinger
Issue 3051: Let heapq work
with either
__l
t
__ or __le__
.
commit
|
commitdiff
|
tree
2008-06-11
raymond
.
hettinger
Mult
i
-arg form for set
.
diff
e
re
n
ce() and set
.
differenc
e
_update()
.
commit
|
commitdiff
|
tree
2008-06-11
raymon
d
.
he
t
tinger
H
a
n
dl
e
the case with ze
r
o arguments
.
commit
|
commitdiff
|
tree
2008-06-11
r
a
ymond
.
hettinger
Update n
u
mbers doc for the
I
ntegra
l
simplification
.
commit
|
commitdiff
|
tree
2008-06-11
ray
m
ond
.
hettinger
Min
i
-PE
P
: Simp
l
ify
i
ng number
s
.
py
commit
|
commitdiff
|
tree
2008-06-10
r
a
ymo
n
d
.
hettin
g
er
Add Arnaud fo
r
his eff
o
rt
s
o
n
multi-arg s
e
t
operations
.
commit
|
commitdiff
|
tree
2008-06-09
ray
m
ond
.
hettinger
Let
set
.
intersection() and set
.
i
n
terse
c
t
ion_upda
t
e
.
.
.
commit
|
commitdiff
|
tree
2008-06-09
raym
o
nd
.
hettinger
Unhappy build
b
ot
s
.
Reve
r
t 64
0
52
.
Long doubles
h
ave
.
.
.
commit
|
commitdiff
|
tree
2008-06-09
raymond
.
h
e
t
tinge
r
Add
r
ess do
u
ble-rounding
scenarios
b
y
setting all
v
ariables
.
.
.
commit
|
commitdiff
|
tree
2008-06-09
raymond
.
het
t
ing
e
r
Let s
e
t
.
union
(
)
a
nd se
t
.
update() acc
e
p
t multiple inputs
.
commit
|
commitdiff
|
tree
2008-06-09
r
a
ym
o
nd
.
h
e
tti
n
ge
r
Iss
u
e #2138: Add mat
h
.
factorial(
)
.
commit
|
commitdiff
|
tree
2008-06-09
ra
y
mond
.
h
ettinger
Is
s
ue3065: Fi
x
ed picklin
g
of named tuples
.
Ad
d
ed
.
.
.
commit
|
commitdiff
|
tree
2008-06-06
raymond
.
hett
i
nger
Issue 3
5
01: Make heapq sup
p
ort
b
oth __le_
_
and __l
t
__
.
commit
|
commitdiff
|
tree
2008-05-31
raym
o
nd
.
hetti
n
g
e
r
Imple
m
ent he
a
p
q
in te
r
ms of less-than (to match li
s
t
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
raymond
.
h
ettinger
* Mark int
e
rm
e
didat
e
computes val
u
es (h
i
, l
o
,
y
r) a
s
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
raym
o
nd
.
hettinger
Issue
2
90
3
:
A
dd
__n
a
me__ in globals for namedtuple
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
raymond
.
hettinger
I
s
sue 2855: Fix obscure crasher by slowing down the
.
.
.
commit
|
commitdiff
|
tree
2008-05-30
r
a
ymond
.
h
ettinger
Issue 2784: fix
l
eaks i
n
exceptio
n
exit
.
commit
|
commitdiff
|
tree
2008-05-29
raymon
d
.
hett
i
nger
Fix two typos
.
commit
|
commitdiff
|
tree
2008-05-23
ra
y
mon
d
.
hettinger
Fix typ
o
commit
|
commitdiff
|
tree
2008-05-23
raymon
d
.
het
t
ing
e
r
Issue 2909: show
h
ow to na
m
e u
n
pa
c
ked fields
.
commit
|
commitdiff
|
tree
2008-05-23
raymond
.
het
t
inger
T
weak
t
h
e
comments and
formatting
.
commit
|
commitdiff
|
tree
2008-05-23
raymond
.
hettin
g
er
D
o
cs
f
or Iss
u
e 2
8
19
.
commit
|
commitdiff
|
tree
2008-05-17
ray
m
ond
.
he
t
tinger
Fix-up
d
ocstring
commit
|
commitdiff
|
tree
2008-05-08
raym
o
nd
.
het
t
inger
Issue 2
7
78
.
Document the temporary f
r
ozense
t
sw
a
p
.
.
.
commit
|
commitdiff
|
tree
2008-05-08
r
a
ymond
.
hettinger
F
ix-up the enume
r
ate ty
p
e
e
xample and
move
it to t
h
e
.
.
.
commit
|
commitdiff
|
tree
2008-05-08
raymond
.
he
t
tinger
T
h
e __all__ var
i
able forgot to
e
xpose the gc
d
() functio
n
.
commit
|
commitdiff
|
tree
2008-05-08
r
a
ymond
.
hettinger
Frozens
e
ts
do no
t
benefit from autoconversion
.
commit
|
commitdiff
|
tree
2008-04-17
raymond
.
het
t
inger
Issue 26
4
8: Add leading
zero
to money format recipe
.
.
.
commit
|
commitdiff
|
tree
2008-03-29
ra
y
mond
.
he
t
tinger
Be exp
l
icit about what
e
ff
i
cient mea
n
s
.
commit
|
commitdiff
|
tree
2008-03-24
raymond
.
hettin
g
er
Issu
e
2460
:
Make Ellipsis objects copyable
.
commit
|
commitdiff
|
tree
2008-03-24
raymond
.
hettinger
T
i
ghten documen
t
ation fo
r
Random
.
t
ria
n
gular
.
commit
|
commitdiff
|
tree
2008-03-23
raymond
.
h
e
ttinger
Ad
o
pt N
i
ck's suggest
i
on fo
r
useful default a
r
gume
n
ts
.
commit
|
commitdiff
|
tree
2008-03-23
r
a
ymon
d
.
he
t
ti
n
ger
Issu
e
1681432:
A
dd triangular distribution
t
he random
.
.
.
commit
|
commitdiff
|
tree
2008-03-23
raymon
d
.
h
e
t
tinger
Simplify demo code
.
commit
|
commitdiff
|
tree
2008-03-19
raymon
d
.
hettinge
r
Remove u
n
nece
s
sary trac
e
back save/res
t
ore pai
r
.
commit
|
commitdiff
|
tree
2008-03-19
raymond
.
h
e
ttinger
Remove itertool
s
w
arnin
g
s
I ha
d
a
d
ded b
e
f
o
re the 2
.
.
.
commit
|
commitdiff
|
tree
2008-03-19
raymond
.
hettinger
T
he filter(
)
f
unction do
e
s sup
p
ort a None argument
.
.
.
commit
|
commitdiff
|
tree
2008-03-19
r
aymond
.
h
e
t
tinger
Iss
u
e 2354: Fix-up com
p
a
re warning
.
Pa
t
ch
contri
b
uted
.
.
.
commit
|
commitdiff
|
tree
2008-03-19
r
a
ymond
.
hettinger
F
ix
c
ompiler war
n
ing
.
commit
|
commitdiff
|
tree
2008-03-18
raymond
.
he
t
tinge
r
Issue: 2
3
5
4
: Add
3
K warning for
th
e
cmp argument
t
o
.
.
.
commit
|
commitdiff
|
tree
2008-03-18
r
a
y
mond
.
hettinger
S
peed-
u
p isinstance() for one ea
s
y case
.
commit
|
commitdiff
|
tree
2008-03-16
raymond
.
hettinger
U
pdate docs to reflect removal of Exact/Inexact
commit
|
commitdiff
|
tree
2008-03-15
raymond
.
het
t
inge
r
Zap one mo
r
e us
e
of Exact/Inexac
t
.
commit
|
commitdiff
|
tree
2008-03-15
raymo
n
d
.
hettinger
Rem
o
ved
E
xact/I
n
exact
after discussion with Yassk
i
n
.
commit
|
commitdiff
|
tree
2008-03-14
raymond
.
hettinger
Leave heapre
p
lace() unchanged
.
commit
|
commitdiff
|
tree
2008-03-13
r
a
y
m
ond
.
h
e
ttinge
r
Simplify the nlar
g
est
(
) co
d
e using heapp
u
s
h
pop()
.
commit
|
commitdiff
|
tree
2008-03-13
raymond
.
h
ettinger
Issue 2274:
A
dd heapq
.
heappushpop()
.
commit
|
commitdiff
|
tree
2008-03-13
raym
o
nd
.
hett
i
nger
Co
n
sistent tense
.
commit
|
commitdiff
|
tree
2008-03-13
raymond
.
hettinger
Add 2-to-3 support fo
r
th
e
it
e
r
tools mo
v
ed to builtins
.
.
.
commit
|
commitdiff
|
tree
2008-03-11
raymo
n
d
.
hettinger
Impr
o
v
e
d
o
cs for i
t
em
g
et
t
er(
)
.
Show t
h
at it work
s
.
.
.
commit
|
commitdiff
|
tree
2008-03-11
raymond
.
hetting
e
r
Add recipe
t
o docs
.
commit
|
commitdiff
|
tree
2008-03-07
raymond
.
hettinger
Twea
k
r
e
cip
e
s and t
e
sts
commit
|
commitdiff
|
tree
2008-03-06
raym
o
nd
.
h
e
ttinger
Issue
224
6
: itertools
g
r
ou
p
e
r
ob
j
ect d
i
d
n
ot participa
t
e
.
.
.
commit
|
commitdiff
|
tree
2008-03-06
r
aymond
.
hettinger
More tests
.
commit
|
commitdiff
|
tree
2008-03-06
r
a
ymond
.
h
ettinger
A
d
d examples
.
commit
|
commitdiff
|
tree
2008-03-05
ray
m
o
nd
.
hettinger
S
m
all cod
e
cleanup
.
commit
|
commitdiff
|
tree
2008-03-05
raymond
.
he
t
tinger
C implementation of itertools
.
permutat
i
ons(
)
.
commit
|
commitdiff
|
tree
2008-03-04
r
ay
m
ond
.
hettinger
Fix
refleak in chain()
.
commit
|
commitdiff
|
tree
2008-03-04
ray
m
o
nd
.
hettinger
Beef-up d
o
cs and
tests
for itert
o
o
l
s
.
Fix-u
p
e
n
d
-
case
.
.
.
commit
|
commitdiff
|
tree
2008-03-03
raymond
.
hettinger
Issue 22
2
6: Ca
l
lable
c
hecked for the wrong abstra
c
t
.
.
.
commit
|
commitdiff
|
tree
2008-03-03
raymo
n
d
.
hetti
n
ger
Remov
e
dependen
c
y on it
e
rtools -
-
a simple genexp suffices
.
commit
|
commitdiff
|
tree
2008-03-02
r
aymond
.
hetti
n
ger
Handle 0-tup
l
es which c
a
n be single
t
on
s
.
commit
|
commitdiff
|
tree
2008-03-02
raymond
.
h
e
tti
n
ger
Simpli
f
y co
d
e fo
r
i
t
ertools
.
pro
d
u
ct()
.
commit
|
commitdiff
|
tree
2008-03-02
raymond
.
het
t
inge
r
Tighten examp
l
e code
.
commit
|
commitdiff
|
tree
2008-03-02
ray
m
o
n
d
.
het
t
inger
F
i
n
i
sh-u
p
docs for combin
a
tions()
and permutati
o
ns
.
.
.
commit
|
commitdiff
|
tree
2008-02-29
raymon
d
.
hetti
n
ger
Handl
e
the repeat keyword
a
rgument for itertools
.
product()
.
commit
|
commitdiff
|
tree
2008-02-28
raymond
.
hettinger
Add alternate constructor
for itertools
.
chain()
.
commit
|
commitdiff
|
tree
next