This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ogait87
Recipients amaury.forgeotdarc, giampaolo.rodola, mluis, neologix, ogait87, orsenthil, rosslagerwall, slanden
Date 2011-08-01.20:57:51
SpamBayes Score 0.00012698681
Marked as misclassified No
Message-id <1312232274.32.0.0277076999045.issue10141@psf.upfronthosting.co.za>
In-reply-to
Content
I think that this time i have included almost every proposed changes.

For the unitTest I did not included the condition "os.getuid() == 0" because of this information in the Linux documentation "3.3 network security issues (capabilities)" http://www.mjmwired.net/kernel/Documentation/networking/can.txt#212. For example, the Ubuntu 10.10 does not require to be root to access socketCAN network interfaces.

For the "return Py_BuildValue("O&h", PyUnicode_DecodeFSDefault, ifname, a->can_family);" i have kept the "h" because in the header file the "a->can_family" is defined as an short int.
History
Date User Action Args
2011-08-01 20:57:55ogait87setrecipients: + ogait87, amaury.forgeotdarc, orsenthil, giampaolo.rodola, neologix, slanden, rosslagerwall, mluis
2011-08-01 20:57:54ogait87setmessageid: <1312232274.32.0.0277076999045.issue10141@psf.upfronthosting.co.za>
2011-08-01 20:57:53ogait87linkissue10141 messages
2011-08-01 20:57:53ogait87create