- 25 Feb, 2009 5 commits
-
-
Tarek Ziadé authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69976 | tarek.ziade | 2009-02-25 23:29:27 +0100 (Wed, 25 Feb 2009) | 1 line Fixed #5316 : test failure in test_site ........
-
Mark Dickinson authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69974 | mark.dickinson | 2009-02-25 20:29:50 +0000 (Wed, 25 Feb 2009) | 3 lines Replace long with twodigits, to avoid depending on sizeof(digit) < sizeof(long) ........
-
Jeffrey Yasskin authored
This patch by Antoine Pitrou optimizes the bytecode for conditional branches by merging the following "POP_TOP" instruction into the conditional jump. For example, the list comprehension "[x for x in l if not x]" produced the following bytecode: 1 0 BUILD_LIST 0 3 LOAD_FAST 0 (.0) >> 6 FOR_ITER 23 (to 32) 9 STORE_FAST 1 (x) 12 LOAD_FAST 1 (x) 15 JUMP_IF_TRUE 10 (to 28) 18 POP_TOP 19 LOAD_FAST 1 (x) 22 LIST_APPEND 2 25 JUMP_ABSOLUTE 6 >> 28 POP_TOP 29 JUMP_ABSOLUTE 6 >> 32 RETURN_VALUE but after the patch it produces the following bytecode: 1 0 BUILD_LIST 0 3 LOAD_FAST 0 (.0) >> 6 FOR_ITER 18 (to 27) 9 STORE_FAST 1 (x) 12 LOAD_FAST 1 (x) 15 POP_JUMP_IF_TRUE 6 18 LOAD_FAST 1 (x) 21 LIST_APPEND 2 24 JUMP_ABSOLUTE 6 >> 27 RETURN_VALUE Notice that not only the code is shorter, but the conditional jump (POP_JUMP_IF_TRUE) jumps right to the start of the loop instead of going through the JUMP_ABSOLUTE at the end. "continue" statements are helped similarly. Furthermore, the old jump opcodes (JUMP_IF_FALSE, JUMP_IF_TRUE) have been replaced by two new opcodes: - JUMP_IF_TRUE_OR_POP, which jumps if true and pops otherwise - JUMP_IF_FALSE_OR_POP, which jumps if false and pops otherwise
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 24 Feb, 2009 6 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
be called, not just parents. Add a comparison to getattr() which has the same search order but also includes the type itself.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
Needs to be backported to 2.6, 2.7, and 3.0.
-
Raymond Hettinger authored
-
Benjamin Peterson authored
........ r69870 | antoine.pitrou | 2009-02-22 11:25:52 -0600 (Sun, 22 Feb 2009) | 3 lines Try to make sense of the test_site buildbot failures ........ r69871 | antoine.pitrou | 2009-02-22 12:20:46 -0600 (Sun, 22 Feb 2009) | 3 lines Revert debugging statements, culprit is possibly test_distutils (see #5316) ........ r69908 | raymond.hettinger | 2009-02-23 13:32:55 -0600 (Mon, 23 Feb 2009) | 1 line Update itertools recipes to use next(). ........
-
- 23 Feb, 2009 5 commits
-
-
Raymond Hettinger authored
-
Tarek Ziadé authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69902 | tarek.ziade | 2009-02-23 13:41:29 +0100 (Mon, 23 Feb 2009) | 1 line more test coverage ........
-
Georg Brandl authored
........ r69896 | georg.brandl | 2009-02-23 11:24:23 +0100 (Mo, 23 Feb 2009) | 1 line #5348: format() converts all kinds of values. ........
-
Georg Brandl authored
-
Benjamin Peterson authored
-
- 22 Feb, 2009 6 commits
-
-
Matthias Klose authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69889 | matthias.klose | 2009-02-23 00:14:26 +0100 (Mo, 23 Feb 2009) | 2 lines - Link the shared python library with $(MODLIBS). ........
-
Tarek Ziadé authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69881 | tarek.ziade | 2009-02-22 21:15:41 +0100 (Sun, 22 Feb 2009) | 1 line Removing unused __main__ sections ........
-
Tarek Ziadé authored
........ r69878 | tarek.ziade | 2009-02-22 21:11:46 +0100 (Sun, 22 Feb 2009) | 1 line removing map and lambda usage, so the test is similar to py3k's branch one ........
-
Tarek Ziadé authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69874 | tarek.ziade | 2009-02-22 20:58:12 +0100 (Sun, 22 Feb 2009) | 1 line moved distutils.text_file tests into a real unittest class ........
-
Matthias Klose authored
-
Tarek Ziadé authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69861 | tarek.ziade | 2009-02-22 01:07:45 +0100 (Sun, 22 Feb 2009) | 1 line using versionchanged instead of versionadded for distutils doc on sdist default files ........
-
- 21 Feb, 2009 13 commits
-
-
Raymond Hettinger authored
-
Benjamin Peterson authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69855 | benjamin.peterson | 2009-02-21 17:09:33 -0600 (Sat, 21 Feb 2009) | 1 line fix compiler warnings ........
-
Brett Cannon authored
-
Benjamin Peterson authored
........ r69837 | raymond.hettinger | 2009-02-21 01:17:22 -0600 (Sat, 21 Feb 2009) | 4 lines Fix keyword arguments for itertools.count(). Step arg without a start arg was ignored. ........ r69838 | raymond.hettinger | 2009-02-21 02:58:42 -0600 (Sat, 21 Feb 2009) | 1 line Speedup and simplify negative counter using count's new step argument. ........
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Mark Dickinson authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69846 | mark.dickinson | 2009-02-21 20:27:01 +0000 (Sat, 21 Feb 2009) | 2 lines Issue #5341: Fix a variety of spelling errors. ........
-
Brett Cannon authored
are source-only and source/bytecode loaders.
-
Brett Cannon authored
protocol API.
-
Brett Cannon authored
-
Brett Cannon authored
+ Ditch using arguments to super(). + Ditch subclassing from object directly. + Move directory check out of chaining path hook to file path hook/finder. + Rename some classes to better reflect they are finders, not importers.
-
Brett Cannon authored
-
Brett Cannon authored
-
- 20 Feb, 2009 5 commits
-
-
Mark Dickinson authored
-
Mark Dickinson authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69816 | mark.dickinson | 2009-02-20 20:42:53 +0000 (Fri, 20 Feb 2009) | 2 lines Issue #5295: Typos in turtle.py ........
-
Eric Smith authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69806 | eric.smith | 2009-02-20 09:02:36 -0500 (Fri, 20 Feb 2009) | 1 line Issue #5247: Improve error message when unknown format codes are used when using str.format() with str, int, and float arguments. ........
-
Benjamin Peterson authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69415 | benjamin.peterson | 2009-02-07 13:08:22 -0600 (Sat, 07 Feb 2009) | 1 line make destinsrc private ........ r69591 | martin.v.loewis | 2009-02-13 14:26:16 -0600 (Fri, 13 Feb 2009) | 1 line Update Tix build procedure. ........ r69593 | martin.v.loewis | 2009-02-13 14:51:48 -0600 (Fri, 13 Feb 2009) | 1 line Add optional code signing after merging. ........
-
Benjamin Peterson authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69769 | georg.brandl | 2009-02-19 02:30:06 -0600 (Thu, 19 Feb 2009) | 1 line #5310, #3558: fix operator precedence table. ........ r69776 | georg.brandl | 2009-02-19 10:34:51 -0600 (Thu, 19 Feb 2009) | 2 lines #5317: update IronPython URL. ........
-