[Python-Dev] segmentation fault in Python 2.5b3 (trunk:51066)
mwh at python.net
Thu Aug 3 17:51:29 CEST 2006
Duncan Booth <duncan.booth at suttoncourtenay.org.uk> writes:
> Does Coverity recognise objects on Python's internal pools as deallocated?
Coverity doesn't work on that level; it analyzes source code, and
knows about Python's INCREFs and DECREFs.
> The moral is to regard the reference counting rules as law: no matter how
> sure you are that you can cheat, don't or you'll regret it.
This is the truth.
As it seems to me, in Perl you have to be an expert to correctly make
a nested data structure like, say, a list of hashes of instances. In
Python, you have to be an idiot not to be able to do it, because you
just write it down. -- Peter Norvig, comp.lang.functional
More information about the Python-Dev