[New-bugs-announce] [issue6938] Incorrect multiprocessing log string in managers.py (python 2.6.2)

Zhang Cong report at bugs.python.org
Fri Sep 18 11:06:51 CEST 2009


New submission from Zhang Cong <ftofficer at ftofficer.com>:

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.

----------
components: Library (Lib)
files: managers-log.patch
keywords: patch
messages: 92818
nosy: ftofficer
severity: normal
status: open
title: Incorrect multiprocessing log string in managers.py (python 2.6.2)
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file14922/managers-log.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6938>
_______________________________________


More information about the New-bugs-announce mailing list