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
f07c89f6
Commit
f07c89f6
authored
Oct 16, 2009
by
Vinay Sajip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #7120: logging: Removed import of multiprocessing which is causing crash in GAE.
parent
26d8fbd9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
Lib/logging/__init__.py
Lib/logging/__init__.py
+3
-5
Misc/NEWS
Misc/NEWS
+6
-3
No files found.
Lib/logging/__init__.py
View file @
f07c89f6
...
...
@@ -284,12 +284,10 @@ class LogRecord:
self
.
threadName
=
None
if
not
logMultiprocessing
:
self
.
processName
=
None
elif
'multiprocessing'
not
in
sys
.
modules
:
self
.
processName
=
'MainProcess'
else
:
try
:
from
multiprocessing
import
current_process
self
.
processName
=
current_process
().
name
except
ImportError
:
self
.
processName
=
None
self
.
processName
=
sys
.
modules
[
'multiprocessing'
].
current_process
().
name
if
logProcesses
and
hasattr
(
os
,
'getpid'
):
self
.
process
=
os
.
getpid
()
else
:
...
...
Misc/NEWS
View file @
f07c89f6
...
...
@@ -12,6 +12,9 @@ What's New in Python 3.2 Alpha 1?
Core and Builtins
-----------------
- Issue #7120: logging: Removed import of multiprocessing which is causing
crash in GAE.
- Issue #1754094: Improve the stack depth calculation in the compiler.
There should be no other effect than a small decrease in memory use.
Patch by Christopher Tur Lesniewski-Laas.
...
...
@@ -94,11 +97,11 @@ C-API
Library
-------
- Issue #6894: Fixed the issue urllib2 doesn't respect "no_proxy" environment
- Issue #6894: Fixed the issue urllib2 doesn't respect "no_proxy" environment
- Issue #7086: Added TCP support to SysLogHandler, and tidied up some
anachronisms in the code which were a relic of 1.5.2 compatibility.
- Issue #7082: When falling back to the MIME 'name' parameter, the
correct place to look for it is the Content-Type header.
...
...
@@ -1116,7 +1119,7 @@ Core and Builtins
Library
-------
- Issue #6516: Added owner/group support when creating tar archives in
- Issue #6516: Added owner/group support when creating tar archives in
Distutils.
- Issue #6954: Fixed crash when using DISTUTILS_DEBUG flag in Distutils.
...
...
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