[issue13665] TypeError: string or integer address expected instead of str instance

2012-01-17 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset b4d9243d16c9 by Ezio Melotti in branch '3.2': #13665: s/string/bytes/ in error message. http://hg.python.org/cpython/rev/b4d9243d16c9 New changeset 0c0ffebfccb0 by Ezio Melotti in branch 'default': #13665: merge

[issue13665] TypeError: string or integer address expected instead of str instance

2012-01-17 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - ezio.melotti resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13665

[issue13665] TypeError: string or integer address expected instead of str instance

2012-01-16 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: LGTM. Thanks for fixing this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13665 ___ ___

[issue13665] TypeError: string or integer address expected instead of str instance

2012-01-15 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Here's a patch. I found a similar instance that says unicode string or integer address expected instead of %s instance, but it's inside an if (!PyUnicode_Check(value)) {} so it should be ok (unicode string could be replaced to 'str'

[issue13665] TypeError: string or integer address expected instead of str instance

2012-01-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13665 ___

[issue13665] TypeError: string or integer address expected instead of str instance

2011-12-30 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +amaury.forgeotdarc, meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13665 ___ ___

[issue13665] TypeError: string or integer address expected instead of str instance

2011-12-26 Thread Jason R. Coombs
New submission from Jason R. Coombs jar...@jaraco.com: When constructing a ctypes.c_char_p with a unicode string, a confusing error message is reported: python -c import ctypes; ctypes.c_char_p('foo') Traceback (most recent call last): File string, line 1, in module TypeError: string or