Commit graph

41467 commits

Author SHA1 Message Date
Jeffrey Yasskin
68d6852006 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.
2009-02-28 19:03:21 +00:00
Mark Dickinson
de28d6841e Issue #5393: typo in cmath.cos and cmath.cosh docstring 2009-02-28 15:50:40 +00:00
Hirokazu Yamamoto
02172ddbee Binary flag is needed on windows. 2009-02-28 15:24:00 +00:00
Hirokazu Yamamoto
b0e10c760c Issue #1733986: Fixed mmap crash in accessing elements of second map object
with same tagname but larger size than first map. (Windows)
2009-02-28 12:13:07 +00:00
Hirokazu Yamamoto
f2dc885780 Issue #5386: mmap.write_byte didn't check map size, so it could cause buffer
overrun.
2009-02-28 10:31:54 +00:00
Tarek Ziadé
7334735ee1 Issues #1533164 and #5378: Added quiet and force-optimize options to Distutils bdist_rpm command 2009-02-28 10:08:02 +00:00
Georg Brandl
5c189b16a8 #5365: add quick look conversion table for different time representations. 2009-02-27 16:59:03 +00:00
Georg Brandl
fbb995f6c2 #5344: fix punctuation. 2009-02-27 16:52:55 +00:00
Georg Brandl
ee6361f7d8 #5363: fix cmpfiles() docs. Another instance where a prose description is twice as long as the code. 2009-02-27 16:39:26 +00:00
Georg Brandl
da2790c47d #5361: fix typo. 2009-02-27 16:23:18 +00:00
Tarek Ziadé
dda92f7f02 Issue #5052: make Distutils compatible with 2.3 again. 2009-02-27 12:53:34 +00:00
Raymond Hettinger
b31a6d0949 Give mapping views a usable repr. 2009-02-27 08:09:47 +00:00
Brett Cannon
ac10be365e 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.
2009-02-27 03:38:28 +00:00
Tarek Ziadé
75a4fab6a4 more info on long_description 2009-02-27 02:14:35 +00:00
Tarek Ziadé
b5fc89ee57 removed unused import 2009-02-26 23:44:00 +00:00
Andrew M. Kuchling
cdb4e6248b The curses panel library is now supported 2009-02-26 22:34:30 +00:00
Benjamin Peterson
b3dd5485da remove deprecated symtable.Symbol methods 2009-02-26 19:07:18 +00:00
Benjamin Peterson
7bee77c876 comma 2009-02-26 19:05:59 +00:00
Benjamin Peterson
9bb240b3d0 the startship is rather outdated now 2009-02-26 19:04:40 +00:00
Georg Brandl
13813f7092 Document that setting sys.py3kwarning wont do anything. 2009-02-26 17:36:26 +00:00
Benjamin Peterson
a168698ab3 fix str.format()'s first arg #5371 2009-02-26 00:30:11 +00:00
Raymond Hettinger
ed955f108f Fix typo. 2009-02-26 00:05:24 +00:00
Raymond Hettinger
a665853bab Clarify Counter() docs. 2009-02-25 22:48:24 +00:00
Tarek Ziadé
e3bc0eff25 Fixed #5316 : test failure in test_site 2009-02-25 22:29:27 +00:00
Mark Dickinson
b646487687 Replace long with twodigits, to avoid depending
on sizeof(digit) < sizeof(long)
2009-02-25 20:29:50 +00:00
Raymond Hettinger
afe496dc46 Remove reference to zero argument form of super() in 2.x docs. 2009-02-25 01:06:52 +00:00
Raymond Hettinger
b762d58544 More markup and spelling fixes. 2009-02-25 00:52:37 +00:00
Raymond Hettinger
eb7cbb94c5 Restore Py2.x version of sample call to super(). 2009-02-25 00:39:47 +00:00
Raymond Hettinger
9766033b7c Sync-up py3.1 doc updates for super(). 2009-02-25 00:37:57 +00:00
Jeffrey Yasskin
43bff057c1 Tools/scripts/analyze_dxp.py, a module with some helper functions to
analyze the output of sys.getdxp().
2009-02-24 22:48:34 +00:00
Brett Cannon
b7019d8e9e Expand upon test_site.test_s_option to try to debug its failure. 2009-02-24 22:01:02 +00:00
Raymond Hettinger
8c56f8890e Backport 69934: Register xrange() as a Sequence. 2009-02-24 12:23:23 +00:00
Neil Schemenauer
c9332fada6 Fix call to os.waitpid, it does not take keyword args. 2009-02-24 04:23:25 +00:00
Benjamin Peterson
a18736b5d2 update README on running tests 2009-02-24 02:45:35 +00:00
Raymond Hettinger
d47442e3cb Update itertools recipes to use next(). 2009-02-23 19:32:55 +00:00
Georg Brandl
52bc7b85fd Fix grammar. 2009-02-23 18:33:48 +00:00
Georg Brandl
de196911f1 #5352: str.count() counts non-overlapping instances. 2009-02-23 15:51:27 +00:00
Tarek Ziadé
11b34d07d8 more test coverage 2009-02-23 12:41:29 +00:00
Georg Brandl
89d4f0d7c5 #5349: C++ pure virtuals can also have an implementation. 2009-02-23 11:24:46 +00:00
Georg Brandl
528f8810aa #5348: format() converts all kinds of values. 2009-02-23 10:24:23 +00:00
Matthias Klose
8ad554fdbe - Link the shared python library with $(MODLIBS). 2009-02-22 23:14:26 +00:00
Tarek Ziadé
7b47172bec Removing unused __main__ sections 2009-02-22 20:15:41 +00:00
Tarek Ziadé
28bba74b7f removing map and lambda usage, so the test is similar to py3k's branch one 2009-02-22 20:11:46 +00:00
Tarek Ziadé
90b7d56d91 moved distutils.text_file tests into a real unittest class 2009-02-22 19:58:12 +00:00
Antoine Pitrou
b03f532fe5 Revert debugging statements, culprit is possibly test_distutils (see #5316) 2009-02-22 18:20:46 +00:00
Antoine Pitrou
13d1690ecd Try to make sense of the test_site buildbot failures 2009-02-22 17:25:52 +00:00
Tarek Ziadé
2595edccbc using versionchanged instead of versionadded for distutils doc on sdist default files 2009-02-22 00:07:45 +00:00
Benjamin Peterson
873389dbd8 fix compiler warnings 2009-02-21 23:09:33 +00:00
Mark Dickinson
3e4caeb3bf Issue #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
Georg Brandl
a12a86e956 #5338, #5339: two types in the API manual. 2009-02-21 19:09:40 +00:00