[New-bugs-announce] [issue15059] Potential Bug in mpd_qresize and mpd_qresize_zero

Ken Cheung report at bugs.python.org
Wed Jun 13 19:52:37 CEST 2012

New submission from Ken Cheung <msrbugzilla at gmail.com>:

I observed a code clone from the following files.

function : mpd_qresize @ (file: "Python-3.3.0a2/Modules/_decimal/libmpdec/mpdecimal.c", line: 481)~493
function : mpd_qresize_zero @ (file: "Python-3.3.0a2/Modules/_decimal/libmpdec/mpdecimal.c", line: 501)~517

The two functions perform different in the else if condition. I wonder this is due to functionality requirement or a bug. The source code is included in the attachment. Hope it helps.

components: Library (Lib)
files: mpdecimal_clone 2.txt
messages: 162719
nosy: Ken.Cheung
priority: normal
severity: normal
status: open
title: Potential Bug in mpd_qresize and mpd_qresize_zero
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file25951/mpdecimal_clone 2.txt

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list