Possible wart in PEP-0253

Martin von Loewis loewis at informatik.hu-berlin.de
Tue Sep 18 19:17:52 CEST 2001


ZnickZm at alum.mit.edu (Nick Mathewson) writes:

> Hello all.  In playing around with PEP-0253 behavior, I think I've
> found a possible wart.  If it isn't a wart, it's at least a hole in
> the documentation.

Please note that "assignment to __dict__" is listed as an open item.

> So, what ought I do? Submit this to sourceforge?  To the FAQ?  Or just
> accept that PEP-0253 is heavy business, and try to come to terms with
> it on my own? :)

The latter: not at all. If you can come up with a patch to PEP 253,
that would be best - submit it to SF. I like your notion that
assignment to __dict__ should be allowed if the class is dynamic.

If you merely want to state the problem, please submit a bug report in
the type/class unification category.

Regards,
Martin



More information about the Python-list mailing list