Message177760
I think PySequence_Check() has same problem.
OTOH, mapping definition says:
> A container object that supports arbitrary key lookups and implements the methods specified in the Mapping or MutableMapping abstract base classes.
- http://docs.python.org/3.3/glossary.html#term-mapping
So the mapping should implement all methods defined in collections.abc.Mapping.
If the sequence should implement all methods defined in collections.abc.Sequence, it's a documentation bug.
Is there a common view about what is the sequence? |
|
Date |
User |
Action |
Args |
2012-12-19 16:41:53 | methane | set | recipients:
+ methane, amaury.forgeotdarc, maker |
2012-12-19 16:41:53 | methane | set | messageid: <1355935313.45.0.458952775287.issue16728@psf.upfronthosting.co.za> |
2012-12-19 16:41:53 | methane | link | issue16728 messages |
2012-12-19 16:41:52 | methane | create | |
|