Staging
v0.5.1
https://github.com/python/cpython
Revision 063eba280a11d3c9a5dd9ee5abe4de640907951b authored by Abhilash Raj on 07 September 2019, 05:24:05 UTC, committed by larryhastings on 07 September 2019, 05:24:05 UTC
https://bugs.python.org/issue34155
(cherry picked from commit 8cb65d1381b027f0b09ee36bfed7f35bb4dec9a9)

Co-authored-by: jpic <jpic@users.noreply.github.com>
1 parent afe3a49
Raw File
Tip revision: 063eba280a11d3c9a5dd9ee5abe4de640907951b authored by Abhilash Raj on 07 September 2019, 05:24:05 UTC
[3.5] bpo-34155: Dont parse domains containing @ (GH-13079) (#15317)
Tip revision: 063eba2
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