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-May/023875.html below:

[Python-Dev] iterzip()

[Python-Dev] iterzip()Neil Schemenauer nas@python.ca
Wed, 1 May 2002 11:31:05 -0700
Tim Peters wrote:
> How do we know which other objects they refer to?

We call tp_traverse on them.

> How do we know that the
> set of objects they refer to will never change?

The assumption is that if the object doesn't have tp_clear then it's
immutable.  That's a little risky I guess.

> And do we have a reason to believe that any type other than tuples
> makes a lick of difference <wink>?

Probably not.

[train algorithm]
> Try adapting Python to it <wink>.

Can't do it without dropping the reference counting and breaking every
extension module (I least I can't figure out a way).

  Neil




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