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/2006-March/062981.html below:

[Python-Dev] PySet API

[Python-Dev] PySet API [Python-Dev] PySet APIGreg Ewing greg.ewing at canterbury.ac.nz
Wed Mar 29 04:38:41 CEST 2006
Barry Warsaw wrote:

> "Perhaps the PySet API can raise an error if it's ever called on
> something that's not *exactly* a set? No subclassing allowed.
> Shouldn't affect you, and should be an effective deterrent against
> abuse of the kind that made the PyDict API an albatross."

And perhaps in Py3k the same could be done for dicts,
and any other builtin types with concrete access
functions?

--
Greg
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