Miss Islington (bot)
51a346d075
Fix fuzz testing for marshal.loads(). (GH-8106)
...
(cherry picked from commit 09bb918a61 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com >
2018-07-05 03:44:11 -07:00
Miss Islington (bot)
3f121a40c7
bpo-33720: Improve tests for the stack overflow in marshal.loads(). (GH-7336)
...
(cherry picked from commit fc05e68d8f )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com >
2018-07-05 01:45:24 -07:00
Miss Islington (bot)
103058e19b
bpo-33720: Reduces maximum marshal recursion depth on release builds. (GH-7401)
...
(cherry picked from commit 2a4a62ba4a )
Co-authored-by: Steve Dower <steve.dower@microsoft.com >
2018-06-04 13:41:49 -07:00
Serhiy Storchaka
00987f6230
bpo-32011: Revert "Issue #15480 : Remove the deprecated and unused TYPE_INT64 code from marshal." ( #4381 )
...
Simplify the reverted code.
This reverts commit e9bbe8b87b .
2017-11-15 17:41:05 +02:00
Victor Stinner
1aa78938b0
Issue #26146 : marshal.loads() now uses the empty frozenset singleton
2016-01-23 14:15:48 +01:00
Serhiy Storchaka
6cfb61f163
Issue #23392 : Added tests for marshal C API that works with FILE*.
2015-02-06 09:00:44 +02:00
Serhiy Storchaka
b51813403f
Issue #23392 : Added tests for marshal C API that works with FILE*.
2015-02-06 08:58:56 +02:00
Steve Dower
f6c69e6cc9
#22734 marshal needs a lower stack depth for debug builds on Windows
2014-11-01 15:15:16 -07:00
Serhiy Storchaka
8f8ec92de8
Issue #19936 : Added executable bits or shebang lines to Python scripts which
...
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface. Fixed
shebang lines in the unittestgui and checkpip scripts.
2014-01-16 17:33:23 +02:00
Serhiy Storchaka
b992a0e102
Issue #19936 : Added executable bits or shebang lines to Python scripts which
...
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface. Fixed
shebang line to use python3 executable in the unittestgui script.
2014-01-16 17:15:49 +02:00
Serhiy Storchaka
786ac7b27d
Issue #19886 : Use better estimated memory requirements for bigmem tests.
...
Incorrect requirements can cause memory swapping.
2014-01-10 13:39:27 +02:00
Serhiy Storchaka
4847e4e1f4
Issue #19886 : Use better estimated memory requirements for bigmem tests.
...
Incorrect requirements can cause memory swapping.
2014-01-10 13:37:54 +02:00
Antoine Pitrou
1164dfcb86
Issue #19219 : Speed up marshal.loads(), and make pyc files slightly (5% to 10%) smaller.
2013-10-12 22:25:39 +02:00
Serhiy Storchaka
f9e6672ae8
Issue #17872 : Fix a segfault in marshal.load() when input stream returns
...
more bytes than requested.
2013-07-11 22:28:18 +03:00
Serhiy Storchaka
3641a74e1c
Issue #17872 : Fix a segfault in marshal.load() when input stream returns
...
more bytes than requested.
2013-07-11 22:20:47 +03:00
Antoine Pitrou
c1ab0bd788
Fix misindent. This would test half less possibilities.
2013-04-13 22:46:33 +02:00
Antoine Pitrou
e9bbe8b87b
Issue #15480 : Remove the deprecated and unused TYPE_INT64 code from marshal.
...
Initial patch by Daniel Riti.
2013-04-13 22:41:09 +02:00
Kristján Valur Jónsson
6168362509
Issue #16475 : Correctly handle the EOF when reading marshal streams.
2013-03-20 14:26:33 -07:00
Kristján Valur Jónsson
d7009c6913
Issue #16475 : Support object instancing, recursion and interned strings
...
in marshal
2013-03-19 18:02:10 -07:00
Serhiy Storchaka
40f42d95f5
Cleanup a test for issue #5308 .
2013-02-13 12:32:24 +02:00
Serhiy Storchaka
5a1f152d19
Issue #5308 : Raise ValueError when marshalling too large object (a sequence
...
with size >= 2**31), instead of producing illegal marshal data.
2013-02-13 12:11:03 +02:00
Serhiy Storchaka
7e0191170e
Issue #5308 : Raise ValueError when marshalling too large object (a sequence
...
with size >= 2**31), instead of producing illegal marshal data.
2013-02-13 12:08:15 +02:00
Antoine Pitrou
0d3a003f24
- Issue #14177 : marshal.loads() now raises TypeError when given an unicode
...
string. Patch by Guilherme Gonçalves.
2012-03-03 02:38:37 +01:00
Antoine Pitrou
4a90ef0363
Issue #14177 : marshal.loads() now raises TypeError when given an unicode string.
...
Patch by Guilherme Gonçalves.
2012-03-03 02:35:32 +01:00
Antoine Pitrou
b2677c7397
Issue #14172 : Fix reference leak when marshalling a buffer-like object (other than a bytes object).
2012-03-02 18:16:38 +01:00