Commit Graph

78871 Commits

Author SHA1 Message Date
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
Ned Deily 0acf4ad786 Issue #23617: Correct plurals typo noted by Kentrell Johnson. 2015-03-09 01:54:25 -07:00
Benjamin Peterson 81bec811b3 replace Amazon links in the documentation (closes #23579)
Patch by Sayan Chowdhury.
2015-03-07 09:34:16 -05:00
Serhiy Storchaka 233e6988f4 Issue #22853: Fixed a deadlock when use multiprocessing.Queue at import time.
Patch by Florian Finkernagel and Davin Potts.
2015-03-06 22:17:25 +02:00
Benjamin Peterson f050648a50 fix potential refleak in PyFloat_AsDouble (closes #23590) 2015-03-06 09:08:44 -05:00
Ned Deily 8c51fedcdf Issue #23593: fix Misc/NEWS entries 2015-03-05 17:43:26 -08:00
Ned Deily 59439d8f0d Issue #23594: Update OS X 10.5 installer build to use OpenSSL 1.0.2. 2015-03-05 17:32:28 -08:00
Benjamin Peterson b10d50eb90 use _import_symbols to import VERIFY_* constants 2015-03-04 23:18:57 -05:00
Benjamin Peterson d86699fe04 adjust test_crl_check for trusted first being default 2015-03-04 23:18:48 -05:00
Benjamin Peterson 72ef961059 expose X509_V_FLAG_TRUSTED_FIRST 2015-03-04 22:49:41 -05:00
Benjamin Peterson b1ebba5bd5 enable X509_V_FLAG_TRUSTED_FIRST when possible (closes #23476) 2015-03-04 22:11:12 -05:00
Antoine Pitrou 34c8d98306 Issue #23576: Avoid stalling in SSL reads when EOF has been reached in the SSL layer but the underlying connection hasn't been closed. 2015-03-04 20:51:55 +01:00
Serhiy Storchaka c620c11e62 Issue #23504: Added an __all__ to the types module. 2015-03-04 09:42:59 +02:00