FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-115754: Use Py_GetConstant(Py_CONSTANT_EMPTY_STR) by vstinner · Pull Request #125194 · python/cpython · GitHub

/ cpython Public

gh-115754: Use Py_GetConstant(Py_CONSTANT_EMPTY_STR) - #125194

Merged
vstinner merged 3 commits into
python:mainfrom
vstinner:empty_str
Oct 9, 2024
Merged

gh-115754: Use Py_GetConstant(Py_CONSTANT_EMPTY_STR)#125194
vstinner merged 3 commits into
python:mainfrom
vstinner:empty_str

Conversation

vstinner commented Oct 9, 2024
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Replace PyUnicode_New(0, 0) with Py_GetConstant(Py_CONSTANT_EMPTY_STR).

Replace PyUnicode_New(0, 0) with Py_GetConstant(Py_CONSTANT_EMPTY_STR).
vstinner merged commit b9a8ca0 into python:main Oct 9, 2024
vstinner deleted the empty_str branch October 9, 2024 15:15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL