Message109882
| Author |
pitrou |
| Recipients |
giampaolo.rodola, loewis, pitrou, qyb |
| Date |
2010年07月10日.15:46:37 |
| SpamBayes Score |
2.1179323e-05 |
| Marked as misclassified |
No |
| Message-id |
<1278776800.76.0.0986391325451.issue1522400@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年07月10日 15:46:40 | pitrou | set | recipients:
+ pitrou, loewis, giampaolo.rodola, qyb |
| 2010年07月10日 15:46:40 | pitrou | set | messageid: <1278776800.76.0.0986391325451.issue1522400@psf.upfronthosting.co.za> |
| 2010年07月10日 15:46:39 | pitrou | link | issue1522400 messages |
| 2010年07月10日 15:46:39 | pitrou | create |
|