[New-bugs-announce] [issue7142] __repr__ of memoryview object has type unicode; should be str.

Mark Dickinson report at bugs.python.org
Thu Oct 15 17:44:00 CEST 2009


New submission from Mark Dickinson <dickinsm at gmail.com>:

Objects/memoryobject.c makes calls to PyUnicode_FromString and 
PyUnicode_FromFormat.  This prevents building of Python with the --
disable-unicode option.

Here's a patch.

----------
assignee: pitrou
components: Interpreter Core
files: memoryview.patch
keywords: patch
messages: 94094
nosy: mark.dickinson, pitrou
severity: normal
stage: patch review
status: open
title: __repr__ of memoryview object has type unicode; should be str.
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file15138/memoryview.patch

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


More information about the New-bugs-announce mailing list