Message80625
I think that checking to see which things really exist with
getattr/hasattr made sense back in the days before the __dir__, since in
those days the real API for an object could diverge wildly from what was
reported by dir(object), but nowadays, if someone goes to the trouble of
defining the __dir__ method, then we should just trust that as being
"the API" and not do any other checking. |
|
Date |
User |
Action |
Args |
2009-01-27 06:15:39 | carlj | set | recipients:
+ carlj, georg.brandl, ggenellina |
2009-01-27 06:15:39 | carlj | set | messageid: <1233036939.45.0.639195415593.issue5062@psf.upfronthosting.co.za> |
2009-01-27 06:15:38 | carlj | link | issue5062 messages |
2009-01-27 06:15:37 | carlj | create | |
|