Commit Graph

78733 Commits

Author SHA1 Message Date
Serhiy Storchaka bd8c629eb5 Issue #23799: Added test.test_support.start_threads() for running and
cleaning up multiple threads.
2015-04-01 12:56:39 +03:00
Raymond Hettinger 2baaba8a95 Issue #23729: Improve docs for ElementTree namespace parsing 2015-03-30 20:46:54 -07:00
Victor Stinner e9932451ae Issue #23115: os.urandom() now releases the GIL when the getentropy() is used
(OpenBSD 5.6+).
2015-03-30 11:22:13 +02:00
Serhiy Storchaka 96d8012964 Issue #23785: Fixed memory leak in TextIOWrapper.tell() in rare circumstances. 2015-03-30 10:00:49 +03:00
Serhiy Storchaka 07e03ab9f9 Issue #23783: Fixed memory leak in PyObject_ClearWeakRefs() in case of
MemoryError.
2015-03-30 09:53:06 +03:00
Serhiy Storchaka aa64c46ac9 Issue #23781: Add private helper function _PyErr_ReplaceException() that
corresponds _PyErr_ChainExceptions() in Python 3 to help porting patches
from Python 3.
2015-03-30 09:48:42 +03:00
Serhiy Storchaka d06c201e5b Issue #14904: Made test_unicode_repr_oflw to use less memory.
Corrected memory requirements in other bigmem tests.
2015-03-30 09:27:20 +03:00
Victor Stinner 7d490650fb Issue #22390: Fix test_gzip if unicode filename doesn't work 2015-03-30 02:20:37 +02:00
Victor Stinner 7b00364e18 Issue #22390: Fix test_gzip, remove temporary file 2015-03-30 01:32:42 +02:00
Victor Stinner ffaa031867 Issue #22390: Fix test_pdb to remove created bar.pyc file 2015-03-30 01:24:57 +02:00
Victor Stinner 01eaf500fc Issue #22390: Fix test_aifc to remove the created file 2015-03-30 01:16:17 +02:00
Victor Stinner ac0d1893b9 Issue #22390: Fix typo in regrtest, support => test_support 2015-03-30 01:07:29 +02:00
Serhiy Storchaka c0a2f2b008 Issue #22390: test.regrtest now emits a warning if temporary files or
directories are left after running a test.
2015-03-30 01:27:44 +03:00
Serhiy Storchaka 53ea162067 Make some tests more frienly to MemoryError.
Free memory, unlock hanging threads.
2015-03-28 20:38:48 +02:00
Victor Stinner 582265f484 Issue #23445: Fix test_gdb.python_is_optimized() for CFLAGS=-Og
-Og does not optimize the C code, it's just "fast debugging".
2015-03-27 15:44:13 +01:00
Serhiy Storchaka 837d760c27 Check that failed writerow() doesn't produce change a file. 2015-03-25 19:15:56 +02:00
Serhiy Storchaka 53b542fe30 Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes. 2015-03-25 16:39:58 +02:00
Serhiy Storchaka f95a57f9a1 Issue #21802: The reader in BufferedRWPair now is closed even when closing
writer failed in BufferedRWPair.close().
2015-03-24 23:23:42 +02:00
Serhiy Storchaka 40fd0e8d68 Issue #23671: string.Template now allows to specify the "self" parameter as
keyword argument.  string.Formatter now allows to specify the "self" and
the "format_string" parameters as keyword arguments.
2015-03-24 22:27:50 +02:00
Serhiy Storchaka d07ec7b082 Issue #23583: Fixed writing unicode to standard output stream in IDLE.
Added tests for standard IO streams in IDLE.
2015-03-24 19:45:45 +02:00
Serhiy Storchaka ac5164dd98 Issue #23583: Fixed writing unicode to standard output stream in IDLE.
Added tests for standard IO streams in IDLE.
2015-03-24 19:42:15 +02:00
Ezio Melotti 1afb9da747 #23512: list non-essential built-in functions after the table. Patch by Carlo Beccarini. 2015-03-24 13:44:58 +02:00
Ezio Melotti bc1fda39ae #11468: improve unittest basic example. Initial patch by Florian Preinstorfer. 2015-03-24 12:42:41 +02:00
Serhiy Storchaka f689f104aa Issue #21560: An attempt to write a data of wrong type no longer cause
GzipFile corruption.  Original patch by Wolfgang Maier.
2015-03-23 15:25:18 +02:00
Raymond Hettinger 510a6e9247 Issue 23729: Document ElementTree namespace handling and fix an omission in the XPATH predicate table. 2015-03-22 15:31:28 -07:00
R David Murray 836c82417f #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes. 2015-03-22 16:17:11 -04:00
R David Murray b4b000f002 #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None.
Some http servers will reject PUT, POST, and PATCH requests if they
do not have a Content-Length header.

Patch by James Rutherford.
2015-03-22 15:15:44 -04:00
Benjamin Peterson 29368584d2 clarify behavior of shutil.move when destination exists (closes #22933)
Patch by Mike Short.
2015-03-22 10:11:54 -04:00
Serhiy Storchaka ce16424b0b Issue #22079: Py3k warning now is issued in PyType_Ready() instead of
raising TypeError when statically allocated type subclasses dynamically
allocated type
2015-03-22 09:45:35 +02:00
Serhiy Storchaka 9f696c9809 Issue #23075: Whether __builtins__ is a module or a dict is undefined in
CPython. Use the reliably well defined `import __builtin__` instead.
Patch by Alex Gaynor.
2015-03-21 22:04:42 +02:00
Ned Deily a8e8f7ee1c Issue #23686: Update OS X 10.5 installer build to use OpenSSL 1.0.2a. 2015-03-19 16:19:27 -07:00
Serhiy Storchaka 8d3f505dcf Fixed Misc/NEWS entry for issue #23136. 2015-03-19 19:52:50 +02:00
Serhiy Storchaka d54c2e3f13 Issue #23136: _strptime now uniformly handles all days in week 0, including
Jan 30 of previous year.  Based on patch by Jim Carroll.
2015-03-19 19:13:25 +02:00
Benjamin Peterson 6a74a51b28 wrap properly 2015-03-18 21:35:38 -05:00
Ned Deily 9e52735d22 Issue #23458: Skip test_urandom_fd_non_inheritable on OS X 10.4 since
FD_CLOEXEC is not supported there.
2015-03-17 15:18:07 -07:00
Zachary Ware 4f3395f7eb Fix up PCbuild/readme.txt a bit.
Removes an incorrect assertion (that the build script will choose the
latest OpenSSL sources it can find), fixes NASM's homepage, and
rewords the section about NASM to make it more clear that you don't
have to install your own.
2015-01-15 11:16:51 -06:00
Ned Deily 596b751f97 Issue #22585, #23115: make URandomFDTests test case actually run 2015-03-17 04:34:46 -07:00
Benjamin Peterson 5151838132 versionchanged for rc4 removal (closes #23679) 2015-03-16 12:43:38 -05:00
Serhiy Storchaka 3d15b5ddc6 Use non-zero and non-last positions in error handler tests. 2015-03-16 08:29:35 +02:00
Serhiy Storchaka 2792389f41 Increased coverage of standard codec error handlers. 2015-03-15 23:41:10 +02:00
Eli Bendersky 9872ad46d5 Issue #23549: Clarify confusion in heapq doc - accessing the mininmal element
The current documentation only mentions heap[0] as the smallest element in the
beginning, and not in any of the methods' docs. There's no method to access the
minimal element without popping it, and the documentation of nsmallest is
confusing because it may suggest that min() is the way to go for n==1.
default
2015-03-14 20:20:36 -07:00
Serhiy Storchaka 251aede2f2 Fix minor docs markup errors. 2015-03-14 21:32:41 +02:00
Benjamin Peterson dbbc07c2ec the default is sys.maxsize not sys.maxint (closes #23645) 2015-03-13 14:32:31 -05:00
Serhiy Storchaka f249671d02 Issue #23138: Fixed parsing cookies with absent keys or values in cookiejar.
Patch by Demian Brecht.
2015-03-13 09:04:34 +02:00
Serhiy Storchaka 7c26be5b18 Issue #23051: multiprocessing.Pool methods imap() and imap_unordered() now
handle exceptions raised by an iterator.  Patch by Alon Diamant and Davin
Potts.
2015-03-13 08:31:34 +02:00
Serhiy Storchaka 59bdf6392d Issue #22928: Disabled HTTP header injections in httplib.
Original patch by Demian Brecht.
2015-03-12 11:12:51 +02:00
Serhiy Storchaka 205408dacb Issue #23615: Module tarfile is now can be reloaded with imp.reload(). 2015-03-11 17:31:59 +02:00
Benjamin Peterson ca1fb3eb42 close files explicit (closes #21610)
Patch by mattip.
2015-03-10 19:06:18 -05:00
Antoine Pitrou 323ab6d732 Issue #23629: Fix the default __sizeof__ implementation for variable-sized objects. 2015-03-10 22:32:00 +01:00
Steve Dower 32608c1b10 Issue #22028: Ensure mimetypes will not open registry keys with embedded nulls 2015-03-10 13:19:17 -07:00