Issue 6938: Incorrect multiprocessing log string in managers.py (python 2.6.2) (original) (raw)

Issue6938

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:53 admin set github: 51187
2009-09-18 09🔞44 georg.brandl set status: open -> closednosy: + georg.brandlmessages: + resolution: fixed
2009-09-18 09:06:49 ftofficer create