[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
- Previous message: [Python-Dev] Issue 643841: Including a new-style proxy base class in 2.6/3.0
- Next message: [Python-Dev] Issue 643841: Including a new-style proxy base class in 2.6/3.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Issue 643841: Including a new-style proxy base class in 2.6/3.0
- Next message: [Python-Dev] Issue 643841: Including a new-style proxy base class in 2.6/3.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]