This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Incorrect multiprocessing log string in managers.py (python 2.6.2)
Type: behavior Stage:
Components: Library (Lib) Versions: Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: ftofficer, georg.brandl
Priority: normal Keywords: patch

Created on 2009-09-18 09:06 by ftofficer, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
managers-log.patch ftofficer, 2009-09-18 09:06 Patch to fix.
Messages (2)
msg92818 - (view) Author: Zhang Cong (ftofficer) Date: 2009-09-18 09:06
There is an issue in multiprocessing library.
Lib/multiprocessing/managers.py:413:

util.debug('disposing of obj with id %d', ident)

It is '%d' here, but 'ident' is a string.

This always cause an TypeError from logging module once enable logging
on multiprocessing.

Patch is attached to fix the issue.
msg92820 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-09-18 09:18
Fixed in r74903; I used %r as the format code to match the formatting in
create().
History
Date User Action Args
2022-04-11 14:56:53adminsetgithub: 51187
2009-09-18 09:18:44georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg92820

resolution: fixed
2009-09-18 09:06:49ftofficercreate