
July 31, 2020
1:29 a.m.
On Thu, Jul 30, 2020 at 22:23 Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:
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)