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
42f9b4e5
Commit
42f9b4e5
authored
Mar 31, 2009
by
Jesse Noller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue 5619: Pass MS CRT debug flags into subprocesses
parent
b7715865
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
0 deletions
+12
-0
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS
Misc/NEWS
+3
-0
Modules/_multiprocessing/win32_functions.c
Modules/_multiprocessing/win32_functions.c
+6
-0
Python/pythonrun.c
Python/pythonrun.c
+2
-0
No files found.
Misc/ACKS
View file @
42f9b4e5
...
...
@@ -685,6 +685,7 @@ Daniel Stutzbach
Nathan Sullivan
Mark Summerfield
Hisao Suzuki
Andrew Svetlov
Kalle Svensson
Paul Swartz
Thenault Sylvain
...
...
Misc/NEWS
View file @
42f9b4e5
...
...
@@ -199,6 +199,9 @@ Core and Builtins
Library
-------
- Issue #5619: Multiprocessing children disobey the debug flag and causes
popups on windows buildbots. Patch applied to work around this issue.
- Issue #5632: Thread.ident was None for the main thread and threads not created
with the threading module.
...
...
Modules/_multiprocessing/win32_functions.c
View file @
42f9b4e5
...
...
@@ -130,6 +130,12 @@ win32_ExitProcess(PyObject *self, PyObject *args)
if
(
!
PyArg_ParseTuple
(
args
,
"I"
,
&
uExitCode
))
return
NULL
;
#if defined(Py_DEBUG)
SetErrorMode
(
SEM_FAILCRITICALERRORS
|
SEM_NOALIGNMENTFAULTEXCEPT
|
SEM_NOGPFAULTERRORBOX
|
SEM_NOOPENFILEERRORBOX
);
_CrtSetReportMode
(
_CRT_ASSERT
,
_CRTDBG_MODE_DEBUG
);
#endif
ExitProcess
(
uExitCode
);
return
NULL
;
...
...
Python/pythonrun.c
View file @
42f9b4e5
...
...
@@ -1634,6 +1634,8 @@ void
Py_FatalError
(
const
char
*
msg
)
{
fprintf
(
stderr
,
"Fatal Python error: %s
\n
"
,
msg
);
fflush
(
stderr
);
/* it helps in Windows debug build */
#ifdef MS_WINDOWS
{
size_t
len
=
strlen
(
msg
);
...
...
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