[Python-Dev] Product iteration

Mark Hammond mhammond@skippinet.com.au
Thu, 27 Jul 2000 14:47:07 +1000


> I know, and I'm not. But the thing is, there are plenty of users of
> CPython which do rely on this feature -- so you're going to break
> people's code. Not nice.

No - we will simply be pointing out their already broken code.  We arent
breaking anything!

I have no problem with this at all.  The sooner we point out the broken
code the better.  The last thing we want is for obviously and documented
broken code to suddenly be considered non-broken simply by the volume of
poor code out there...

Either way, I think you are overstating the problem.  The main scenario is
closing resources, and for most users these are unlikely to be so scarce
that delaying their finalization will cause problems.  If someone is
writing a web-server, for example, and assumes that files or sockets are
automatically closed, and they open them at such a rate that true GC causes
them a problem, then IMO they have got what they deserve ;-)

Mark.