Commit Graph

78780 Commits

Author SHA1 Message Date
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
Benjamin Peterson b027c6cae0 fix possible overflow bugs in unicodedata (closes #23367) 2015-03-02 11:17:05 -05:00
Benjamin Peterson b198ad9a3c wrap everything at 80 chars 2015-03-02 09:34:31 -05:00
Serhiy Storchaka f0b630b826 Added more tests for urllib utility functions.
These functions are not documented but used in third-party code.
2015-03-02 16:31:57 +02:00
Benjamin Peterson f4875d5602 remove mention of Python 2.2 and 2.3 2015-03-01 20:59:22 -05:00
Serhiy Storchaka 2b8c00d904 Fixed pydoc tests when run with -OO. 2015-03-01 15:31:21 +02:00
Benjamin Peterson 082a960425 fix merge_collapse to actually maintain the invariant it purports to (closes #23515)
See
de Gouw, Stijn and Rot, Jurriaan and de Boer, Frank S and Bubel, Richard and Hähnle, Reiner
"OpenJDK’s java.utils.Collection.sort() is broken: The good, the bad and the worst case"
2015-02-25 10:12:26 -05:00
Victor Stinner ebcbbfb9a2 Issue #23458: skip test_os.test_urandom_fd_non_inheritable() on Windows 2015-02-24 15:12:57 +01:00
Victor Stinner e0a0bd6eaa Issue #23458: On POSIX, the file descriptor kept open by os.urandom() is now
set to non inheritable
2015-02-24 14:30:43 +01:00
Ned Deily 0e4da40e58 Issue #23499: Fix grammar error noticed by SilentGhost 2015-02-22 16:08:23 -08:00
Serhiy Storchaka 437d535e5b Broke reference loops in tests added in issue #5700. 2015-02-23 00:28:38 +02:00
Serhiy Storchaka cc49aa1381 Issue #6639: Module-level turtle functions no longer raise TclError after
closing the window.
2015-02-22 17:22:53 +02:00
Serhiy Storchaka b8285d96f4 Issue #22113: struct.pack_into() now supports new buffer protocol (in
particular accepts writable memoryview).
2015-02-21 19:51:17 +02:00
Serhiy Storchaka 4809d1fccd Issues #814253, #9179: Warnings now are raised when group references and
conditional group references are used in lookbehind assertions in regular
expressions.
2015-02-21 12:08:36 +02:00
Serhiy Storchaka 021d55ff74 Issue #23215: Multibyte codecs with custom error handlers that ignores errors
consumed too much memory and raised SystemError or MemoryError.
Original patch by Aleksi Torhamo.
2015-02-21 01:19:17 +02:00
Serhiy Storchaka 3173f7c904 Issue #5700: io.FileIO() called flush() after closing the file.
flush() was not called in close() if closefd=False.
2015-02-21 00:34:20 +02:00
Berker Peksag dc9d41d718 Issue #21548: Fix pydoc.synopsis() and pydoc.apropos() on modules with empty
docstrings.

Initial patch by Yuyang Guo.
2015-02-20 12:10:33 +02:00
Zachary Ware bbdad5442b Fix typo pointed out on docs@ by Yaniv Sayeh 2015-02-19 22:28:36 -06:00
Benjamin Peterson a0dd7dc1b0 remove rc4 from the default client ciphers (closes #23481) 2015-02-19 17:57:08 -05:00
Benjamin Peterson e3a950e510 remove RPM file, which is unused and unmaintained 2015-02-18 08:57:27 -05:00
Serhiy Storchaka ad9a1ba504 Issue #23474: Enhanced locale testing. 2015-02-18 08:04:26 +02:00
Serhiy Storchaka a2269d074b Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer
overflows.  Added few missed PyErr_NoMemory().
2015-02-16 13:16:07 +02:00
Serhiy Storchaka e8d750c05b Issue #23115: Fixed compilation on OpenBSD (Py_MIN is not defined in 2.7). 2015-02-16 08:05:10 +02:00
Serhiy Storchaka 66a9b72c38 Merge heads 2015-02-16 01:50:04 +02:00
Serhiy Storchaka e06224340d Backed out changeset 7d2018774925 2015-02-16 01:49:22 +02:00
Serhiy Storchaka c769040100 Issue #22885: Fixed arbitrary code execution vulnerability in the dumbdbm
module.  Original patch by Claudiu Popa.
2015-02-16 00:29:52 +02:00
Serhiy Storchaka eab2fd10cf Use os.devnull instead of hardcoded '/dev/null'. 2015-02-15 13:57:49 +02:00
Serhiy Storchaka 66306cf6d4 Issue #21934: test_file2k no longer create regular file /dev/full on OpenBSD
when run as root.  Extended testing with /dev/full.
Based on patch by Daniel Dickman.
2015-02-15 13:05:10 +02:00
Serhiy Storchaka 4c2bada216 Issue #17753: Skip test_zipfile tests which require write access to test
and email.test.
2015-02-14 23:17:13 +02:00
Serhiy Storchaka b6b48e637f Issue #22844: Fized test_gdb failure on Debian Wheezy for Z.
Patch by David Edelsohn.
2015-02-14 22:44:35 +02:00
Benjamin Peterson 4cc93db9b3 avoid reading unallocated memory when argc == 0 (closes #22633) 2015-02-14 15:17:25 -05:00
Serhiy Storchaka 7fe04f1dca Issue #21849: Fixed xmlrpclib serialization of non-ASCII unicode strings in
the multiprocessing module.
2015-02-13 15:08:36 +02:00
Serhiy Storchaka 3be0d0e1f4 Issue #21840: Fixed a typo. 2015-02-13 12:47:08 +02:00
Serhiy Storchaka 2bd8b22b6d Issue #21840: Fixed expanding unicode variables of form $var in
posixpath.expandvars().  Fixed all os.path implementations on
unicode-disabled builds.
2015-02-13 12:02:05 +02:00
Serhiy Storchaka 4068b01cb5 Issue #23392: Added tests for marshal C API that works with FILE*. 2015-02-06 08:56:33 +02:00
Serhiy Storchaka dd8430fa64 Issue #23881: Only use entry-values with gdb 7.4 in tests.
Fixes a regression in issue #22765.  Patch by Vinson Lee.
2015-02-06 08:36:14 +02:00
Ned Deily e0944c94e0 Fix missing :ref: for idle in doc build. 2015-02-06 15:41:27 +11:00
Ned Deily ca7ecf3194 Issue #23212: Update OS X installer build OpenSSL to 1.0.1l.
(currently only used for builds with <= 10.5 deployment targets)
2015-02-06 14:11:36 +11:00
Serhiy Storchaka dbd85aac85 Issue #18982: Fixed newlines in calendar CLI tests on Windows. 2015-02-05 18:03:27 +02:00
Serhiy Storchaka d44bcc9b2f Issue #18982: Add tests for CLI of the calendar module. 2015-02-05 15:18:26 +02:00
Ned Deily fa11978f1b Issue #23345: Prevent test_ssl failures with large OpenSSL patch level
values (like 0.9.8zc).
2015-02-05 17:19:11 +11:00
Benjamin Peterson ad5ddf79c3 remove parenthesis from print statement (closes #23396) 2015-02-04 22:06:55 -05:00