[Python-Dev] Evil setattr hack (original) (raw)
Michael Hudson mwh@python.net
Sun, 13 Apr 2003 21:49:17 +0100
- Previous message: [Python-Dev] Evil setattr hack
- Next message: [Python-Dev] Evil setattr hack
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum <guido@python.org> writes:
Someone accidentally discovered a way to set attributes of built-in types, even though the implementation tries to prevent this.
[snip]
What to do about this?
Well, one approach would be special cases in PyObject_GenericSetAttr, I guess.
Cheers, M.
--
So what does "abc" / "ab" equal? cheese -- Steve Holden defends obscure semantics on comp.lang.python
- Previous message: [Python-Dev] Evil setattr hack
- Next message: [Python-Dev] Evil setattr hack
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]