[New-bugs-announce] [issue35979] Incorrect __text_signature__ for the __get__ slot wrapper

Dan Snider report at bugs.python.org
Tue Feb 12 19:42:47 EST 2019


New submission from Dan Snider <mr.assume.away at gmail.com>:

The current signature:

    "__get__($self, instance, owner, /)\n--\n\nReturn an attribute of instance, which is of type owner."

doens't match how wrap_descr_get actually parses the arguments to __get__ with:

    PyArg_UnpackTuple(args, "", 1, 2, &obj, &type)

----------
messages: 335378
nosy: bup
priority: normal
severity: normal
status: open
title: Incorrect __text_signature__ for the __get__ slot wrapper

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35979>
_______________________________________


More information about the New-bugs-announce mailing list