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

2016-08-08 Thread R. David Murray
R. David Murray added the comment: See also issue 27612. -- nosy: +r.david.murray ___ Python tracker ___ ___

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

2016-08-05 Thread SilentGhost
Changes by SilentGhost : -- stage: -> resolved ___ Python tracker ___ ___

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

2016-08-05 Thread Martin Panter
Martin Panter added the comment: I am pretty sure it isn’t legal. Python’s inet_aton() just wraps the underlying OS call. According to Posix , the leading zero in 093 would indicate octal notation, but the nine is not a

[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:

[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 ___