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

gh-106320: Remove _PyBytes_Join() C API by vstinner · Pull Request #107144 · python/cpython · GitHub

/ cpython Public

gh-106320: Remove _PyBytes_Join() C API - #107144

Merged
vstinner merged 2 commits into
python:mainfrom
vstinner:pycore_bytes
Jul 23, 2023
Merged

gh-106320: Remove _PyBytes_Join() C API#107144
vstinner merged 2 commits into
python:mainfrom
vstinner:pycore_bytes

Conversation

vstinner commented Jul 23, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

Move private _PyBytes functions to the internal C API (pycore_bytesobject.h):

  • _PyBytes_DecodeEscape()
  • _PyBytes_FormatEx()
  • _PyBytes_FromHex()
  • _PyBytes_Join()

No longer export these functions.

Move private _PyBytes functions to the internal C API
(pycore_bytesobject.h):

* _PyBytes_DecodeEscape()
* _PyBytes_FormatEx()
* _PyBytes_FromHex()
* _PyBytes_Join()

No longer export these functions.

Copy link
Copy Markdown
Member Author

I didn't remove the documented _PyBytes_Resize() function: https://docs.python.org/dev/c-api/bytes.html#c._PyBytes_Resize

vstinner merged commit 7d41ead into python:main Jul 23, 2023
vstinner deleted the pycore_bytes branch July 23, 2023 22:38
mementum pushed a commit to mementum/cpython that referenced this pull request Jul 23, 2023
Move private _PyBytes functions to the internal C API
(pycore_bytesobject.h):

* _PyBytes_DecodeEscape()
* _PyBytes_FormatEx()
* _PyBytes_FromHex()
* _PyBytes_Join()

No longer export these functions.
carljm added a commit to carljm/cpython that referenced this pull request Jul 24, 2023
* main: (73 commits)
  Thoroughly refactor the cases generator (python#107151)
  Docs: Add missing markup to Argument Clinic docs (python#106876)
  pythongh-107162: Document errcode.h usage in its comment (python#107177)
  pythongh-106320: Remove private _PyDict C API (python#107145)
  Fix PyVectorcall_Function doc versionadded (python#107140)
  Docs: Remove duplicate word in Argument Clinic howto heading (python#107169)
  pythongh-107017: Change Chapter Strings to Texts in the Introduction chapter. (python#107104)
  pythongh-106320: Remove private _PyObject C API (python#107159)
  Docs: fix typo in os.pwrite docstring (python#107087)
  pythongh-105291: Add link to migration guide for distutils (python#107130)
  pythongh-106948: Docs: Disable links for C standard library functions, OS utility functions and system calls (python#107062)
  pythongh-106320: Remove _PyBytes_Join() C API (python#107144)
  pythongh-106320: Remove private _PyObject C API (python#107147)
  pythongh-106320: Remove _PyTuple_MaybeUntrack() C API (python#107143)
  pythongh-106320: Remove _PyIsSelectable_fd() C API (python#107142)
  Remove superflous whitespaces in `layout.html`. (pythonGH-107067)
  pythongh-107122: Update what's news for dbm.*dbm.clear() method (pythongh-107135)
  pythongh-107122: Add clear method to dbm.ndbm module (pythongh-107126)
  pythongh-62519: Make pgettext search plurals when translation is not found (python#107118)
  pythongh-107122: Add clear method to dbm.gdbm.module (pythongh-107127)
  ...
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.

2 participants


Back | FazBrowse Home | New Git URL