This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Oren Milman
Recipients Oren Milman, rhettinger, serhiy.storchaka, vstinner
Date 2017-03-16.18:30:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489689012.02.0.852154115459.issue28261@psf.upfronthosting.co.za>
In-reply-to
Content
as Serhiy pointed out in PR 668, here are some more functions that produce the
same kind of wrong error messages:
    - Modules/timemodule.c - gettmarg()
    - Modules/socketmodule.c:
        * getsockaddrarg()
        * socket_getnameinfo()

ISTM that searching for 'PyTuple_Check(' might be a good way to find more such
functions, as they sometimes raise an error in case a type other than tuple was
received (and after that, PyArg_ParseTuple is called).
History
Date User Action Args
2017-03-16 18:30:12Oren Milmansetrecipients: + Oren Milman, rhettinger, vstinner, serhiy.storchaka
2017-03-16 18:30:12Oren Milmansetmessageid: <1489689012.02.0.852154115459.issue28261@psf.upfronthosting.co.za>
2017-03-16 18:30:12Oren Milmanlinkissue28261 messages
2017-03-16 18:30:11Oren Milmancreate