Commit Graph

79016 Commits

Author SHA1 Message Date
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
Donald Stufft 0c1e98b2b2 Update pip to 6.0.8 2015-02-04 22:02:09 -05:00
Serhiy Storchaka 42aa9c078a Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.
Used PyMem_New to check overflow.
2015-02-03 01:34:09 +02:00
Benjamin Peterson 77a57c7570 _clear_type_cache is cpython-only 2015-02-02 14:06:11 -05:00
Benjamin Peterson dda9121ad1 check for overflows in permutations() and product() (closes #23363, closes #23364) 2015-02-01 21:34:07 -05:00
Benjamin Peterson 17845c1786 check for overflow in combinations_with_replacement (closes #23365) 2015-02-01 21:10:47 -05:00
Benjamin Peterson 021dec1c96 detect overflow in combinations (closes #23366) 2015-02-01 20:59:00 -05:00
Benjamin Peterson 75461e3e2e https goodness 2015-02-01 20:17:22 -05:00
Stefan Krah 1c9bf63a15 Preserve critical whitespace in Doc/*. 2015-02-01 19:49:38 +01:00
Stefan Krah 3f1ef5b756 Issue #23352: Document that Py_buffer.suboffsets must be NULL if no suboffsets
are required.
2015-02-01 19:40:50 +01:00
Stefan Krah 0a7fc53be2 Issue #23370: Fix off-by-one error for non-contiguous buffers. 2015-02-01 16:10:35 +01:00
Vinay Sajip caaaa1413a Added a cookbook entry on logging audible messages. 2015-02-01 15:14:03 +00:00
Steve Dower a0299502c1 Issue #23212: Update Windows copy of OpenSSL to 1.0.1l 2015-01-31 12:18:33 -08:00
Steve Dower 7407f58232 Issue #23199: libpython27.a in amd64 release is 32-bit 2015-01-31 12:15:13 -08:00
Serhiy Storchaka 73bcde20bc Issue #22765: Fixed test_gdb failures. Supressed unexpected gdb output.
Patch by Bohuslav Kabrda.
2015-01-31 11:48:36 +02:00