Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
031bf95d
Commit
031bf95d
authored
Dec 22, 2011
by
Ross Lagerwall
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #11006: Don't issue low level warning in subprocess when pipe2() fails.
parent
3ba95f8b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
Misc/NEWS
Misc/NEWS
+2
-0
Modules/_posixsubprocess.c
Modules/_posixsubprocess.c
+0
-6
No files found.
Misc/NEWS
View file @
031bf95d
...
@@ -97,6 +97,8 @@ Core and Builtins
...
@@ -97,6 +97,8 @@ Core and Builtins
Library
Library
-------
-------
- Issue #11006: Don't issue low level warning in subprocess when pipe2() fails.
- Issue #11829: Fix code execution holes in inspect.getattr_static for
- Issue #11829: Fix code execution holes in inspect.getattr_static for
metaclasses with metaclasses. Patch by Andreas Stührk.
metaclasses with metaclasses. Patch by Andreas Stührk.
...
...
Modules/_posixsubprocess.c
View file @
031bf95d
...
@@ -437,12 +437,6 @@ subprocess_cloexec_pipe(PyObject *self, PyObject *noargs)
...
@@ -437,12 +437,6 @@ subprocess_cloexec_pipe(PyObject *self, PyObject *noargs)
Py_END_ALLOW_THREADS
Py_END_ALLOW_THREADS
if
(
res
!=
0
&&
errno
==
ENOSYS
)
if
(
res
!=
0
&&
errno
==
ENOSYS
)
{
{
if
(
PyErr_WarnEx
(
PyExc_RuntimeWarning
,
"pipe2 set errno ENOSYS; falling "
"back to non-atomic pipe+fcntl."
,
1
)
!=
0
)
{
return
NULL
;
}
{
{
#endif
#endif
/* We hold the GIL which offers some protection from other code calling
/* We hold the GIL which offers some protection from other code calling
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment