summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_marshal.py
Commit message (Collapse)AuthorAgeFilesLines
* 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).