[issue10141] SocketCan support

2011-08-01 Thread Tiago Gonçalves

Tiago Gonçalves tiagogoncal...@ua.pt added the comment:

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(Oh, 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.

--
Added file: http://bugs.python.org/file22824/socketcan.v2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10141
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10141] SocketCan support

2011-07-19 Thread Tiago Gonçalves

Tiago Gonçalves tiagogoncal...@ua.pt added the comment:

This patch should be easy to verify and includes documentation and the test 
cases.

ogait87@mypc:~/cpython$ hg sum
parent: 71435:6f9d917df541 tip
 Fix test_multiprocessing failure under Windows.
branch: default
commit: 7 modified
update: (current)

--
keywords: +patch
Added file: http://bugs.python.org/file22702/socketcan.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10141
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10141] SocketCan support

2011-07-04 Thread Tiago Gonçalves

Tiago Gonçalves tiagogoncal...@ua.pt added the comment:

There is this simple program that can be easily adapted to test the 
interface. http://old.nabble.com/Socketcan-with-Python-td29286297.html#a29286297

--
nosy: +ogait87

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10141
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com