Staging
v0.8.1
https://github.com/python/cpython
Revision 66e5742becce38e69a8f09e5f7051445fc57e92e authored by Christian Heimes on 29 January 2018, 13:25:13 UTC, committed by GitHub on 29 January 2018, 13:25:13 UTC
Add test cases for IDNA 2003 and 2008 host names. IDNA 2003
internationalized host names are working since bpo-31399 has landed. IDNA
2008 deviations are still broken and will be fixed in another patch.

Signed-off-by: Christian Heimes <christian@python.org>
1 parent 892d66e
Raw File
Tip revision: 66e5742becce38e69a8f09e5f7051445fc57e92e authored by Christian Heimes on 29 January 2018, 13:25:13 UTC
bpo-28414: ssl module idna test (#5395)
Tip revision: 66e5742
posixmodule.h
/* Declarations shared between the different POSIX-related modules */

#ifndef Py_POSIXMODULE_H
#define Py_POSIXMODULE_H
#ifdef __cplusplus
extern "C" {
#endif

#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif

#ifndef Py_LIMITED_API
#ifndef MS_WINDOWS
PyAPI_FUNC(PyObject *) _PyLong_FromUid(uid_t);
PyAPI_FUNC(PyObject *) _PyLong_FromGid(gid_t);
PyAPI_FUNC(int) _Py_Uid_Converter(PyObject *, void *);
PyAPI_FUNC(int) _Py_Gid_Converter(PyObject *, void *);
#endif /* MS_WINDOWS */
#endif

#ifdef __cplusplus
}
#endif
#endif /* !Py_POSIXMODULE_H */
back to top