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 refi64
Recipients refi64
Date 2016-10-25.21:47:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477432049.19.0.837809051965.issue28536@psf.upfronthosting.co.za>
In-reply-to
Content
e.g. make this:


class X:
    def __init__(self): pass

X(1)


print something like this:


TypeError: X.__init__() takes 1 positional argument but 2 were given


instead of:


TypeError: __init__() takes 1 positional argument but 2 were given


I'm trying to see if I can create a patch right now, though it probably won't be ready until Thursday.
History
Date User Action Args
2016-10-25 21:47:29refi64setrecipients: + refi64
2016-10-25 21:47:29refi64setmessageid: <1477432049.19.0.837809051965.issue28536@psf.upfronthosting.co.za>
2016-10-25 21:47:29refi64linkissue28536 messages
2016-10-25 21:47:29refi64create