Commit graph

42311 commits

Author SHA1 Message Date
Victor Stinner
e9ebde48cf Issue #9243: Fix sndhdr module and add unit tests, contributed by James Lee. 2010-07-13 23:04:56 +00:00
Alexander Belopolsky
903396ee66 Set sys.modules[name] to None instead of 0 to block module import. 2010-07-13 14:50:16 +00:00
Jeroen Ruigrok van der Werven
9c558bcfd1 Fix documentation typo: wprite() -> write(). 2010-07-13 14:47:01 +00:00
Georg Brandl
85f2177f6d Add bytes in literal_eval doc. 2010-07-13 06:38:10 +00:00
Mark Dickinson
94628eeb58 Yield more information on failure in test_struct boolean test. 2010-07-12 20:03:24 +00:00
Antoine Pitrou
c779515a75 Fix definition of len() and indexing for memoryview objects (part of #7696). 2010-07-12 20:01:52 +00:00
Ezio Melotti
2efaf96771 #6026: skip test_get_file_list when zlib is not available. 2010-07-12 19:49:41 +00:00
Mark Dickinson
0bddfd0a53 Regenerate Python/graminit.c. 2010-07-12 14:18:21 +00:00
Mark Dickinson
1c50d11708 Issue #2009: refactor varargslist and typedargslist productions to make them more friendly for third-party parsers. 2010-07-12 14:14:18 +00:00
Mark Dickinson
cf48e44130 Remove mention of execfile from the tutorial. 2010-07-12 09:37:40 +00:00
Georg Brandl
db4e939206 Use raw string literals for regexes containing backlash. 2010-07-12 09:06:13 +00:00
Georg Brandl
4abda54889 Take care of duplicate target name warnings. 2010-07-12 09:00:29 +00:00
Martin v. Löwis
b5085d8df4 Remove myself. 2010-07-12 06:03:18 +00:00
Brian Curtin
c014448108 Put my name down for winreg. 2010-07-11 23:32:11 +00:00
Benjamin Peterson
5ef96e5fac allow byte literals 2010-07-11 23:06:06 +00:00
Mark Dickinson
c762242cca Include versionadded in (c)math.isfinite docs (thanks Ezio Melotti). Other minor doc cleanups. 2010-07-11 19:47:37 +00:00
Mark Dickinson
68c5de6d1c assertEquals -> assertEqual 2010-07-11 19:12:10 +00:00
Mark Dickinson
b214e90e01 Issue #9137: Fix issue in MutableMapping.update, which incorrectly
treated keyword arguments called 'self' or 'other' specially.
2010-07-11 18:53:06 +00:00
Mark Dickinson
226f544caa Improve docstrings for isnan, isinf and isfinite. 2010-07-11 18:13:41 +00:00
Martin v. Löwis
25fcd392aa Issue #8974: fix print calls in msgfmt.py. 2010-07-11 17:39:46 +00:00
Mark Dickinson
8e0c996873 Issue #9165: Add math.isfinite and cmath.isfinite. 2010-07-11 17:38:24 +00:00
Benjamin Peterson
3e7428995f test for set literals 2010-07-11 12:59:24 +00:00
Antoine Pitrou
1ac745b5c5 Issue #7616: Fix copying of overlapping memoryview slices with the Intel
compiler.
2010-07-11 12:12:00 +00:00
Georg Brandl
349d558e0d #9223: link to Command class reference, and move Command interface docs nearer to class docs. 2010-07-11 10:22:44 +00:00
Georg Brandl
05bfcc590d #7935: cross-reference to ast.literal_eval() from eval() docs. 2010-07-11 09:42:10 +00:00
Georg Brandl
492f3fc272 Allow set literals in literal_eval(). 2010-07-11 09:41:21 +00:00
Georg Brandl
e40ee509e3 #9184: fix default value for "buffering" param of open(). 2010-07-11 09:33:39 +00:00
Georg Brandl
de41bf3dd5 Fix typo. 2010-07-11 09:26:57 +00:00
Georg Brandl
0104bcdb80 #6774: explain shutdown() behavior varying with platform. 2010-07-11 09:23:11 +00:00
Ronald Oussoren
d3950527e7 Fix for issue 9164 2010-07-11 09:05:07 +00:00
Georg Brandl
8a1c2543ff #3214 followup: add link to ABC entry. 2010-07-11 08:36:20 +00:00
Georg Brandl
692b3f8035 Silence makeindex. 2010-07-11 08:33:16 +00:00
Senthil Kumaran
aba088e01d Issue2007: Removing reference to MSIE Cookie handling by mechanize. Suggested by John J Lee. 2010-07-11 05:01:52 +00:00
Benjamin Peterson
3b107f99c7 remove unneeded error check 2010-07-11 03:36:35 +00:00
Senthil Kumaran
2ef16328e8 Stricter verification for file based url scheme and reliance on ftp protocol. 2010-07-11 03:12:43 +00:00
Benjamin Peterson
0d62f5bbfe ValueError is eventually what we want to move to, I suppose 2010-07-10 15:14:45 +00:00
R. David Murray
522c32a7e3 Add missing docs for re module 'purge' function. 2010-07-10 14:23:36 +00:00
Michael Foord
c653ce313f Fix error message for comparing single line strings in unittest.TestCase.assertEqual.
Issue 9174.
2010-07-10 13:52:22 +00:00
R. David Murray
0425a8ea72 Fix 'refleak' introduced by fnmatch cache purge tests.
This introduces a 'purge' function for the fnmatch module analogous
to the 'purge' function in the re module.
2010-07-10 13:52:13 +00:00
Georg Brandl
a851483527 #8564: update docs on integrating doctest/unittest with unittest(2) test discovery. 2010-07-10 12:20:38 +00:00
Georg Brandl
1c616a5c92 #8456: fix signature of sqlite3.connect(). 2010-07-10 12:01:34 +00:00
Georg Brandl
47d48bb3e7 #8338: fix outdated class name. 2010-07-10 11:51:06 +00:00
Georg Brandl
297d97241a #1434090: properly append child in expatbuilder doctype handler. 2010-07-10 11:40:13 +00:00
Georg Brandl
73b1c7ba7d #3214: improve description of duck-typing in glossary. 2010-07-10 10:39:57 +00:00
Georg Brandl
0310a83e7f #3071: tell how many values were expected when unpacking too many. 2010-07-10 10:32:36 +00:00
Georg Brandl
93eb42e805 Emphasize role of count for Pascal string. 2010-07-10 10:23:40 +00:00
Georg Brandl
b382337ed6 Fix markup. 2010-07-10 08:58:37 +00:00
Jeffrey Yasskin
61c061a8b3 Oops. Fix distutils tests that r82746 broke. 2010-07-09 19:55:05 +00:00
Benjamin Peterson
b669221bd1 be more robust across platforms 2010-07-09 19:37:00 +00:00
Mark Dickinson
10de93a715 Silence gcc warning. (In function 'bytearray_init': warning: 'value' may be used uninitialized in this function). 2010-07-09 19:25:48 +00:00