[issue13550] Rewrite logging hack of the threading module
Éric Araujo
report at bugs.python.org
Sat Dec 10 17:30:15 CET 2011
Éric Araujo <merwok at netwok.org> added the comment:
On #13550 I asked Guido about the Thing/_Thing function/class indirection and use of _Verbose; the reply:
> IIRC:
>
> The design started out this way because it predates new-style classes. When this was put in one
> couldn't subclass extension types, and there were plans/hopes to replace some of the lock types
> with platform-specific built-in versions on some platforms.
>
> Since it is now possible to write subclassable extension types the Thing/_Thing design is no
> longer needed.
>
> I'm not sure about the _Verbose hacks, if it is deemed not useful I'm fine with letting it go.
----------
nosy: +eric.araujo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13550>
_______________________________________
More information about the Python-bugs-list
mailing list