Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

PEP 733: An Evaluation of Python's Public C API #3491

New issue

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

Merged
merged 49 commits into from
Nov 1, 2023
Merged
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
72ad764
first draft as copied from the capi-workgroup repo
iritkatriel Oct 16, 2023
7feea4d
added an email
iritkatriel Oct 16, 2023
32f0f8e
padlock
iritkatriel Oct 16, 2023
7f47ebe
Apply suggestions from code review
iritkatriel Oct 16, 2023
981088e
Apply suggestions from code review
iritkatriel Oct 16, 2023
1f4302e
copyright. Update a couple of author emails
iritkatriel Oct 16, 2023
7c59224
pep number
iritkatriel Oct 16, 2023
348cb6d
update number
iritkatriel Oct 16, 2023
2da5752
add codeowners
iritkatriel Oct 16, 2023
1510019
reword re int types
iritkatriel Oct 16, 2023
f5b749e
add a name
iritkatriel Oct 16, 2023
c5ced72
Apply suggestions from code review
iritkatriel Oct 17, 2023
8ebcf5e
Address review comments from Jelle and David
iritkatriel Oct 17, 2023
c11a4e2
Apply suggestions from code review
iritkatriel Oct 17, 2023
d4bb55e
Update peps/pep-0733.rst
vstinner Oct 17, 2023
2ae8846
Update peps/pep-0733.rst
vstinner Oct 17, 2023
b64c0f4
Update peps/pep-0733.rst
vstinner Oct 17, 2023
332437a
Update peps/pep-0733.rst
vstinner Oct 18, 2023
ccd9909
Update peps/pep-0733.rst
vstinner Oct 18, 2023
ad4020d
Apply suggestions from code review
iritkatriel Oct 18, 2023
b5cbad5
Update .github/CODEOWNERS
vstinner Oct 18, 2023
7860183
Update peps/pep-0733.rst
vstinner Oct 18, 2023
29c938a
address some of the review comments
iritkatriel Oct 18, 2023
717c424
Update peps/pep-0733.rst
JelleZijlstra Oct 18, 2023
bfc627d
address a couple more review comments
iritkatriel Oct 19, 2023
00c0dec
remove obsolete sentence
iritkatriel Oct 19, 2023
d014748
Update peps/pep-0733.rst
vstinner Oct 19, 2023
303683a
Update peps/pep-0733.rst
vstinner Oct 19, 2023
69483ad
Update peps/pep-0733.rst
vstinner Oct 19, 2023
c4747a1
Merge branch 'main' into capi-pep
hugovk Oct 20, 2023
cbaa0a3
apply some of the review comments from Simon and Steve
iritkatriel Oct 20, 2023
4d849c5
add sentence about stable ABI and limited API also not being clearly …
iritkatriel Oct 20, 2023
0526962
review comment from Ronald
iritkatriel Oct 20, 2023
bd51aa3
Update peps/pep-0733.rst
erlend-aasland Oct 20, 2023
e54c36e
apply a couple more review comments
iritkatriel Oct 23, 2023
a0029cb
Update peps/pep-0733.rst
iritkatriel Oct 26, 2023
9a72447
Petr's compromise
iritkatriel Oct 26, 2023
d95b882
reviews from Greg and Mark
iritkatriel Oct 27, 2023
9cd58b9
reword reference management paragraph
iritkatriel Oct 27, 2023
b6d7da9
mention Pythran and Mypyc
iritkatriel Oct 27, 2023
5bb87df
MAL's review
iritkatriel Oct 30, 2023
abfd8a1
more of MAL's review
iritkatriel Oct 30, 2023
97bb32a
mention nogil and jit
iritkatriel Oct 30, 2023
3a7ad9e
Update peps/pep-0733.rst
iritkatriel Oct 30, 2023
5c431eb
PyJNIus is for Android
iritkatriel Oct 30, 2023
b17866a
HPy reference
iritkatriel Oct 31, 2023
05dd7d2
split sentence
iritkatriel Oct 31, 2023
20408e1
remove one author
iritkatriel Oct 31, 2023
d3e45fd
reworded paragraph on specification
iritkatriel Oct 31, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
  • Loading branch information
iritkatriel and hugovk authored Oct 16, 2023
commit 981088e781581ccabb3f48c75746780c7e995b04
18 changes: 9 additions & 9 deletions 18 peps/pep-9999.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ all types of API users:
* Create classes and instantiate them
* Create instances of builtin and user-defined types
and perform operations on them
* Introspect objects, including types, instances, and functions.
* Introspect objects, including types, instances, and functions
* Raise and handle exceptions
* Import modules
* Manage threads
Expand Down Expand Up @@ -568,11 +568,11 @@ The behaviour of ``PySet_Contains`` is different from ``set.__contains__``
[`Issue 6 <https://github.com/capi-workgroup/problems/issues/6>`__].

The fact that ``PyArg_ParseTupleAndKeywords`` takes a non-const
char* array as argument makes it more difficult to use.
``char*`` array as argument makes it more difficult to use
[`Issue 28 <https://github.com/capi-workgroup/problems/issues/28>`__].

Python.h does not expose the whole API. Some headers (like marshal.h)
are not included from Python.h.
``Python.h`` does not expose the whole API. Some headers (like ``marshal.h``)
are not included from ``Python.h``.
[`Issue 43 <https://github.com/capi-workgroup/problems/issues/43>`__].


Expand All @@ -586,28 +586,28 @@ Debug Mode
~~~~~~~~~~

A debug mode that can be activated without recompilation and which
activates various checks that can help detect various types of errors.
activates various checks that can help detect various types of errors
[`Issue 36 <https://github.com/capi-workgroup/problems/issues/36>`__].

Introspection
~~~~~~~~~~~~~

There aren't currently reliable introspection capabilities for objects
defined in C in the same way as there are for Python objects.
defined in C in the same way as there are for Python objects
[`Issue 32 <https://github.com/capi-workgroup/problems/issues/32>`__].

Efficient type checking for heap types, similar to what ``Py*_Check``
can do for a static type.
can do for a static type
[`Issue 17 <https://github.com/capi-workgroup/problems/issues/17>`__].

Improved Interaction with Other Languages
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Interfacing with other GC based languages, and integrating their
GC with Python's GC.
GC with Python's GC
[`Issue 19 <https://github.com/capi-workgroup/problems/issues/19>`__].

Inject foreign stack frames to the traceback.
Inject foreign stack frames to the traceback
[`Issue 18 <https://github.com/capi-workgroup/problems/issues/18>`__].

Concrete strings that can be used in other languages
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.