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

[Python-Dev] Re: [Python-checkins]python/dist/src/Modules gcmodule.c,2.33.6.5,2.33.6.6

[Python-Dev] Re: [Python-checkins]python/dist/src/Modules gcmodule.c,2.33.6.5,2.33.6.6Tim Peters tim_one@email.msn.com
Sun, 6 Apr 2003 21:30:56 -0400
[Greg Ewing]
> This further confirms my opinion that __del__ methods are evil, and
> the language would be the better for their complete removal.

They sure create more than their share of implementation headaches, so don't
fare well on the "if the implementation is hard to explain, it's a bad idea"
scale.

> Failing that, perhaps they should be made a bit less dynamic, so that
> the GC can make reasonable assumptions about their existence without
> having to execute Python code.

Guido already did so for new-style classes in Python 2.3.  That machinery
doesn't exist in 2.2.2, and old-style classes remain a problem under 2.3
too.  Backward compatibility constrains how much we can get away with, of
course.




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