Staging
v0.5.1
https://github.com/python/cpython
Revision 7527c32f5fedc3260d767900f1014495c0a1b7a5 authored by Serhiy Storchaka on 11 July 2017, 04:43:14 UTC, committed by GitHub on 11 July 2017, 04:43:14 UTC
called with bytes-like argument.
(cherry picked from commit 1180e5a51871fa53ca6892e83fd2e69dc2600447)
1 parent 7f567e7
Raw File
Tip revision: 7527c32f5fedc3260d767900f1014495c0a1b7a5 authored by Serhiy Storchaka on 11 July 2017, 04:43:14 UTC
[3.5] bpo-30879: os.listdir() and os.scandir() now emit bytes names when (GH-2634) (#2657)
Tip revision: 7527c32
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