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)
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