Commit Graph

44452 Commits

Author SHA1 Message Date
Amaury Forgeot d'Arc adfc80bd81 #4852: Remove dead code in every thread implementation, unused for many years. 2010-02-23 23:19:39 +00:00
Victor Stinner f20f9c299e Issue #7649: Fix u'%c' % char for character in range 0x80..0xFF
=> raise an UnicodeDecodeError. Patch written by Ezio Melotti.
2010-02-23 23:16:07 +00:00
Georg Brandl ea370a9edd #6544: fix refleak in kqueue, occurring in certain error conditions. 2010-02-23 21:48:57 +00:00
Georg Brandl 6ae19ade64 #8000: fix deprecated directive. What a shame to lose that glorious issue number to such a minor bug :) 2010-02-23 21:33:17 +00:00
Dirkjan Ochtman 8614817875 Fix #1537721: add writeheader() method to csv.DictWriter.
Reviewed by skip.montanaro and thomas.wouters.
2010-02-23 21:09:52 +00:00
Thomas Heller 92bd059c67 ctypes CThunkObject was not registered correctly with the cycle
garbage collector, leading to possible leaks when using callback
functions.
2010-02-23 20:11:44 +00:00
Jack Diederich 429a74a11a issue#6442 use in operator instead of has_key 2010-02-23 19:34:06 +00:00
Jack Diederich 1605b3316f fixup markup error 2010-02-23 17:23:30 +00:00
Michael Foord d99ef9a9df unittest.TestResult can now be used with the TextTestRunner. TextTestRunner compatible with old TestResult objects. 2010-02-23 17:00:53 +00:00
Mark Dickinson cf80f04b16 Fix spacing nit. Thanks Eric Smith for the public humiliation. 2010-02-23 13:06:50 +00:00
Mark Dickinson 8ee9187a16 Make global variable overflowok into a keyword argument; this fixes a failure when running ./python -m test.regrtest -R 3:2: test_format 2010-02-23 12:53:52 +00:00
Tarek Ziadé b8708a298e fixed #5801: removed spurious empty lines in wsgiref 2010-02-23 05:53:05 +00:00
Tarek Ziadé 2900c4413b completed the __all__ list and changed the module doctest 2010-02-23 05:36:41 +00:00
Tarek Ziadé 1e069eeab7 added a note on shutil new APIs 2010-02-23 05:20:22 +00:00
Tarek Ziadé 48cc8dc958 added make_archive (and secondary APIs) to shutil 2010-02-23 05:16:41 +00:00
Tarek Ziadé b0aad6cd09 removed debugging code 2010-02-23 04:57:05 +00:00
R. David Murray f28fd24c36 Issue 6292: for the moment at least, the test suite passes if run
with -OO.  Tests requiring docstrings are skipped.  Patch by
Brian Curtin, thanks to Matias Torchinsky for helping review and
improve the patch.
2010-02-23 00:24:49 +00:00
Eric Smith 87bcb243ac Issue #6902: Fix problem with built-in types format incorrectly with 0 padding. 2010-02-23 00:11:16 +00:00
Michael Foord ae3db0a12b Support for old TestResult object (unittest) with warnings when using unsupported features. 2010-02-22 23:28:32 +00:00
Andrew M. Kuchling 4b81bc7fe6 #7706: add include guards where they're missing; required for Windows CE 2010-02-22 23:12:00 +00:00
Andrew M. Kuchling 00b6a5c03d #7706: DONT_HAVE_ERRNO_H is no longer defined by configure (after rev.46819). 2010-02-22 23:10:52 +00:00
Andrew M. Kuchling b64d61369a #2560: remove an unnecessary 'for' loop from my_fgets() in Parser/myreadline.c.
Noted by Joseph Armbruster; patch by Jessica McKellar.

The original code was 'for (;;) {...}', where ... ended
with a 'return -2' statement and did not contain a 'break' or 'continue'
statement.  Therefore, the body of the loop is always executed once.

Once upon a time there was a 'continue' in the loop, but it was removed in
rev36346, committed by mwh on Wed Jul 7 17:44:12 2004.
2010-02-22 22:48:41 +00:00
Jack Diederich 5cac46dd41 * fix issue#7476 2010-02-22 21:27:38 +00:00
Andrew M. Kuchling f2055ae43d Remove Tools/modulator, a reference to it in the docs, and a screenshot of it.
(I asked the BDFL first, and he approved removing it.  The last actual bugfix
to Tools/modulator was in 2001; since then all changes have been search-and-replace:
string methods, whitespace fixes, etc.)
2010-02-22 21:04:02 +00:00
Jack Diederich 1ce6136018 fixes issue #1522237, bad init check in _threading_local 2010-02-22 19:55:22 +00:00
Andrew M. Kuchling b72b0eb357 #7627: MH.remove() would fail if the MH mailbox was locked;
it would call _unlock_file() and pass it a closed file object.  Noted by Rob Austein.
2010-02-22 18:42:07 +00:00
Andrew M. Kuchling 72aae73d47 Fix comment typo 2010-02-22 18:38:23 +00:00
Eric Smith f32d4acead Issue #7988: Fix default alignment to be right aligned for complex.__format__. Now it matches other numeric types. 2010-02-22 18:33:47 +00:00
Jack Diederich 8f48f4c5f6 fixes issue #7530, serve_forever() 2010-02-22 18:17:16 +00:00
Andrew M. Kuchling 83fddec8bd Note granting of commit privileges to Larry Hastings 2010-02-22 17:21:54 +00:00
Ezio Melotti bce3e17bd2 #7482: clarify error message in case of division by zero of float and complex numbers. 2010-02-22 16:30:58 +00:00
Andrew M. Kuchling 38c123651c #7597: curses.use_env() can be called before initscr(). Noted by Kan-Ru Chen 2010-02-22 16:26:47 +00:00
Mark Dickinson f5be4e612c Clarify description of three-argument pow for Decimal types: the exponent of the result is always 0. 2010-02-22 15:40:28 +00:00
Andrew M. Kuchling dfd0148909 #6414: clarify description of processor endianness.
Text by Alexey Shamrin; I changed 'DEC Alpha' to the more relevant 'Intel Itanium'.
2010-02-22 15:13:17 +00:00
Andrew M. Kuchling 6b2bd05b16 #7794: describe 2.6 support for executing directories and zip archives 2010-02-22 14:53:17 +00:00
Senthil Kumaran ee5546c316 Fix Issue7172 - BaseHTTPServer.BaseHTTPRequestHandler.responses[405] - changing
server to resource in the 405 response msg.
2010-02-22 10:55:08 +00:00
Andrew M. Kuchling 25d6ddd38b #7076: mention SystemRandom class near start of the module docs; reword change description for clarity. Noted by Shawn Ligocki. 2010-02-22 02:29:10 +00:00
Andrew M. Kuchling c7337b8b3a Re-word 2010-02-22 02:08:45 +00:00
Michael Foord 2f6775617c Silence UnicodeWarning in crazy unittest test. 2010-02-21 14:48:59 +00:00
Mark Dickinson 92cb4a8c6f Reduce number of random tests in test_strtod, to avoid hogging buildbot time. 2010-02-21 14:42:27 +00:00
Mark Dickinson 45ad801ed0 Issue #7384: skip test_curses on FreeBSD, in order to allow other buildbot tests to complete. 2010-02-21 13:37:53 +00:00
Mark Dickinson 82b34c5dbe Issue #5211: Fix complex type to avoid implicit calls to
complex.__coerce__.  Thanks Meador Inge for the patch.
2010-02-21 12:57:35 +00:00
R. David Murray 51f1204590 Issue 7970: When email.Parser.Parser parses a MIME message of type
message/rfc822 it turns it into an object whose body consists of
a list containing a single Message object.  HeaderParser, on the
other hand, just copies the body as a string.  Generator.flatten
has a special handler for the message mime type that expected the
body to be the one item list.  This fails if the message was parsed
by HeaderParser.  So we now check to see if the body is a string
first, and if so just we just emit it.
2010-02-21 04:23:00 +00:00
Ezio Melotti 9e9af21d45 skip tests with a non-ascii cwd when the file system encoding is ascii 2010-02-20 22:34:21 +00:00
Senthil Kumaran 18d5a69669 Fix for Issue7751: urllib.urlopen("///C|/foo/bar/spam.foo") 2010-02-20 22:05:34 +00:00
Ezio Melotti e3467d5c96 Remove e assertIs definitions and use correct assert* methods. 2010-02-20 09:40:07 +00:00
Ezio Melotti 4cc80ca921 #3426: os.path.abspath now returns unicode when its arg is unicode. 2010-02-20 08:09:39 +00:00
Vinay Sajip 61afd2694b logging: Documented warnings module integration. 2010-02-19 23:53:17 +00:00
Georg Brandl 74cbd664d2 #7967: PyXML is no more. 2010-02-19 19:36:08 +00:00
Senthil Kumaran 4e78de89d0 Fix for Issue7904. urlparse.urlsplit to handle schemes in the way defined by RFC3986 2010-02-19 07:32:48 +00:00