Skip to main content

Timeline for A Python wrap-around list

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Jan 30, 2017 at 4:32 vote accept Endulum
Jan 29, 2017 at 21:16 comment added Gareth Rees See the documentation: "built-in types in CPython currently still implement __getslice__(). Therefore, you have to override it in derived classes when implementing slicing."
Jan 29, 2017 at 21:08 comment added Endulum Wonderful! One clarification: Do I understand correctly that the __*slice__ methods are redundant if I'm handling slices in __*item__, even in 2.7.X?
Jan 29, 2017 at 19:15 history edited Gareth Rees CC BY-SA 3.0
deleted 28 characters in body
Jan 29, 2017 at 18:48 history answered Gareth Rees CC BY-SA 3.0