A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2003-January/032265.html below:

[Python-Dev] very slow compare of recursive objects

[Python-Dev] very slow compare of recursive objects [Python-Dev] very slow compare of recursive objectsJeff Epler jepler@unpythonic.net
Mon, 20 Jan 2003 10:49:37 -0600
On Mon, Jan 20, 2003 at 04:53:51PM +0100, Martin v. L=F6wis wrote:
> It doesn't: You can't create a tuple that contains itself, except on
> the C level (which I would declare a bug in the C code that does so).
> So any cycle involving a tuple must involve a non-tuple object as
> well.

But a tuple subclass can.  Does the code use PyTuple_Check or
PyTuple_CheckExact?

Jeff



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