[issue17996] socket module should expose AF_LINK

2013-05-21 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- assignee: -> giampaolo.rodola resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> enhancement ___ Python tracker _

[issue17996] socket module should expose AF_LINK

2013-05-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 155e6fb309f5 by Giampaolo Rodola' in branch 'default': Fix issue #17996: expose socket.AF_LINK constant on BSD and OSX. http://hg.python.org/cpython/rev/155e6fb309f5 -- nosy: +python-dev ___ Python tracke

[issue17996] socket module should expose AF_LINK

2013-05-21 Thread Charles-François Natali
Charles-François Natali added the comment: > Nevermind, it seems changing regen is not necessary. Patch is in attachment. Go ahead! -- ___ Python tracker ___ ___

[issue17996] socket module should expose AF_LINK

2013-05-20 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Nevermind, it seems changing regen is not necessary. Patch is in attachment. -- keywords: +patch Added file: http://bugs.python.org/file30327/AF_LINK.patch ___ Python tracker __

[issue17996] socket module should expose AF_LINK

2013-05-20 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Mmm I'm not sure how to do this properly. Apparently it seems I can: --- a/Lib/plat-freebsd8/regen +++ b/Lib/plat-freebsd8/regen @@ -1,3 +1,3 @@ #! /bin/sh set -v -python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h +python ../../Tool

[issue17996] socket module should expose AF_LINK

2013-05-19 Thread Charles-François Natali
Charles-François Natali added the comment: Well, this just needs a patch :-) -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue17996] socket module should expose AF_LINK

2013-05-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +neologix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue17996] socket module should expose AF_LINK

2013-05-16 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': I bumped into this while exposing getifaddrs() [1] in psutil: https://code.google.com/p/psutil/issues/detail?id=376 In that case AF_LINK would be useful to distinguish MAC addresses (see also: http://carnivore.it/2010/07/22/python_-_getifaddrs). [1] http: