mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Merged revisions 73818 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r73818 | gregory.p.smith | 2009-07-03 13:48:31 -0700 (Fri, 03 Jul 2009) | 2 lines Adds the select.PIPE_BUF attribute to expose the system constant. ........
This commit is contained in:
parent
05bf01aeae
commit
b970b86975
2 changed files with 11 additions and 0 deletions
|
@ -1764,6 +1764,8 @@ PyInit_select(void)
|
|||
Py_INCREF(SelectError);
|
||||
PyModule_AddObject(m, "error", SelectError);
|
||||
|
||||
PyModule_AddIntConstant(m, "PIPE_BUF", PIPE_BUF);
|
||||
|
||||
#if defined(HAVE_POLL)
|
||||
#ifdef __APPLE__
|
||||
if (select_have_broken_poll()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue