Commit Graph

48246 Commits

Author SHA1 Message Date
R David Murray 76a3d73cbd Prepare for move of email tests. 2011-03-21 16:01:23 -04:00
R David Murray 661720e7f7 Make regrtest recognize test packages as well as test modules. 2011-03-21 15:14:34 -04:00
Antoine Pitrou c107fb1b59 Always print out the traceback when a test "crashed" 2011-03-21 19:55:58 +01:00
Antoine Pitrou 779a5b0b3a Always print out the traceback when a test "crashed" 2011-03-21 19:55:16 +01:00
Antoine Pitrou 59cc6847a9 Try to make test_import a bit more robust 2011-03-21 19:05:18 +01:00
Antoine Pitrou 46719af05a Try to make test_import a bit more robust 2011-03-21 19:05:02 +01:00
Antoine Pitrou 732110ab39 Relax timing check (seen a buildbot failure on this) 2011-03-21 18:43:40 +01:00
Antoine Pitrou 60bf7e9e4d Relax timing check (seen a buildbot failure on this) 2011-03-21 18:43:01 +01:00
Victor Stinner 6ced7c4333 Issue #10833: Use PyErr_Format() and PyUnicode_FromFormat() instead of
PyOS_snprintf() to avoid temporary buffer allocated on the stack and a
conversion from bytes to Unicode.
2011-03-21 18:15:42 +01:00
Victor Stinner 44afe2b35a Issue #10833: Remove the buffer allocated on the stack, it isn't used anymore 2011-03-21 18:10:02 +01:00
Reid Kleckner 91156ff3f1 Fix timeout error message on windows to not be in milliseconds. 2011-03-21 10:06:10 -07:00
Antoine Pitrou 0fd59acc70 Issue #11621: fix bootstrap issue with getopt/gettext (following d3e46930ffe9) 2011-03-21 16:04:06 +01:00
Victor Stinner 499dfcf29d Issue #10833: Use PyUnicode_FromFormat() and PyErr_Format() instead of
PyOS_snprintf().
2011-03-21 13:26:24 +01:00
Victor Stinner bfc7bf06a6 _elementtree.c: remove trailing spaces 2011-03-21 13:23:42 +01:00
Georg Brandl 7878020035 Merge to default. 2011-03-21 08:55:42 +01:00
Georg Brandl 2f5cac6ab4 Merge to 3.2. 2011-03-21 08:55:31 +01:00
Georg Brandl 82d8ec5eef Fix duplicate word. 2011-03-21 08:55:16 +01:00
Victor Stinner 4de99e8569 merge 3.2 (already commited before) 2011-03-21 03:28:59 +01:00
Victor Stinner ec1c030aad merge 3.1 (already commited before) 2011-03-21 03:28:10 +01:00
Victor Stinner 451385d8f8 Issue #8651: PyArg_Parse*() functions raise an OverflowError if the file
doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int
(length bigger than 2^31-1 bytes).
2011-03-21 03:22:50 +01:00
Éric Araujo b277241fd2 Fix some issue references in NEWS 2011-03-21 03:18:58 +01:00
Éric Araujo 50dc1a23d8 Branch merge 2011-03-21 03:17:12 +01:00
Éric Araujo d8c73c650c Fix some issue references in NEWS 2011-03-21 03:15:22 +01:00
Victor Stinner f1a9d82e35 merge 3.2 2011-03-21 02:53:04 +01:00
Victor Stinner 56f9a0221b merge 3.1 2011-03-21 02:51:38 +01:00
Victor Stinner 628225c0d1 Issue #5537: Fix time2isoz() and time2netscape() functions of httplib.cookiejar
for expiration year greater than 2038 on 32-bit systems.
2011-03-21 02:38:51 +01:00
Victor Stinner 161fbeae72 merge 3.2 2011-03-21 02:15:18 +01:00
Victor Stinner 6f0e4f99ab time.strftime(): replace PyErr_Format() by PyErr_SetString()
The argument was not used in the format string.
2011-03-21 02:14:53 +01:00
Victor Stinner ee525de6a9 merge 2011-03-21 02:12:09 +01:00
Victor Stinner 13ed2ea7a2 Issue #10864 has been fixed: remove the workaround 2011-03-21 02:11:01 +01:00
Victor Stinner 34ad2faf85 Closes #11210: Remove PyErr_SetFromWindowsErrWithFilenameObject() of pyerrors.h
PyErr_SetFromWindowsErrWithFilenameObject() was never implemented.
2011-03-21 01:58:55 +01:00
Antoine Pitrou ea9621102e Merge 2011-03-21 00:29:02 +01:00
Antoine Pitrou 25871dac00 Merge 2011-03-21 00:28:52 +01:00
Antoine Pitrou 03637052ec Try to strengthen test_httpservers (issue #11617) 2011-03-21 00:27:45 +01:00
Antoine Pitrou cb342182ee Try to strengthen test_httpservers (issue #11617) 2011-03-21 00:26:51 +01:00
Éric Araujo eda5583bdc Mark getopt error messages as localizable (fixes #11371).
Patch by Filip Gruszczyński.
2011-03-21 00:09:07 +01:00
Éric Araujo e788ace5ab Fix some issue references in NEWS 2011-03-21 00:01:23 +01:00
Antoine Pitrou 6d58d64919 Issue #11127: Raise a TypeError when trying to pickle a socket object. 2011-03-20 23:56:36 +01:00
Victor Stinner b938bcd211 (merge) Issue #11395: io.FileIO().write() clamps the data length to 32,767
bytes on Windows if the file is a TTY to workaround a Windows bug. The Windows
console returns an error (12: not enough space error) on writing into stdout if
stdout mode is binary and the length is greater than 66,000 bytes (or less,
depending on heap usage).
2011-03-20 23:37:55 +01:00
Victor Stinner e0daff1c61 Issue #11395: io.FileIO().write() clamps the data length to 32,767 bytes on
Windows if the file is a TTY to workaround a Windows bug. The Windows console
returns an error (12: not enough space error) on writing into stdout if
stdout mode is binary and the length is greater than 66,000 bytes (or less,
depending on heap usage).
2011-03-20 23:36:35 +01:00
Victor Stinner 0421810b3b merge 2011-03-20 23:25:25 +01:00
Victor Stinner 9c4efe571d Fix #11586: typo in initfsencoding()
Patch written by Ray Allen.
2011-03-20 23:23:22 +01:00
Victor Stinner 4ca2809b5c Fix #11586: typo in initfsencoding()
Patch written by Ray Allen.
2011-03-20 23:09:03 +01:00
Victor Stinner 6ae1e7f04e Issue #3080: imp.load_module() accepts None for the module path
imp.find_module() returns None as module path for builtin and frozen builtins.
2011-03-20 22:37:17 +01:00
Éric Araujo 6a1454f3a4 Use proper gettext plural forms in optparse (closes #4391).
Original patch by Dwayne Bailey.
2011-03-20 19:59:25 +01:00
Georg Brandl 2592f62a5a tabs are verboten. 2011-03-20 18:14:07 +00:00
Éric Araujo 7582385887 Merge from 3.1 2011-03-20 18:32:51 +01:00
Éric Araujo d40248777b Merge from 3.1 2011-03-20 18:31:42 +01:00
Éric Araujo 09eb980e3e Fix typo in class name 2011-03-20 18:30:37 +01:00
Éric Araujo 16e6f4c3f0 Fix a typo (see #3080) 2011-03-20 18:08:19 +01:00