summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Expose importlib.util.set___package__.Brett Cannon2009-03-024-35/+77
|
* Fixed typo.Hirokazu Yamamoto2009-03-021-1/+1
|
* Merged revisions 70094 via svnmerge fromTarek Ziadé2009-03-022-43/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70094 | tarek.ziade | 2009-03-02 06:38:44 +0100 (Mon, 02 Mar 2009) | 1 line removing the force-optimized option as discussed in #1533164 ........
* Merged revisions 70090 via svnmerge fromGregory P. Smith2009-03-023-9/+24
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70090 | gregory.p.smith | 2009-03-01 21:13:57 -0800 (Sun, 01 Mar 2009) | 3 lines Adds an optional flags argument to re.split, re.sub and re.subn to be consistent with the other re module functions. ........
* Merged r70088 from trunk (re documentation update)Gregory P. Smith2009-03-021-8/+12
|
* Fix docs for ConfigParser.Raymond Hettinger2009-03-011-2/+2
|
* Blocked revisions 70078 via svnmergeGeorg Brandl2009-02-280-0/+0
| | | | | | | | ........ r70078 | georg.brandl | 2009-02-28 22:33:10 +0100 (Sa, 28 Feb 2009) | 2 lines Fix 3k-style metaclass syntax in docstrings. ........
* Blocked revisions 70071 via svnmergeJeffrey Yasskin2009-02-280-0/+0
| | | | | | | | | | | ........ r70071 | jeffrey.yasskin | 2009-02-28 11:03:21 -0800 (Sat, 28 Feb 2009) | 5 lines Backport r69961 to trunk, replacing JUMP_IF_{TRUE,FALSE} with POP_JUMP_IF_{TRUE,FALSE} and JUMP_IF_{TRUE,FALSE}_OR_POP. This avoids executing a POP_TOP on each conditional and sometimes allows the peephole optimizer to skip a JUMP_ABSOLUTE entirely. It speeds up list comprehensions significantly. ........
* Fix 2 oversights from r69961.Jeffrey Yasskin2009-02-281-3/+5
|
* #4967 fix buggy read()Benjamin Peterson2009-02-281-36/+33
|
* Merged revisions 70062 via svnmerge fromMark Dickinson2009-02-281-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70062 | mark.dickinson | 2009-02-28 15:50:40 +0000 (Sat, 28 Feb 2009) | 2 lines Issue #5393: typo in cmath.cos and cmath.cosh docstring ........
* Merged revisions 70056 via svnmerge fromHirokazu Yamamoto2009-02-283-1/+32
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70056 | hirokazu.yamamoto | 2009-02-28 21:13:07 +0900 | 2 lines Issue #1733986: Fixed mmap crash in accessing elements of second map object with same tagname but larger size than first map. (Windows) ........
* Merged revisions 70052 via svnmerge fromHirokazu Yamamoto2009-02-283-4/+52
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70052 | hirokazu.yamamoto | 2009-02-28 19:31:54 +0900 | 2 lines Issue #5386: mmap.write_byte didn't check map size, so it could cause buffer overrun. ........
* Merged revisions 70049 via svnmerge fromTarek Ziadé2009-02-283-6/+184
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70049 | tarek.ziade | 2009-02-28 11:08:02 +0100 (Sat, 28 Feb 2009) | 1 line Issues #1533164 and #5378: Added quiet and force-optimize options to Distutils bdist_rpm command ........
* Blocked revisions 70011,70016 via svnmergeBenjamin Peterson2009-02-270-0/+0
| | | | | | | | | | | | | | | ........ r70011 | brett.cannon | 2009-02-26 21:38:28 -0600 (Thu, 26 Feb 2009) | 5 lines Fix a bug where code was trying to index an int. Left over from the situation from using str.rpartition to str.rindex. Closes Issue5213. ........ r70016 | raymond.hettinger | 2009-02-27 02:09:47 -0600 (Fri, 27 Feb 2009) | 1 line Give mapping views a usable repr. ........
* another instance of #804543: use strdup() when saving the result of ↵Georg Brandl2009-02-271-1/+2
| | | | setlocale() because it could be overwritten by subsequent setlocale()s.
* #5360: replace PyObject_HEAD_INIT by PyVarObject_HEAD_INIT.Georg Brandl2009-02-272-6/+6
|
* #5360: remove RO which has been kicked from 3k.Georg Brandl2009-02-271-3/+0
|
* #5357: fix incomprehensible paragraph in urlopen() doc.Georg Brandl2009-02-271-11/+11
|
* Merged revisions 70017 via svnmerge fromTarek Ziadé2009-02-277-38/+186
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70017 | tarek.ziade | 2009-02-27 13:53:34 +0100 (Fri, 27 Feb 2009) | 1 line Issue #5052: make Distutils compatible with 2.3 again. ........
* Give mapping views a usable repr.Raymond Hettinger2009-02-271-0/+3
|
* Merged revisions 70007 via svnmerge fromTarek Ziadé2009-02-272-126/+157
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70007 | tarek.ziade | 2009-02-27 03:14:35 +0100 (Fri, 27 Feb 2009) | 1 line more info on long_description ........
* Merged revisions 70003 via svnmerge fromTarek Ziadé2009-02-261-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70003 | tarek.ziade | 2009-02-27 00:44:00 +0100 (Fri, 27 Feb 2009) | 1 line removed unused import ........
* Blocked revisions 70000 via svnmergeBenjamin Peterson2009-02-260-0/+0
| | | | | | | | ........ r70000 | benjamin.peterson | 2009-02-26 13:07:18 -0600 (Thu, 26 Feb 2009) | 1 line remove deprecated symtable.Symbol methods ........
* Merged revisions 69811,69947 via svnmerge fromBenjamin Peterson2009-02-264-1/+140
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69811 | collin.winter | 2009-02-20 13:30:41 -0600 (Fri, 20 Feb 2009) | 2 lines Issue 5176: special-case string formatting in BINARY_MODULO implementation. This shows a modest (1-3%) speed-up in templating systems, for example. ........ r69947 | jeffrey.yasskin | 2009-02-24 16:48:34 -0600 (Tue, 24 Feb 2009) | 3 lines Tools/scripts/analyze_dxp.py, a module with some helper functions to analyze the output of sys.getdxp(). ........
* Blocked revisions 69994 via svnmergeBenjamin Peterson2009-02-260-0/+0
| | | | | | | | ........ r69994 | georg.brandl | 2009-02-26 11:36:26 -0600 (Thu, 26 Feb 2009) | 1 line Document that setting sys.py3kwarning wont do anything. ........
* Merged revisions 69803-69805,69840,69901,69905,69907,69924,69927,69987 via ↵Benjamin Peterson2009-02-2612-23/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r69803 | georg.brandl | 2009-02-20 01:48:21 -0600 (Fri, 20 Feb 2009) | 1 line #5327: fix a broken link by joining it. ........ r69804 | georg.brandl | 2009-02-20 02:22:21 -0600 (Fri, 20 Feb 2009) | 1 line At least separate imports from other statements. ........ r69805 | georg.brandl | 2009-02-20 02:45:47 -0600 (Fri, 20 Feb 2009) | 2 lines Fix punctuation. ........ r69840 | georg.brandl | 2009-02-21 13:09:40 -0600 (Sat, 21 Feb 2009) | 1 line #5338, #5339: two types in the API manual. ........ r69901 | georg.brandl | 2009-02-23 05:24:46 -0600 (Mon, 23 Feb 2009) | 2 lines #5349: C++ pure virtuals can also have an implementation. ........ r69905 | georg.brandl | 2009-02-23 09:51:27 -0600 (Mon, 23 Feb 2009) | 2 lines #5352: str.count() counts non-overlapping instances. ........ r69907 | georg.brandl | 2009-02-23 12:33:48 -0600 (Mon, 23 Feb 2009) | 1 line Fix grammar. ........ r69924 | benjamin.peterson | 2009-02-23 20:45:35 -0600 (Mon, 23 Feb 2009) | 1 line update README on running tests ........ r69927 | neil.schemenauer | 2009-02-23 22:23:25 -0600 (Mon, 23 Feb 2009) | 1 line Fix call to os.waitpid, it does not take keyword args. ........ r69987 | benjamin.peterson | 2009-02-25 18:30:11 -0600 (Wed, 25 Feb 2009) | 1 line fix str.format()'s first arg #5371 ........
* Blocked revisions 69937,69946,69952-69953,69955,69959,69981,69983 via svnmergeBenjamin Peterson2009-02-260-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ........ r69937 | raymond.hettinger | 2009-02-24 06:23:23 -0600 (Tue, 24 Feb 2009) | 3 lines Backport 69934: Register xrange() as a Sequence. ........ r69946 | brett.cannon | 2009-02-24 16:01:02 -0600 (Tue, 24 Feb 2009) | 2 lines Expand upon test_site.test_s_option to try to debug its failure. ........ r69952 | raymond.hettinger | 2009-02-24 18:37:57 -0600 (Tue, 24 Feb 2009) | 1 line Sync-up py3.1 doc updates for super(). ........ r69953 | raymond.hettinger | 2009-02-24 18:39:47 -0600 (Tue, 24 Feb 2009) | 1 line Restore Py2.x version of sample call to super(). ........ r69955 | raymond.hettinger | 2009-02-24 18:52:37 -0600 (Tue, 24 Feb 2009) | 1 line More markup and spelling fixes. ........ r69959 | raymond.hettinger | 2009-02-24 19:06:52 -0600 (Tue, 24 Feb 2009) | 1 line Remove reference to zero argument form of super() in 2.x docs. ........ r69981 | raymond.hettinger | 2009-02-25 16:48:24 -0600 (Wed, 25 Feb 2009) | 1 line Clarify Counter() docs. ........ r69983 | raymond.hettinger | 2009-02-25 18:05:24 -0600 (Wed, 25 Feb 2009) | 1 line Fix typo. ........
* Fix typo.Raymond Hettinger2009-02-261-1/+1
|
* Sync-up 3.1 docs with 2.7 for collections.Counter().Raymond Hettinger2009-02-251-7/+6
|
* Merged revisions 69976 via svnmerge fromTarek Ziadé2009-02-253-6/+6
| | | | | | | | | | 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 ........
* Merged revisions 69974 via svnmerge fromMark Dickinson2009-02-251-1/+1
| | | | | | | | | | | 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) ........
* http://bugs.python.org/issue4715Jeffrey Yasskin2009-02-259-127/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* More markup and spelling fixes.Raymond Hettinger2009-02-251-6/+6
|
* Tweak markup, grammar, and punctuation.Raymond Hettinger2009-02-251-5/+5
|
* Revert unintended part of r69948. Pydoc was not supposed to change.Raymond Hettinger2009-02-241-10/+10
|
* Refine docs for super() noting that sibling classes canRaymond Hettinger2009-02-242-19/+23
| | | | | | be called, not just parents. Add a comparison to getattr() which has the same search order but also includes the type itself.
* Use ABCs to validate documented restriction to Sets or Sequences.Raymond Hettinger2009-02-241-3/+4
|
* range() should have been registered as a Sequence.Raymond Hettinger2009-02-242-0/+3
| | | | Needs to be backported to 2.6, 2.7, and 3.0.
* Fix-up random docs. Jumpahead was removed long ago. Other minor corrections.Raymond Hettinger2009-02-241-14/+4
|
* Blocked revisions 69870-69871,69908 via svnmergeBenjamin Peterson2009-02-240-0/+0
| | | | | | | | | | | | | | | | ........ 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(). ........
* Update itertools recipes to use next().Raymond Hettinger2009-02-231-4/+3
|
* Merged revisions 69902 via svnmerge fromTarek Ziadé2009-02-232-0/+150
| | | | | | | | | | 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 ........
* Blocked revisions 69896 via svnmergeGeorg Brandl2009-02-230-0/+0
| | | | | | | | ........ r69896 | georg.brandl | 2009-02-23 11:24:23 +0100 (Mo, 23 Feb 2009) | 1 line #5348: format() converts all kinds of values. ........
* #5348: format() converts all kinds of values.Georg Brandl2009-02-231-5/+6
|
* .pythonrc.py is no moreBenjamin Peterson2009-02-231-3/+0
|
* Merged revisions 69889 via svnmerge fromMatthias Klose2009-02-222-3/+5
| | | | | | | | | | 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). ........
* Merged revisions 69881 via svnmerge fromTarek Ziadé2009-02-222-9/+0
| | | | | | | | | | 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 ........
* Blocked revisions 69878 via svnmergeTarek Ziadé2009-02-220-0/+0
| | | | | | | | ........ 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 ........
* Merged revisions 69874 via svnmerge fromTarek Ziadé2009-02-222-77/+88
| | | | | | | | | | 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 ........