Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Try to fix weird assertion error on the Fedora buildbot. | Antoine Pitrou | 2013-10-12 | 1 | -3/+3 | |
| | ||||||
* | Issue #19219: Speed up marshal.loads(), and make pyc files slightly (5% to ↵ | Antoine Pitrou | 2013-10-12 | 1 | -126/+266 | |
| | | | | 10%) smaller. | |||||
* | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -2/+2 | |
|\ | | | | | | | error messages and comments. | |||||
| * | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -2/+2 | |
| | | | | | | | | error messages and comments. | |||||
* | | Issue #18722: Remove uses of the "register" keyword in C code. | Antoine Pitrou | 2013-08-13 | 1 | -2/+2 | |
| | | ||||||
* | | Issue #17872: Fix a segfault in marshal.load() when input stream returns | Serhiy Storchaka | 2013-07-11 | 1 | -15/+20 | |
|\ \ | |/ | | | | | more bytes than requested. | |||||
| * | Issue #17872: Fix a segfault in marshal.load() when input stream returns | Serhiy Storchaka | 2013-07-11 | 1 | -15/+20 | |
| | | | | | | | | more bytes than requested. | |||||
* | | Fix reference leaks introduced by the patch for issue #5308. | Serhiy Storchaka | 2013-07-11 | 1 | -12/+11 | |
|\ \ | |/ | ||||||
| * | Fix reference leaks introduced by the patch for issue #5308. | Serhiy Storchaka | 2013-07-11 | 1 | -12/+11 | |
| | | ||||||
* | | Issue #18408: Fix marshal reader for Unicode strings: handle | Victor Stinner | 2013-07-08 | 1 | -0/+4 | |
| | | | | | | | | PyUnicode_DecodeUTF8() failure (ex: MemoryError). | |||||
* | | marshal: optimize parsing of empty Unicode strings | Victor Stinner | 2013-06-21 | 1 | -12/+17 | |
| | | | | | | | | | | Don't create a temporary buffer of zeroy byte nor call r_string() if the length is zero, create directly the empty string. | |||||
* | | Issue #15480: Remove the deprecated and unused TYPE_INT64 code from marshal. | Antoine Pitrou | 2013-04-13 | 1 | -46/+1 | |
| | | | | | | | | Initial patch by Daniel Riti. | |||||
* | | Issue #16475 : Correctly handle the EOF when reading marshal streams. | Kristján Valur Jónsson | 2013-03-20 | 1 | -9/+9 | |
| | | ||||||
* | | Issue #16475: Simplify the interface to r_ref_allocate and improve comments. | Kristján Valur Jónsson | 2013-03-20 | 1 | -26/+33 | |
| | | ||||||
* | | fix compiler warning | Benjamin Peterson | 2013-03-20 | 1 | -1/+1 | |
| | | ||||||
* | | Backed out changeset 521232b05b97 | Benjamin Peterson | 2013-03-20 | 1 | -1/+1 | |
| | | ||||||
* | | fix compiler warning | Benjamin Peterson | 2013-03-19 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #16475: Support object instancing, recursion and interned strings | Kristján Valur Jónsson | 2013-03-19 | 1 | -27/+245 | |
|/ | | | | in marshal | |||||
* | Issue #5308: Raise ValueError when marshalling too large object (a sequence | Serhiy Storchaka | 2013-02-13 | 1 | -59/+59 | |
|\ | | | | | | | with size >= 2**31), instead of producing illegal marshal data. | |||||
| * | Issue #5308: Raise ValueError when marshalling too large object (a sequence | Serhiy Storchaka | 2013-02-13 | 1 | -59/+59 | |
| | | | | | | | | with size >= 2**31), instead of producing illegal marshal data. | |||||
* | | Issue #15466: Stop using TYPE_INT64 in marshal, | Martin v. Löwis | 2012-07-28 | 1 | -11/+5 | |
| | | | | | | | | | | to make importlib.h (and other byte code files) equal between 32-bit and 64-bit systems. | |||||
* | | - Issue #14177: marshal.loads() now raises TypeError when given an unicode | Antoine Pitrou | 2012-03-03 | 1 | -4/+4 | |
|\ \ | |/ | | | | | string. Patch by Guilherme Gonçalves. | |||||
| * | Issue #14177: marshal.loads() now raises TypeError when given an unicode string. | Antoine Pitrou | 2012-03-03 | 1 | -4/+4 | |
| | | | | | | | | Patch by Guilherme Gonçalves. | |||||
* | | Simplify code in marshal.c. | Antoine Pitrou | 2012-03-02 | 1 | -7/+1 | |
| | | ||||||
* | | Issue #14172: Fix reference leak when marshalling a buffer-like object ↵ | Antoine Pitrou | 2012-03-02 | 1 | -4/+4 | |
|\ \ | |/ | | | | | (other than a bytes object). | |||||
| * | Issue #14172: Fix reference leak when marshalling a buffer-like object ↵ | Antoine Pitrou | 2012-03-02 | 1 | -4/+4 | |
| | | | | | | | | (other than a bytes object). | |||||
* | | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 1 | -3/+3 | |
| | | ||||||
* | | Add API for static strings, primarily good for identifiers. | Martin v. Löwis | 2011-10-09 | 1 | -3/+8 | |
| | | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing. | |||||
* | | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -3/+1 | |
| | | ||||||
* | | Merge from 3.2 (#10318, #12255, #12043, #12417 and other fixes) | Éric Araujo | 2011-07-29 | 1 | -3/+3 | |
|\ \ | |/ | ||||||
| * | Fix style in code added by edba722f3b02 | Éric Araujo | 2011-07-26 | 1 | -3/+3 | |
| | | ||||||
| * | Removed some unused local variables. | Vinay Sajip | 2011-07-02 | 1 | -2/+0 | |
| | | ||||||
* | | Correct uninitialized data problem in marshal code. | Vinay Sajip | 2011-07-02 | 1 | -0/+1 | |
| | | ||||||
* | | Removed breaking typo accidentally introduced during merge with 3.2. | Vinay Sajip | 2011-07-02 | 1 | -4/+0 | |
| | | ||||||
* | | Closes #12291 for 3.3 - merged fix from 3.2. | Vinay Sajip | 2011-07-02 | 1 | -59/+155 | |
|\ \ | |/ | ||||||
| * | Closes #12291: Fixed bug which was found when doing multiple loads from one ↵ | Vinay Sajip | 2011-07-02 | 1 | -60/+155 | |
| | | | | | | | | stream. | |||||
* | | try to use the same str object for all code filenames when compiling or ↵ | Benjamin Peterson | 2011-05-27 | 1 | -0/+19 | |
| | | | | | | | | | | | | unmarshalling (#12190) This should reduce memory usage. | |||||
* | | remove unused string WILFE attribute | Benjamin Peterson | 2011-05-27 | 1 | -16/+0 | |
|/ | ||||||
* | Recorded merge of revisions 81029 via svnmerge from | Antoine Pitrou | 2010-05-09 | 1 | -1065/+1065 | |
| | | | | | | | | | | 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. ........ | |||||
* | Merged revisions 80325 via svnmerge from | Antoine Pitrou | 2010-04-21 | 1 | -16/+4 | |
| | | | | | | | | | | | | | 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. ........ | |||||
* | Issue 7147 - remove ability to attempt to build Python without complex ↵ | Skip Montanaro | 2009-10-18 | 1 | -4/+0 | |
| | | | | number support (was broken anyway) | |||||
* | Merged revisions 75141 via svnmerge from | Mark Dickinson | 2009-09-29 | 1 | -3/+13 | |
| | | | | | | | | | | | 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. ........ | |||||
* | Merged revisions 72597 via svnmerge from | R. David Murray | 2009-05-13 | 1 | -7/+79 | |
| | | | | | | | | | | 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. ........ | |||||
* | Rename the surrogates error handler to surrogatepass. | Martin v. Löwis | 2009-05-10 | 1 | -2/+2 | |
| | ||||||
* | Issue #5914: Add new C-API function PyOS_string_to_double, to complement | Mark Dickinson | 2009-05-03 | 1 | -14/+11 | |
| | | | | PyOS_double_to_string, and deprecate PyOS_ascii_strtod and PyOS_ascii_atof. | |||||
* | Issue #3672: Reject surrogates in utf-8 codec; add surrogates error | Martin v. Löwis | 2009-05-02 | 1 | -2/+4 | |
| | | | | handler. | |||||
* | Added handling of PyOS_double_to_string out-of-memory errors. Closes issue 5775. | Eric Smith | 2009-04-21 | 1 | -27/+41 | |
| | ||||||
* | Make sure that marshal and pickle continue to output 17 | Mark Dickinson | 2009-04-17 | 1 | -3/+3 | |
| | | | | digits of precision for floats. | |||||
* | The other half of Issue #1580: use short float repr where possible. | Eric Smith | 2009-04-16 | 1 | -8/+18 | |
| | | | | | | | | | | | | | | Addresses the float -> string conversion, using David Gay's code which was added in Mark Dickinson's checkin r71663. Also addresses these, which are intertwined with the short repr changes: - Issue #5772: format(1e100, '<') produces '1e+100', not '1.0e+100' - Issue #5515: 'n' formatting with commas no longer works poorly with leading zeros. - PEP 378 Format Specifier for Thousands Separator: implemented for floats. | |||||
* | Issue #4258: Make it possible to use 30-bit digits for PyLongs: | Mark Dickinson | 2009-03-18 | 1 | -40/+106 | |
| | | | | | | | - new configure option --enable-big-digits - new structseq sys.int_info giving information about the internal format By default, 30-bit digits are enabled on 64-bit machines but disabled on 32-bit machines. |