[issue1746656] IPv6 Interface naming/indexing functions
Charles-François Natali
report at bugs.python.org
Wed May 18 23:51:32 CEST 2011
Charles-François Natali <neologix at free.fr> added the comment:
Here's a patch:
- those functions now accept and return str, not bytes arrays
- some of them were not declared static, it's now fixed
- use PyErr_SetFromErrno when errno is set
- add tests (return type, nonexistent interface name/index and invalid argument)
- cleanup
Note that I'm not sure about my char * <-> PyObject conversions, encoding/unicode issues are really something I'm completely oblivious to.
----------
nosy: +neologix
Added file: http://bugs.python.org/file22025/socket_if.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1746656>
_______________________________________
More information about the Python-bugs-list
mailing list