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/2002-June/025243.html below:

[Python-Dev] Null checking

[Python-Dev] Null checking [Python-Dev] Null checkingTim Peters tim.one@comcast.net
Mon, 10 Jun 2002 09:28:57 -0400
[Michael Hudson]
> ...
> I'd also like to know why all the (for instance) methods in
> tupleobject.c start with "if (!PyTuple_Check(self)".  You'd have to
> try REALLY hard to get those tests to fail...

Not at all:  extension modules can pass any sort of nonsense to public API
functions.  Python shouldn't crash as a result.  The checking is expensive,
though.





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