Commit Graph

42320 Commits

Author SHA1 Message Date
Alexander Belopolsky 4988d7a375 PEP 8 conformance: class_ -> cls 2010-07-14 13:46:57 +00:00
Antoine Pitrou 1f9dea0b5f Issue #9251: test_threaded_import didn't fail when run through regrtest
if the import lock was disabled.
2010-07-14 11:52:38 +00:00
Senthil Kumaran aa69d4d00f Fix Issue5842 - Moving the tests out of urllib.parse module 2010-07-14 10:21:22 +00:00
Stefan Krah fc9e08de3a High byte is the exit status. 2010-07-14 10:16:11 +00:00
Georg Brandl b639c14c32 #9235: fix missing import of sys. 2010-07-14 08:54:40 +00:00
Georg Brandl b0eb5da018 Remove unused code that would raise a NameError. 2010-07-14 08:53:36 +00:00
Georg Brandl 49b31d0a0b Remove XXX from text. 2010-07-14 08:53:18 +00:00
Georg Brandl e767e047c8 #9258: fix copy-paste errors. 2010-07-14 08:00:22 +00:00
Victor Stinner 996903120c Woops, test_sndhdr.py contains the same code twice: fix it 2010-07-13 23:08:01 +00:00
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