Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
7451a72e2ba8939215324387e36285725632e637
/
Lib
/
test
/
test_peepholer.py
570942e
#5057: null merge with 3.2 (only add tests).
by Ezio Melotti
· 12 years ago
6c5f521
#5057: the peepholer no longer optimizes subscription on unicode literals (e.g. u"foo"[0]) in order to produce compatible pyc files between narrow and wide builds.
by Ezio Melotti
· 12 years ago
d63a3b8
Implement PEP 393.
by Martin v. Löwis
· 13 years ago
e1adeeb
#5057: Merge with 3.2.
by Ezio Melotti
· 13 years ago
71e84a6
#5057: Merge with 3.1.
by Ezio Melotti
· 13 years ago
2df6a93
Issue #5057: fix a bug in the peepholer that led to non-portable pyc files between narrow and wide builds while optimizing BINARY_SUBSCR on non-BMP chars (e.g. "\U00012345"[0]).
by Ezio Melotti
· 13 years ago
7c9e803
Issue #11244: Remove outdated peepholer check that was preventing the peepholer from folding -0 and -0.0. Thanks Eugene Toder for the patch.
by Mark Dickinson
· 13 years ago
29dcaad
Issue 11510: Fix BUILD_SET optimizer bug.
by Raymond Hettinger
· 13 years ago
5bd75b8
whitespace fix
by Raymond Hettinger
· 13 years ago
f932f74
whitespace fix
by Raymond Hettinger
· 13 years ago
0661e91
Issue 11510: Fix BUILD_SET optimizer bug.
by Raymond Hettinger
· 13 years ago
17b880a
Issue #11244: The peephole optimizer is now able to constant-fold
by Antoine Pitrou
· 13 years ago
577473f
use assert[Not]In where appropriate
by Benjamin Peterson
· 15 years ago
b7fbcd3
Issue #6690: Optimize the bytecode for expressions such as `x in {1, 2, 3}`,
by Antoine Pitrou
· 15 years ago
af7adad
Peephole constant folding had missed UNARY_POSITIVE.
by Raymond Hettinger
· 15 years ago
ab91fde
Merged revisions 73715 via svnmerge from
by Georg Brandl
· 15 years ago
c9c0f20
convert old fail* assertions to assert*
by Benjamin Peterson
· 15 years ago
9de7ec7
http://bugs.python.org/issue4715
by Jeffrey Yasskin
· 16 years ago
ee8712c
#2621 rename test.test_support to test.support
by Benjamin Peterson
· 16 years ago
34d1928
SF patch# 1770008 by Christian Heimes (plus some extras).
by Guido van Rossum
· 17 years ago
cd16bf6
Merged revisions 55817-55961 via svnmerge from
by Guido van Rossum
· 17 years ago
805365e
Merged revisions 55007-55179 via svnmerge from
by Guido van Rossum
· 17 years ago
d8faa36
Merged revisions 53952-54987 via svnmerge from
by Guido van Rossum
· 17 years ago
0240b92
Two more patches by Tony Lownds (SF# 1607548).
by Guido van Rossum
· 18 years ago
be19ed7
Fix most trivially-findable print statements.
by Guido van Rossum
· 18 years ago
89f507f
Four months of trunk changes (including a few releases...)
by Thomas Wouters
· 18 years ago
8b6de13
UNARY_CONVERT can no longer be generated, so remove a test for the peepholer
by Brett Cannon
· 18 years ago
afd842f
Teach the peepholer to fold unary operations on constants.
by Raymond Hettinger
· 20 years ago
64d904b
Remove set conversion optimization test (backed out of Python/compile.c in rev.
by Brett Cannon
· 20 years ago
7fcb786
Adopt Skip's idea to optimize lists of constants in the context
by Raymond Hettinger
· 20 years ago
a164574
Transform "x in (1,2,3)" to "x in frozenset([1,2,3])".
by Raymond Hettinger
· 20 years ago
9feb267
Do not fold a constant if a large sequence will result.
by Raymond Hettinger
· 20 years ago
922b3e2
Remove test for BINARY_DIVIDE.
by Raymond Hettinger
· 20 years ago
c34f867
Teach the peephole optimizer to fold simple constant expressions.
by Raymond Hettinger
· 20 years ago
5dec096
Maintain peepholer's cumlc invariant by updating the running total
by Raymond Hettinger
· 20 years ago
23109ef
SF bug #1053819: Segfault in tuple_of_constants
by Raymond Hettinger
· 20 years ago
2c31a05
SF patch #1031667: Fold tuples of constants into a single constant
by Raymond Hettinger
· 20 years ago
66cb018
Whitespace normalization.
by Tim Peters
· 20 years ago
fd2d1f7
SF Patch #1013667: Cleanup Peepholer Output
by Raymond Hettinger
· 20 years ago