Antoine Pitrou <pit...@free.fr> added the comment: Here is a straight port of the patch to py3k, compiling under Linux and Windows. Several problems though:
1. the patch seems incomplete, in that manual decoding of return values is necessary (see posted example obex_test.py) 2. there seems to be no way to test it if you don't have an IRDA device (I don't have any) 3. the patch itself seems fragile: for example, it won't always put a terminating '\0' in sir_name; also, straight memcpy() of an int into a char[] buffer is wrong (endianness issues) ---------- Added file: http://bugs.python.org/file17928/irda-32.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1522400> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com