[issue7142] __repr__ of memoryview object has type unicode; should be str.
New submission from Mark Dickinson dicki...@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 rep...@bugs.python.org http://bugs.python.org/issue7142 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7142] __repr__ of memoryview object has type unicode; should be str.
Antoine Pitrou pit...@free.fr added the comment: Looks good, obviously. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7142 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7142] __repr__ of memoryview object has type unicode; should be str.
Mark Dickinson dicki...@gmail.com added the comment: Thanks, Antoine. Fixed in r75438. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7142 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com