[Python-Dev] Issue 643841: Including a new-style proxy base class in 2.6/3.0 (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Wed May 28 02:38:09 CEST 2008


Nick Coghlan wrote:

else: # Returned a different object, make a new proxy result = type(self)(result)

You might want to check that the result has the same type as the proxied object before doing that.

-- Greg



More information about the Python-Dev mailing list