Message 149166 - Python tracker (original) (raw)

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.