osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

About the implementation of del in Python 3


On 07/07/2017 07:42, Steve D'Aprano wrote:
> On Fri, 7 Jul 2017 03:05 am, Marko Rauhamaa wrote:
> 
...........
> 
> [1] It may actually be instinctive -- there are studies that show that even
> young babies express surprise when they see something that violates the
> intuitive properties of identity. For example, if you pass a toy in front of
> the baby, then behind a screen, and swap it for a different toy before showing
> it again, babies tend to express surprise.
presumably this is after they learn (or make the assumption) of object permanence.
-stuffed-with-assumptions-ly yrs-
Robin Becker