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, serhiy.storchaka
Date 2017-03-17.20:50:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489783811.45.0.48671708067.issue29832@psf.upfronthosting.co.za>
In-reply-to
Content
note that #15988 also left 3 changes for this issue to fix, as can be
seen by searching for '29832' in the comments of PR 668.

for example, this issue should also fix the following inconsistent
error messages:
>>> socket.socket(family=socket.AF_INET6).bind(('::1', -1))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: getsockaddrarg: port must be 0-65535.
>>> socket.socket(family=socket.AF_INET6).bind(('::1', -1 << 1000))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: Python int too large to convert to C long
History
Date User Action Args
2017-03-17 20:50:11Oren Milmansetrecipients: + Oren Milman, serhiy.storchaka
2017-03-17 20:50:11Oren Milmansetmessageid: <1489783811.45.0.48671708067.issue29832@psf.upfronthosting.co.za>
2017-03-17 20:50:11Oren Milmanlinkissue29832 messages
2017-03-17 20:50:11Oren Milmancreate