Commit Graph

78849 Commits

Author SHA1 Message Date
Serhiy Storchaka 37943b07fe Issue #23338: Fixed formatting ctypes error messages on Cygwin.
Patch by Makoto Kato.
2015-04-04 10:05:35 +03:00
Serhiy Storchaka fb0517ca5c Issue #23825: Fixed test_idle under -OO. 2015-04-04 09:47:18 +03:00
Serhiy Storchaka c811328e44 Escaped backslashes in docstrings. 2015-04-03 18:12:32 +03:00
Benjamin Peterson 023de869ec use rc rather than beta 2015-04-02 21:36:42 -04:00
Serhiy Storchaka aff77f3b19 Issue #10590: Added tests for xml.sax.parse() and xml.sax.parseString(). 2015-04-02 23:05:23 +03:00
Serhiy Storchaka e9d4dc192f Issue #2175: Added tests for xml.sax.saxutils.prepare_input_source().
Made test XML files non-ASCII.
2015-04-02 20:55:46 +03:00
Serhiy Storchaka 61ad42e591 Issue #16840: Fixed test_tcl for Tcl < 8.5. 2015-04-02 20:06:48 +03:00
Serhiy Storchaka e8ae0473cd Issue #21526: Skip test_booleans on Tcl < 8.5. 2015-04-02 19:57:52 +03:00
Serhiy Storchaka c77c5b5f03 Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 and
arbitrary precision integers added in Tcl 8.5.
2015-04-02 18:46:30 +03:00
Victor Stinner 31c7e4fb1a Issue #23834: Fix socket.sendto(), use the C long type to store the result of
sendto() instead of the C int type.
2015-04-02 17:19:17 +02:00
doko@ubuntu.com 320bec1922 - Set PY_VERSION to "2.7.10b0", PY_MICRO_VERSION to 10 and
PY_RELEASE_LEVEL to PY_RELEASE_LEVEL_BETA.
2015-04-02 15:59:13 +02:00
Serhiy Storchaka 91398f85e6 Issue #21526: Fixed the test_booleans test for wantobjects = 0. 2015-04-02 11:46:07 +03:00
Serhiy Storchaka cba6b5d045 Issue #21526: Tkinter now supports new boolean type in Tcl 8.5. 2015-04-02 10:35:57 +03:00
Benjamin Peterson df11d4cbe4 replace 512 bit dh key with a 2014 bit one (closes #23844)
Patch by Cédric Krier.
2015-04-02 00:04:06 -04:00
Benjamin Peterson a5a44aba3f remove assignment in conditional 2015-04-01 11:16:40 -04:00
Serhiy Storchaka 43b49593e7 Issue #23838: linecache now clears the cache and returns an empty result on
MemoryError.
2015-04-01 16:53:53 +03:00
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