]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix attribute access for the xrange objects. The tp_getattr and tp_getattro
authorFred Drake <fdrake@acm.org>
Thu, 2 May 2002 16:05:40 +0000 (16:05 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 2 May 2002 16:05:40 +0000 (16:05 +0000)
commitabbad25d2c346412f72592d11aa5ce5050bb404a
tree463ffc24a940b32a8b4cf76368e8e08f6316f020
parent9526aef3ff0dfc1e2813104c3e215a07308edf91
Fix attribute access for the xrange objects.  The tp_getattr and tp_getattro
handlers were both set, but were not compatible.  This change uses only the
tp_getattro handler with a more "modern" approach.
This fixes SF bug #551285.
Objects/rangeobject.c