Commit Graph

6099 Commits

Author SHA1 Message Date
Ned Deily
69d7f6a6a7 Issue #26505: Fix typos in getaddrinfo license text.
Patch by Alex Willmer.
2016-03-07 14:51:19 -05:00
Ned Deily
3058eb418a Issue #26406: Avoid unnecessary serialization of getaddrinfo(3) calls on
current versions of OpenBSD and NetBSD.  Patch by A. Jesse Jiryu Davis.
2016-02-23 22:03:39 +11:00
Benjamin Peterson
b2e3946d76 open the cert store readonly
Patch from Chi Hsuan Yen.
2016-02-17 22:13:19 -08:00
Ned Deily
1c2a7b5939 Issue #25924: Avoid unnecessary serialization of getaddrinfo(3) calls on OS X
versions 10.5 or higher.  Original patch by A. Jesse Jiryu Davis.
2016-02-15 16:51:24 +11:00
Charles-François Natali
674a3cd20b Issue #24303: Fix random EEXIST upon multiprocessing semaphores creation with
Linux PID namespaces enabled.
2016-02-12 22:39:21 +00:00
Martin Panter
53ae0ba6e3 Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similar
The original form is incorrect grammar and feels awkward, even though the
meaning is clear.
2016-02-10 05:44:01 +00:00
Serhiy Storchaka
71b71763c5 Issue #25945: Fixed bugs in functools.partial.
Fixed a crash when unpickle the functools.partial object with wrong state.
Fixed a leak in failed functools.partial constructor.
"args" and "keywords" attributes of functools.partial have now always types
tuple and dict correspondingly.
2016-02-02 18:45:59 +02:00
Martin Panter
1d269c1067 Issue #26244: Clarify default zlib compression level in documentation
Based on patch by Aviv Palivoda.
2016-02-03 07:06:33 +00:00
Serhiy Storchaka
4b40c3e69e Fixed a crash in new tests in test_getargs2 added in 60a2d67dacb3 (issue #26198). 2016-01-29 00:55:37 +02:00
Serhiy Storchaka
13ea0c5d9c Fixed an infinite loop in zipimport caused by cebcd2fd3e1f (issue #19883). 2016-01-29 00:37:28 +02:00
Serhiy Storchaka
c4ef384d13 Issue #19883: Fixed possible integer overflows in zipimport. 2016-01-28 21:32:53 +02:00
Serhiy Storchaka
3ecb6ab993 Issue #26198: Added tests for string-related format units of PyArg_Parse*()
functions: "s", "s*", "s#", "t#", "z", "z*", "z#", "w", "w*", "w#", "u",
"u#", "es", "et", "es#", "et#" and "c".
2016-01-28 19:56:04 +02:00
Benjamin Peterson
5640bbb6c5 reject negative data_size 2016-01-21 22:02:46 -08:00
Benjamin Peterson
64ea192b73 prevent buffer overflow in get_data (closes #26171) 2016-01-20 22:23:44 -08:00
Benjamin Peterson
e4309f7f14 fix refleak in error condition 2016-01-20 22:06:43 -08:00
Victor Stinner
b5a1d7536d Replace fpgetmask() with fedisableexcept()
Issue #24520: On FreeBSD, fpgetmask() was deprecated long time ago.
fedisableexcept() is now preferred.
2016-01-20 22:30:58 +01:00
Brett Cannon
c39162de4a Issue #26114: Remove mention of 'Numerical Recipes'. 2016-01-15 09:41:49 -08:00
Benjamin Peterson
f30bad284b remove some copyright notices supserseded by the toplevel ones 2016-01-01 11:53:47 -06:00
Serhiy Storchaka
2e6c829681 Issue #20440: More use of Py_SETREF.
This patch is manually crafted and contains changes that couldn't be handled
automatically.
2015-12-27 15:41:58 +02:00
Serhiy Storchaka
8688acaf2e Issue #20440: Applied yet one patch for using Py_SETREF.
The patch is automatically generated, it replaces the code that uses Py_CLEAR.
2015-12-27 12:38:48 +02:00
Serhiy Storchaka
20a003bea4 Issue #24103: Fixed possible use after free in ElementTree.iterparse(). 2015-12-24 11:51:24 +02:00
Serhiy Storchaka
5951f2300f Issue #20440: Massive replacing unsafe attribute setting code with special
macro Py_SETREF.
2015-12-24 10:35:35 +02:00
Serhiy Storchaka
c06a6d0958 Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
This allows sys.getsize() to work correctly with their subclasses with
__slots__ defined.
2015-12-19 20:07:48 +02:00
Serhiy Storchaka
33ea29772d Fixed possible leaks in ElementTree parser. 2015-12-09 19:44:30 +02:00
Serhiy Storchaka
45cf0b7f3e Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().
2015-12-06 23:51:53 +02:00