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/2001-January/011553.html below:

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Python ceval.c,2.217,2.218

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Python ceval.c,2.217,2.218Thomas Wouters thomas@xs4all.net
Thu, 11 Jan 2001 22:41:57 +0100
On Thu, Jan 11, 2001 at 12:25:30PM -0800, Mark Hammond wrote:

> I thought rules were pretty clear with reference counting - dont assume
> _anything_ about the object unless you hold a reference (or are damn sure
> someone else does!)

Moshe isn't breaking that rule. He isn't assuming anything about the object,
just about the value of the pointer to that object. I agree, though, that
it's bad practice to rely on it having the old value, after DECREFing it.

-- 
Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!



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