We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
GitHub fields:
assignee = None closed_at = <Date 2009-04-03.22:19:17.033> created_at = <Date 2009-04-02.09:04:53.232> labels = ['interpreter-core', 'release-blocker'] title = 'Py_BuildValue("c") should return bytes?' updated_at = <Date 2009-04-03.22:19:17.031> user = 'https://bugs.python.org/ocean-city'
bugs.python.org fields:
activity = <Date 2009-04-03.22:19:17.031> actor = 'benjamin.peterson' assignee = 'none' closed = True closed_date = <Date 2009-04-03.22:19:17.033> closer = 'benjamin.peterson' components = ['Interpreter Core'] creation = <Date 2009-04-02.09:04:53.232> creator = 'ocean-city' dependencies = [] files = ['13574', '13579'] hgrepos = [] issue_num = 5666 keywords = ['patch'] message_count = 4.0 messages = ['85184', '85195', '85196', '85339'] nosy_count = 3.0 nosy_names = ['vstinner', 'ocean-city', 'benjamin.peterson'] pr_nums = [] priority = 'release blocker' resolution = 'fixed' stage = None status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue5666' versions = ['Python 3.1']
The text was updated successfully, but these errors were encountered:
This is related to bpo-5499. PyArg_ParseTuple treats "c" as bytes of 1 length now, but Py_BuildValue still treats "c" as unicode of 1 length.
Sorry, something went wrong.
Let's try grep on py3k: grep 'Py_BuildValue("[^"]*c' $(find -name "*.c")
Py_BuildValue("c") is used for:
I think that curses and array should use "C" format, but... it doesn't exist for Py_BuildValue. It was maybe forgotten.
"C" format, but... it doesn't exist for Py_BuildValue
Ooops, it does exist but it looks that nobody uses it. It's also not documented :-( I wrote a new patch:
Applied the patch in r71107. The issues these depend on can be fixed now.
No branches or pull requests
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: