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 soummyaah
Recipients manishearth, mark.dickinson, serhiy.storchaka, soummyaah
Date 2016-09-19.08:20:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474273257.69.0.407189919864.issue28203@psf.upfronthosting.co.za>
In-reply-to
Content
Contains changes made to Objects/complexobject.c
Changed the error message returned when second argument of complex() is not number/string
Originally:
>complex(1j,{1:2})
    Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
    TypeError: complex() argument must be a string or a number, not 'complex'

After patch:
>complex(1j,{1:2})
    Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
    TypeError: complex() argument must be a string or a number, not 'dict'
History
Date User Action Args
2016-09-19 08:20:57soummyaahsetrecipients: + soummyaah, mark.dickinson, serhiy.storchaka, manishearth
2016-09-19 08:20:57soummyaahsetmessageid: <1474273257.69.0.407189919864.issue28203@psf.upfronthosting.co.za>
2016-09-19 08:20:57soummyaahlinkissue28203 messages
2016-09-19 08:20:57soummyaahcreate