[Python-bugs-list] [ python-Bugs-467021 ] socket.inet_aton() incorrect results. (original) (raw)

noreply@sourceforge.net noreply@sourceforge.net
Mon, 01 Oct 2001 23:27:45 -0700


Bugs item #467021, was opened at 2001-10-01 17:20 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=467021&group_id=5470

Category: Extension Modules Group: Python 2.1.1 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: socket.inet_aton() incorrect results.

Initial Comment: socket.inet_aton("1.2.3.8") gives '\x01\x02\x03\x08' socket.inet_aton("1.2.3.9") gives '\x01\x02\x03\t'


Comment By: James G. sack (jim) (jgsack) Date: 2001-10-01 23:27

Message: Logged In: YES user_id=31123

(Responding to my own post)

It seems I just misread the function spec, and thought it was supposed to return an integer, whereas the docs clearly say 'string four characters in length'.

So.. nevermind! .


You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=467021&group_id=5470