A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-October/017910.html below:

[Python-Dev] Where is PyMarshal_ReadShortFromFile() ?

[Python-Dev] Where is PyMarshal_ReadShortFromFile() ? [Python-Dev] Where is PyMarshal_ReadShortFromFile() ?James C. Ahlstrom jim@interet.com
Fri, 12 Oct 2001 09:04:08 -0400
Tim Peters wrote:

> Not so:  you're making a bad situation worse.  If an extern name doesn't
> begin with "_", it's part of Python's public C API, and *should* be
> documented and tested.  I don't think anyone will let that hold up your
> patch, although everyone probably should.

Yes, I think PyMarshal_ReadLongFromFile() and PyMarshal_ReadShortFromFile()
are indeed part of Python's public C API, and that is why they were in
marshal.c with public declarations.

But they can't be tested by Lib/test_marshal.py because they are not
available in the marshal module.  I don't know of an existing C API
tester, and the names are highly descriptive in lieu of documentation.
And marshal.c has been relegated to supporting module.c anyway.
In short, I think we are getting a bit carried away.

JimA



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