Message87751
I understand this is indeed unintuitive. The reason list objects support
the C "mapping protocol" in 3.x is that it is how slicing of lists (and
tuples, for that matter) is implemented. Perhaps the documentation
should carry a warning about this.
Unfortunately, right now there is no easy way in C to check that an
object implements a given ABC. |
|
Date |
User |
Action |
Args |
2009-05-14 18:24:32 | pitrou | set | recipients:
+ pitrou, georg.brandl, rhettinger, jmillikin |
2009-05-14 18:24:31 | pitrou | set | messageid: <1242325471.95.0.703936150009.issue5945@psf.upfronthosting.co.za> |
2009-05-14 18:24:30 | pitrou | link | issue5945 messages |
2009-05-14 18:24:29 | pitrou | create | |
|