On Mon, Dec 20, 2004, Armin Rigo wrote: > > Hi! > > A single-character diff... > > On Mon, Dec 20, 2004 at 04:25:59AM -0800, arigo at users.sourceforge.net wrote: >> --- marshal.c 27 Jun 2004 16:51:46 -0000 1.79 >> +++ marshal.c 20 Dec 2004 12:25:57 -0000 1.80 >> @@ -893,7 +893,7 @@ >> { >> PyObject *x; >> int version = Py_MARSHAL_VERSION; >> - if (!PyArg_ParseTuple(args, "O|i:dumps", &x, version)) >> + if (!PyArg_ParseTuple(args, "O|i:dumps", &x, &version)) >> return NULL; >> return PyMarshal_WriteObjectToString(x, version); >> } > > Crash. Which means that there is no way in 2.4.0 to marshal an object in the > old version format as a string -- you'd have to work around by writing a real > file and reading it back :-( Brown bag time? -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "19. A language that doesn't affect the way you think about programming, is not worth knowing." --Alan Perlis
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4