summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_marshal.py
Commit message (Collapse)AuthorAgeFilesLines
* #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-161-1/+1
|
* Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-211-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........
* #7092 - Silence more py3k deprecation warnings, using ↵Florent Xicluna2010-03-211-1/+3
| | | | test_support.check_py3k_warnings() helper.
* Reverting the Revision: 77368. I committed Flox's big patch for tests bySenthil Kumaran2010-01-081-3/+1
| | | | mistake. ( It may come in for sure tough)
* Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵Senthil Kumaran2010-01-081-1/+3
| | | | Patch by flox
* Issue #7019: Unmarshalling of bad long data could produce unnormalizedMark Dickinson2009-09-291-0/+5
| | | | PyLongs. Raise ValueError instead.
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-1/+1
|
* #1792: Improve performance of marshal.dumps() on large objects by increasingAndrew M. Kuchling2008-05-111-0/+8
| | | | the size of the buffer more quickly.
* Fix marshal's incorrect handling of subclasses of builtin types (backport ↵Raymond Hettinger2007-11-071-0/+11
| | | | candidate).
* Verify neither dumps or loads overflow the stack and segfault.Neal Norwitz2007-05-181-1/+21
|
* Fix bug in marshal where bad data would cause a segfault due toNeal Norwitz2007-05-161-0/+4
| | | | | | lack of an infinite recursion check. Contributed by Damien Miller at Google.
* Fix bugMichael W. Hudson2005-06-131-0/+9
| | | | | | | | [ 1180997 ] lax error-checking in new-in-2.4 marshal stuff which I'd assigned to Martin, but actually turned out to be easy to fix. Also, a test.
* Fix missing assignments of marshal.load() values. Closes #1214662.Skip Montanaro2005-06-041-7/+7
|
* Whitespace normalization.Tim Peters2005-06-031-6/+6
|
* This is my patch:Michael W. Hudson2005-06-031-1/+15
| | | | | | | | | [ 1180995 ] binary formats for marshalling floats Adds 2 new type codes for marshal (binary floats and binary complexes), a new marshal version (2), updates MAGIC and fiddles the de-serializing of code objects to be less likely to clobber the real reason for failing if it fails.
* SF 1098985: set objects cannot be marshalledRaymond Hettinger2005-01-111-0/+12
|
* Any call to marshal.dumps() with the new optional argument 'version' justArmin Rigo2004-12-201-0/+5
| | | | | immediately segfaults, due to a typo! This was obviously never tested... Added a test for it, and also fixed the documentation.
* Marshal clean-up (SF patch #873224)Armin Rigo2004-03-261-0/+5
|
* Whitespace normalization.Tim Peters2004-01-181-4/+4
|
* more extension marshal tests and conversion to unittest - was surprised toSkip Montanaro2003-08-021-39/+183
| | | | see how much of the file was not covered by the build process
* Fix SF 588452: debug build crashes on marshal.dumps([128] * 1000).Thomas Heller2002-07-301-0/+3
| | | | | | | | | See there for a description. Added test case. Bugfix candidate for 2.2.x, not sure about previous versions: probably low priority, because virtually no one runs debug builds.
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* marshal.c r_long64: When reading a TYPE_INT64 value on a box with 32-bitTim Peters2001-08-291-0/+41
ints, convert to PyLong (rather than throwing away the high-order 32 bits).