New submission from Ken Cheung <msrbugzi...@gmail.com>:

I observed a code clone from the following files.

function : dlpvalloc @ (file: 
"Python-3.3.0a2/Modules/_ctypes/libffi/src/dlmalloc.c", line: 4360)~4362
function : dlvalloc @ (file: 
"Python-3.3.0a2/Modules/_ctypes/libffi/src/dlmalloc.c", line: 4353)~4355

The function dlpvalloc performs a bitwise operation at return while dlvalloc 
does not. I wonder if this is necessary in dlvalloc. The source code is 
included in the attachment. Hope it helps.

----------
components: Library (Lib)
files: dlmalloc_clone.txt
messages: 162718
nosy: Ken.Cheung
priority: normal
severity: normal
status: open
title: Potential Bugs in dlpvalloc and dlvalloc
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file25950/dlmalloc_clone.txt

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15058>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to