[Python-Dev] Where is PyMarshal_ReadShortFromFile() ?

Tim Peters tim.one@home.com
Thu, 11 Oct 2001 15:15:32 -0400


[James C. Ahlstrom]
> I am looking at Python 2.2a3.
>
> In Include/, marshal.h declares both PyMarshal_ReadLongFromFile()
> and PyMarshal_ReadShortFromFile(), but the second seems to be
> missing from marshal.c.  Or is it somewhere else?

Doesn't appear to be anywhere.

> Here is the code; put in marshal.c just before ReadLongFromFile
> at line 638:

Please submit as a patch to SourceForge, including doc and test case
changes.