Skip to content

WIP: gh-106593: PyResource API [DO NOT MERGE] - #106596

Closed
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:seq_asobjarray
Closed

vstinner wants to merge 1 commit into
python:mainfrom
vstinner:seq_asobjarray

Conversation

@vstinner

@vstinner vstinner commented Jul 10, 2023 •

Copy link
Copy Markdown
Member
  • Add PyUnicode_AsUTF8Resource()
  • Add PyBytes_AsStringResource()
  • Add PySequence_AsObjectArray()
  • Add Include/pyresource.h
  • Add PyResource_Release() to the stable ABI
  • compute_abstract_methods(): Replace PySequence_Fast() with PySequence_AsObjectArray()

📚 Documentation preview 📚: https://cpython-previews--106596.org.readthedocs.build/

@vstinner

Copy link
Copy Markdown
Member Author

Proof-of-Concept PR for issue #106592 PyResource API and issue #106593 PyObject_AsObjectArray() API.

If these issues design is accepted, I will write a clean PR with doc and tests.

Comment thread Misc/stable_abi.toml
* Add PyUnicode_AsUTF8Resource()
* Add PyBytes_AsStringResource()
* Add PySequence_AsObjectArray()
* Add Include/pyresource.h
* Add PyResource_Close() to the stable ABI
* compute_abstract_methods(): Replace PySequence_Fast()
  with PySequence_AsObjectArray()
@vstinner

Copy link
Copy Markdown
Member Author

I close my PR: #106593 (comment)

@vstinner vstinner closed this Aug 26, 2023
@vstinner
vstinner deleted the seq_asobjarray branch August 26, 2023 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants