]> granicus.if.org Git - python/commit
Hopefully this addresses the remaining issues of SF bugs 459235 and
authorGuido van Rossum <guido@python.org>
Thu, 13 Jun 2002 19:17:46 +0000 (19:17 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 13 Jun 2002 19:17:46 +0000 (19:17 +0000)
commit09638c16d842c77c7b9f7c0f339508c0b2a40feb
tree54c714ee3edc4cadab4d765392ddc5f7e20fe622
parentfea59e7f766b950ccd55f9eee87d4032a768fdcc
Hopefully this addresses the remaining issues of SF bugs 459235 and
473985.  Through a subtle rearrangement of some members in the etype
struct (!), mapping methods are now preferred over sequence methods,
which is necessary to support str.__getitem__("hello", slice(4)) etc.
Lib/test/test_descr.py
Objects/typeobject.c