[ python-Bugs-1430436 ] recursive __getattr__ in thread crashes OS X

SourceForge.net noreply at sourceforge.net
Mon Feb 13 05:35:59 CET 2006


Bugs item #1430436, was opened at 2006-02-12 22:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1430436&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Threads
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Aaron Swartz (aaronsw)
Assigned to: Nobody/Anonymous (nobody)
Summary: recursive __getattr__ in thread crashes OS X

Initial Comment:
The following code consistently crashes Python 2.4 on Mac OS X:

import threading

class foo:
    def __getattr__(self, x): self.foo

def j(): foo().bar

t = threading.Thread(target=j, args=())
t.start()

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1430436&group_id=5470


More information about the Python-bugs-list mailing list