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/2004-June/045780.html below:

[Python-Dev] Re: Revised Proposal: thread.get_dict

[Python-Dev] Re: Revised Proposal: thread.get_dict [Python-Dev] Re: Revised Proposal: thread.get_dictEdward Loper edloper at gradient.cis.upenn.edu
Wed Jun 30 15:16:38 EDT 2004
Is this also intended for use as a base class?  In particular, it seems 
like if I have a class Foo, then I can make a thread-local version with 
the following (as long as Foo doesn't rely on overriding 
__getattribute__/__setattr__).

    class LocalFoo(local, Foo): pass

Is that right?  (I can see how it works in the Python implementation, 
but don't know enough about extensions to see if that translates 
directly to the c implementation.)

Actually, does local.__init__() need a call to super(self, 
local).__init__() to make this work?

-Edward

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