[issue7142] __repr__ of memoryview object has type unicode; should be str.

2009-10-15 Thread Mark Dickinson
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:

[issue7142] __repr__ of memoryview object has type unicode; should be str.

2009-10-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Looks good, obviously. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7142 ___ ___

[issue7142] __repr__ of memoryview object has type unicode; should be str.

2009-10-15 Thread Mark Dickinson
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