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/2004-February/042574.html below:

[Python-Dev] PyDict_Size() error return

[Python-Dev] PyDict_Size() error return [Python-Dev] PyDict_Size() error returnJeremy Hylton jeremy at alum.mit.edu
Sun Feb 15 22:55:11 EST 2004
PyDict_Size() sets an exception and returns 0 if it is passed NULL or a
non-dict.  Is this a bug?  It seems like it should return -1, otherwise
you'd have to distinguish between an empty dict and an error by calling
PyErr_Occurred().

Jeremy



More information about the Python-Dev mailing list

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