31 Jul
2020
31 Jul
'20
5:29 a.m.
On Thu, Jul 30, 2020 at 22:23 Greg Ewing
On 31/07/20 4:04 am, Christopher Barker wrote:
(Side note: why ARE the views provided by methods, rather than properties?)
Probably because they construct objects, and are therefore somewhat more expensive than is usually expected for an attribute access.
Also for compatibility (even if imperfect) with Python 2. It’s water over the dam now. —Guido -- --Guido (mobile)