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-August/037728.html below:

[Python-Dev] refleak hunting fun!

[Python-Dev] refleak hunting fun! [Python-Dev] refleak hunting fun!Michael Hudson mwh at python.net
Mon Aug 18 19:16:48 EDT 2003
Neal Norwitz <neal at metaslash.com> writes:

> On Mon, Aug 18, 2003 at 02:25:04PM +0100, Michael Hudson wrote:
>> 
>> I did notice that there are more than just leaks here, I'm afraid:
>> 
>> >>> class BadSeq(tuple):
>> ...  def __getitem__(self, i):
>> ...   raise IndexError
>> ... 
>> [25508 refs]
>> >>> filter(None, BadSeq((1,)))
>> Segmentation fault
>
> I found this seg fault too.
>
> The attached patch fixes the problem.  I think it's correct.
>

Me too.

Cheers,
mwh

-- 
  A.D. 1517: Martin Luther nails his 95 Theses to the church door and
             is promptly moderated down to (-1, Flamebait).
        -- http://slashdot.org/comments.pl?sid=01/02/09/1815221&cid=52
                                        (although I've seen it before)

More information about the Python-Dev mailing list

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