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
Serhiy Storchaka
048e107859
Fixed reference leak when read truncated pickle.
2015-12-01 00:32:49 +02:00
Serhiy Storchaka
b5b76c370b
Fixed compilation error introduced in 745fd5550bc0.
2015-11-26 11:21:47 +02:00
Serhiy Storchaka
c4c64be1b8
Issue #19687 : Fixed possible integer overflows in ElementTree.
...
Based on patch by Christian Heimes.
2015-11-25 20:12:58 +02:00
Serhiy Storchaka
80767a38c7
Issue #25725 : Fixed a reference leak in cPickle.loads() when unpickling
...
invalid data including tuple instructions.
2015-11-25 15:07:49 +02:00
Serhiy Storchaka
5c137669e3
Issue #23914 : Fixed SystemError raised by unpickler on broken pickle data.
2015-11-23 15:20:43 +02:00
Serhiy Storchaka
a0ae9ff006
Issue #19687 : Fixed memory leak on failed Element slice assignment.
2015-11-22 12:31:11 +02:00