Content-Length: 310484 | pFad | https://github.com/python/cpython/pull/12497

9E bpo-36299: array('u') uses Py_UCS4 instead of Py_UNICODE by methane · Pull Request #12497 · python/cpython · GitHub
Skip to content

bpo-36299: array('u') uses Py_UCS4 instead of Py_UNICODE #12497

Closed
methane wants to merge 4 commits intopython:masterfrom
methane:array-unicode
Closed

bpo-36299: array('u') uses Py_UCS4 instead of Py_UNICODE #12497
methane wants to merge 4 commits intopython:masterfrom
methane:array-unicode

Conversation

@methane
Copy link
Copy Markdown
Member

@methane methane commented Mar 22, 2019

Comment thread Modules/arraymodule.c Outdated
view->format = (char *)self->ob_descr->formats;
#ifdef Py_UNICODE_WIDE
if (self->ob_descr->typecode == 'u') {
view->format = "w";
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know why this is "w".

@brettcannon brettcannon added the type-bug An unexpected behavior, bug, or error label Mar 27, 2019
@methane methane closed this Apr 22, 2020
@methane methane deleted the array-unicode branch April 28, 2025 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/12497

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy