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/2003-April/034458.html below:

[Python-Dev] Re: tp_clear return value

[Python-Dev] Re: tp_clear return value [Python-Dev] Re: tp_clear return valueMartin v. Löwis martin@v.loewis.de
10 Apr 2003 07:33:22 +0200
"Tim Peters" <tim_one@email.msn.com> writes:

> Still, I expect both could be handled by setjmp in the gc module get_ref*
> driver functions and longjmp (as needed) in the gc module visitor functions.
> IOW, the tp_traverse slot functions don't really need to cooperate, or even
> know anything about "early returns".

That would require that tp_traverse does not modify any refcount while
iterating, right? It seems unpythonish to use setjmp/longjmp for
exceptions.

Regards,
Martin




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