Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue15538] Avoid nonstandard s6_addr8

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Aug 2, 2012, 8:25 AM

Post #1 of 6 (82 views)
Permalink
[issue15538] Avoid nonstandard s6_addr8

New submission from Philipp Hagemeister:

The s6_addr8 field of in6_addr structs is nonstandard, and therefore not supported on all platforms (android in my example). cpython's socket module should use the standard s6_addr field instead.

----------
components: IO
hgrepos: 144
messages: 167233
nosy: phihag
priority: normal
severity: normal
status: open
title: Avoid nonstandard s6_addr8
type: compile error
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15538>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 2, 2012, 8:27 AM

Post #2 of 6 (78 views)
Permalink
[issue15538] Avoid nonstandard s6_addr8 [In reply to]

Changes by Philipp Hagemeister <phihag [at] phihag>:


----------
keywords: +patch
Added file: http://bugs.python.org/file26664/issue15538.patch

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15538>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 2, 2012, 8:36 AM

Post #3 of 6 (78 views)
Permalink
[issue15538] Avoid nonstandard s6_addr8 [In reply to]

Changes by Martin v. Löwis <martin [at] v>:


----------
versions: -Python 2.6, Python 3.1

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15538>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 2, 2012, 9:18 AM

Post #4 of 6 (78 views)
Permalink
[issue15538] Avoid nonstandard s6_addr8 [In reply to]

Antoine Pitrou added the comment:

Android doesn't have getaddrinfo()? getaddrinfo.c and getnameinfo.c only get compiled when the OS doesn't provide the same-named functions.

----------
nosy: +pitrou
stage: -> patch review

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15538>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 2, 2012, 11:42 AM

Post #5 of 6 (78 views)
Permalink
[issue15538] Avoid nonstandard s6_addr8 [In reply to]

Roundup Robot added the comment:

New changeset 86558ff7ce33 by Antoine Pitrou in branch '2.7':
Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation code.
http://hg.python.org/cpython/rev/86558ff7ce33

New changeset 547f3a55a216 by Antoine Pitrou in branch '3.2':
Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation code.
http://hg.python.org/cpython/rev/547f3a55a216

New changeset 61a56e982e98 by Antoine Pitrou in branch 'default':
Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation code.
http://hg.python.org/cpython/rev/61a56e982e98

----------
nosy: +python-dev

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15538>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 2, 2012, 11:44 AM

Post #6 of 6 (83 views)
Permalink
[issue15538] Avoid nonstandard s6_addr8 [In reply to]

Antoine Pitrou added the comment:

Ok, I couldn't test the patch as getipnodebyname / getipnodebyaddr don't exist here, but I committed it anyway. If it still doesn't work, please re-open the issue.

----------
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
versions: -Python 3.4

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15538>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.