IN.SIOCGIFADDR isn't set in /usr/lib/python2.4/plat-linux2/IN.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python |
Unknown
|
Unknown
|
|||
python2.4 (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
considering that I wanted to find my IP address in python, i ran a modified version of : http://
I encountered the following error : IN.SIOCGIFADDR is not defined in IN.py. In fact, IN.py lacks *many* values from original SIOC*...
IN.py says it was generated from /usr/include/
Anyway, if I use 0x8915 in my code, in place of IN.SIOCGIFADDR, the code works as expected, but that's weird... There is an inconsistency somewhere.
Or have I missed something ? (I totally could, i'm pretty new at python and digging in /usr/include, my C skills are the bare minimum...)
Changed in python2.4: | |
importance: | Untriaged → Medium |
status: | Unconfirmed → Confirmed |
i forgot to add i'm on Dapper.