Soumya Sharma added the comment:
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 "", line 1, in
TypeE
Soumya Sharma added the comment:
I've signed the contributor agreement form. I think it said that it'll take a
few days to process?
I've made the changes requested and am currently working on the tests. Will
submit a new patch file containing all requir
Soumya Sharma added the comment:
Changed error message to:
>>> complex({1:2},1)
Traceback (most recent call last):
File "", line 1, in
TypeError: complex() first arg must be a string or a number, not 'dict'
>>> complex(1j, {1: 2})
Traceback (most re
Changes by Soumya Sharma :
Removed file: http://bugs.python.org/file44753/Issue28203#2.patch
___
Python tracker
<http://bugs.python.org/issue28203>
___
___
Python-bug
Soumya Sharma added the comment:
Apologies. This is the correct file.
--
Added file: http://bugs.python.org/file44754/Issue28203#3.patch
___
Python tracker
<http://bugs.python.org/issue28
Soumya Sharma added the comment:
Squashed the commits for better readability.
Also, change required in Python 3.4 as well
--
versions: +Python 3.4
Added file: http://bugs.python.org/file44755/Issue28203#4.patch
___
Python tracker
<h
Soumya Sharma added the comment:
Thanks for the merge!
--
___
Python tracker
<http://bugs.python.org/issue28203>
___
___
Python-bugs-list mailing list
Unsub