Message136263
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. |
|
Date |
User |
Action |
Args |
2011-05-18 21:51:32 | neologix | set | recipients:
+ neologix, gregory.p.smith, pitrou, vstinner, christian.heimes, OG7, meiermic, nadeem.vawda, python-dev |
2011-05-18 21:51:32 | neologix | set | messageid: <1305755492.12.0.726045974876.issue1746656@psf.upfronthosting.co.za> |
2011-05-18 21:51:31 | neologix | link | issue1746656 messages |
2011-05-18 21:51:31 | neologix | create | |
|