[issue7834] socket.connect() no longer works with AF_BLUETOOTH L2CAP sockets

2014-07-14 Thread Tim Tisdall
Changes by Tim Tisdall : -- nosy: +Tim.Tisdall ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue7834] socket.connect() no longer works with AF_BLUETOOTH L2CAP sockets

2010-04-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r80610. Thanks! -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue7834] socket.connect() no longer works with AF_BLUETOOTH L2CAP sockets

2010-04-07 Thread Yaniv Aknin
Yaniv Aknin added the comment: I've zero experience with programming bluetooth (to be honest, I only tackled this bug because I'm learning how to contribute to Python and it seemed ultra-easy), so I'm not an authoritative source on whether such a 'loopback' test is possible. On #bluez in fre

[issue7834] socket.connect() no longer works with AF_BLUETOOTH L2CAP sockets

2010-04-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: By the way, even better if you find a way of having unit tests for bluetooth sockets. Is there some kind of "dummy" device which gives predictable results (à la /dev/zero, for example)? -- ___ Python tracker

[issue7834] socket.connect() no longer works with AF_BLUETOOTH L2CAP sockets

2010-04-06 Thread Mathew Martineau
Mathew Martineau added the comment: Yaniv - Please proceed! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7834] socket.connect() no longer works with AF_BLUETOOTH L2CAP sockets

2010-04-06 Thread Yaniv Aknin
Yaniv Aknin added the comment: I wouldn't mind producing the patch, if Mathew is OK with this. -- nosy: +Yaniv.Aknin ___ Python tracker ___ __

[issue7834] socket.connect() no longer works with AF_BLUETOOTH L2CAP sockets

2010-02-11 Thread Mathew Martineau
Mathew Martineau added the comment: I can submit a patch, but my employer has an involved process for doing this (even for small fixes like this). It will take a few more days to get to a point where I can post the patch, but I will do so as soon as I can. -- ___

[issue7834] socket.connect() no longer works with AF_BLUETOOTH L2CAP sockets

2010-02-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Could you produce a patch? -- keywords: +easy nosy: +pitrou priority: -> normal stage: -> needs patch ___ Python tracker ___ _

[issue7834] socket.connect() no longer works with AF_BLUETOOTH L2CAP sockets

2010-02-01 Thread Mathew Martineau
New submission from Mathew Martineau : The sockaddr_l2 struct used with connect() has changed in recent versions of the Linux kernel. There is a new l2_cid member. connect() only works with L2CAP sockets if l2_cid is set to 0. Suggest initializing the whole sockaddr_l2 struct to 0 in getsocka