[New-bugs-announce] [issue5666] Py_BuildValue("c") should return bytes?

Hirokazu Yamamoto report at bugs.python.org
Thu Apr 2 11:04:54 CEST 2009


New submission from Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp>:

This is related to #5499. PyArg_ParseTuple treats "c" as bytes of 1
length now, but Py_BuildValue still treats "c" as unicode of 1 length.

----------
components: Interpreter Core
files: py3k_build_value.patch
keywords: patch
messages: 85184
nosy: ocean-city
priority: release blocker
severity: normal
status: open
title: Py_BuildValue("c") should return bytes?
versions: Python 3.1
Added file: http://bugs.python.org/file13574/py3k_build_value.patch

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


More information about the New-bugs-announce mailing list