Serhiy Storchaka
|
c679227e31
|
Issue #1772673: The type of `char*` arguments now changed to `const char*`.
|
2013-10-19 21:03:34 +03:00 |
Antoine Pitrou
|
42c25f5581
|
Close #19260: remove outdated comment in marshal.c
|
2013-10-14 20:50:32 +02:00 |
Kristján Valur Jónsson
|
0a7697b718
|
Catch a few extra error cases in marshal.c
|
2013-10-13 15:19:56 +00:00 |
Kristján Valur Jónsson
|
5983258bf2
|
Issue #19219 Remove a lot of "retval = NULL" statements, now that retval
is pre-initialized to that value. Test show a 5% speedup as a bonus.
|
2013-10-13 13:41:59 +00:00 |
Christian Heimes
|
3572842c19
|
Issue #19219: retval may be used uninitialized value
CID 486239: Uninitialized pointer read (UNINIT)
|
2013-10-13 02:29:06 +02:00 |
Antoine Pitrou
|
b30f271299
|
Try to fix weird assertion error on the Fedora buildbot.
|
2013-10-12 23:14:47 +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
|
46e1ce214b
|
Issue #18783: Removed existing mentions of Python long type in docstrings,
error messages and comments.
|
2013-08-27 20:17:03 +03:00 |
Serhiy Storchaka
|
9594942716
|
Issue #18783: Removed existing mentions of Python long type in docstrings,
error messages and comments.
|
2013-08-27 19:40:23 +03:00 |
Antoine Pitrou
|
9ed5f27266
|
Issue #18722: Remove uses of the "register" keyword in C code.
|
2013-08-13 20:18:52 +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 |
Serhiy Storchaka
|
a155d40ed5
|
Fix reference leaks introduced by the patch for issue #5308.
|
2013-07-11 19:19:47 +03:00 |
Serhiy Storchaka
|
dfde2151ed
|
Fix reference leaks introduced by the patch for issue #5308.
|
2013-07-11 19:14:26 +03:00 |
Victor Stinner
|
3a8b79d4d2
|
Issue #18408: Fix marshal reader for Unicode strings: handle
PyUnicode_DecodeUTF8() failure (ex: MemoryError).
|
2013-07-08 22:23:32 +02:00 |
Victor Stinner
|
f1913ca37f
|
marshal: optimize parsing of empty Unicode strings
Don't create a temporary buffer of zeroy byte nor call r_string() if the length
is zero, create directly the empty string.
|
2013-06-21 19:08:06 +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
|
e178187bf6
|
Issue #16475: Simplify the interface to r_ref_allocate and improve comments.
|
2013-03-20 11:43:57 -07:00 |
Benjamin Peterson
|
eddb0a7884
|
fix compiler warning
|
2013-03-20 00:40:07 -05:00 |
Benjamin Peterson
|
605a774a98
|
Backed out changeset 521232b05b97
|
2013-03-20 00:39:41 -05:00 |
Benjamin Peterson
|
c6dc12484b
|
fix compiler warning
|
2013-03-19 23:20:59 -05: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
|
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 |
Martin v. Löwis
|
7e39572aa8
|
Issue #15466: Stop using TYPE_INT64 in marshal,
to make importlib.h (and other byte code files) equal between 32-bit
and 64-bit systems.
|
2012-07-28 19:44:05 +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
|
1c13f84f55
|
Simplify code in marshal.c.
|
2012-03-02 18:22:23 +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 |
Antoine Pitrou
|
679e9d36f7
|
Issue #14172: Fix reference leak when marshalling a buffer-like object (other than a bytes object).
|
2012-03-02 18:12:43 +01:00 |
Martin v. Löwis
|
bd928fef42
|
Rename _Py_identifier to _Py_IDENTIFIER.
|
2011-10-14 10:20:37 +02:00 |
Martin v. Löwis
|
afe55bba33
|
Add API for static strings, primarily good for identifiers.
Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
|
2011-10-09 10:38:36 +02:00 |
Martin v. Löwis
|
d63a3b8beb
|
Implement PEP 393.
|
2011-09-28 07:41:54 +02:00 |
Éric Araujo
|
2527796a22
|
Merge from 3.2 (#10318, #12255, #12043, #12417 and other fixes)
|
2011-07-29 03:11:09 +02:00 |
Éric Araujo
|
6c0ba447bd
|
Fix style in code added by edba722f3b02
|
2011-07-26 17:23:57 +02:00 |
Vinay Sajip
|
aac0f75b3b
|
Correct uninitialized data problem in marshal code.
|
2011-07-02 18:42:21 +01:00 |
Vinay Sajip
|
3232284391
|
Removed breaking typo accidentally introduced during merge with 3.2.
|
2011-07-02 17:19:51 +01:00 |
Vinay Sajip
|
65897a386e
|
Closes #12291 for 3.3 - merged fix from 3.2.
|
2011-07-02 17:16:02 +01:00 |
Vinay Sajip
|
5bdae3bb7c
|
Closes #12291: Fixed bug which was found when doing multiple loads from one stream.
|
2011-07-02 16:42:47 +01:00 |
Vinay Sajip
|
623e8b86af
|
Removed some unused local variables.
|
2011-07-02 17:21:37 +01:00 |
Benjamin Peterson
|
43b068648e
|
try to use the same str object for all code filenames when compiling or unmarshalling (#12190)
This should reduce memory usage.
|
2011-05-27 09:08:01 -05:00 |
Benjamin Peterson
|
d408503b2c
|
remove unused string WILFE attribute
|
2011-05-27 07:53:28 -05:00 |
Antoine Pitrou
|
f95a1b3c53
|
Recorded merge of revisions 81029 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines
Untabify C files. Will watch buildbots.
........
|
2010-05-09 15:52:27 +00:00 |
Antoine Pitrou
|
5bc7ec9476
|
Merged revisions 80325 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80325 | antoine.pitrou | 2010-04-22 00:53:29 +0200 (jeu., 22 avril 2010) | 6 lines
Issue #7332: Remove the 16KB stack-based buffer in
PyMarshal_ReadLastObjectFromFile, which doesn't bring any noticeable
benefit compared to the dynamic memory allocation fallback. Patch by
Charles-François Natali.
........
|
2010-04-21 22:56:22 +00:00 |
Skip Montanaro
|
ba1e0f46ab
|
Issue 7147 - remove ability to attempt to build Python without complex number support (was broken anyway)
|
2009-10-18 14:25:35 +00:00 |
Mark Dickinson
|
2683ab04a6
|
Merged revisions 75141 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75141 | mark.dickinson | 2009-09-29 20:01:06 +0100 (Tue, 29 Sep 2009) | 3 lines
Issue #7019: Unmarshalling of bad long data could produce unnormalized
PyLongs. Raise ValueError instead.
........
|
2009-09-29 19:21:35 +00:00 |
R. David Murray
|
dd226eabe9
|
Merged revisions 72597 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72597 | r.david.murray | 2009-05-12 20:30:29 -0400 (Tue, 12 May 2009) | 2 lines
Issue 5994: add docstrings to marshal.
........
|
2009-05-13 12:27:21 +00:00 |
Martin v. Löwis
|
e0a2b72e61
|
Rename the surrogates error handler to surrogatepass.
|
2009-05-10 08:08:56 +00:00 |
Mark Dickinson
|
725bfd8489
|
Issue #5914: Add new C-API function PyOS_string_to_double, to complement
PyOS_double_to_string, and deprecate PyOS_ascii_strtod and PyOS_ascii_atof.
|
2009-05-03 20:33:40 +00:00 |