[Python-Dev] PySet API
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Mar 29 04:38:41 CEST 2006
More information about the Python-Dev mailing list
Wed Mar 29 04:38:41 CEST 2006
- Previous message: [Python-Dev] PySet API
- Next message: [Python-Dev] Error msgs for new-style division
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Barry Warsaw wrote: > "Perhaps the PySet API can raise an error if it's ever called on > something that's not *exactly* a set? No subclassing allowed. > Shouldn't affect you, and should be an effective deterrent against > abuse of the kind that made the PyDict API an albatross." And perhaps in Py3k the same could be done for dicts, and any other builtin types with concrete access functions? -- Greg
- Previous message: [Python-Dev] PySet API
- Next message: [Python-Dev] Error msgs for new-style division
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list