[issue27694] Socket incorrectly states IP address that start with a zero after a dot are illegal

2016-08-05 Thread Haaroon Y

New submission from Haaroon Y:

Using the socket library and the method socket.inet_aton(ipAddr) it incorrectly 
states IP address such as 
192.168.093.1 and 192.092.2.1 are not legal when they are.

--
components: Library (Lib)
messages: 272033
nosy: Haaroon Y
priority: normal
severity: normal
status: open
title: Socket incorrectly states IP address that start with a zero after a dot 
are illegal
type: behavior
versions: Python 2.7

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27694>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27694] Socket incorrectly states IP address that start with a zero after a dot are illegal

2016-08-05 Thread Haaroon Y

Haaroon Y added the comment:

This seems to occur when a IP value is 078 or higher.

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27694>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com