Staging
v0.8.1
https://github.com/python/cpython
Revision ff125e1aa9ee4eb928de79320a0e7c1b0c0f58f4 authored by Miss Islington (bot) on 06 September 2017, 03:05:35 UTC, committed by Mariatta on 06 September 2017, 03:05:35 UTC
* call remove_done_callback in finally section

* Optimize get_event_loop and _get_running_loop

* rename _loop_pid as loop_pid and add blurb news

* rename _loop_pid as loop_pid and add blurb news

* add back _RunningLoop

* Update 2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst

* Update 2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst
(cherry picked from commit 80bbe6a7b67f33d0d0976bb8e3e5ba26b6b0e626)
1 parent 1145352
Raw File
Tip revision: ff125e1aa9ee4eb928de79320a0e7c1b0c0f58f4 authored by Miss Islington (bot) on 06 September 2017, 03:05:35 UTC
bpo-31350: Optimize get_event_loop and _get_running_loop (GH-3347) (GH-3373)
Tip revision: ff125e1
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