[Python-Dev] can we stop pretending _PyTyple_Lookup is internal? (original) (raw)
Michael Hudson mwh at python.net
Mon Mar 14 14:26:08 CET 2005
- Previous message: [Python-Dev] can we stop pretending _PyTyple_Lookup is internal?
- Next message: [Python-Dev] can we stop pretending _PyTyple_Lookup is internal?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Armin Rigo <arigo at tunes.org> writes:
Hi Michael,
... PyTypeLookup ... There has been discussions about copyreg.py and at least one other place in the standard library that needs this; it is an essential part of the descriptor model of new-style classes. In my opinion it should be made part not only of the official C API but the Python one too, e.g. as a method of 'type' instances: type(x).lookup('name')
Yes, this would be good too. The patch should be trivial; I guess a little work is required to ensure b/w compat, but not very much really.
Cheers, mwh
-- how am I expected to quit smoking if I have to deal with NT every day -- Ben Raia
- Previous message: [Python-Dev] can we stop pretending _PyTyple_Lookup is internal?
- Next message: [Python-Dev] can we stop pretending _PyTyple_Lookup is internal?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]