| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
* Clarify how arguments are cast * Limited C API 3.11 no longer cast arguments * No longer remove return value * Require to not change the return type * Don't change macros having multiple return types
|
I updated PEP 670 to take in account @encukou and @gpshead feedback on python-dev and on my python/cpython#31221 review. @encukou @gpshead @erlend-aasland: Would you mind to have a look? |
Sorry, something went wrong.
|
You can read the formatted PEP by clicking in the Files Changes tab on the 3 middle dots (...) menu at the pep-0670.rst line: in this menu, click on "View file". Current link: pep-0670.rst. |
Sorry, something went wrong.
There was a problem hiding this comment.
Fixes for a number of grammar errors in the added/changed text, as well as a few PEP 12 issues and for correct code block syntax highlighting. All the changes are as suggestions, and can be applied cleanly together by simply going to the Files tab, clicking the Add to batch button on each change, and then clicking the Commit button, which will avoid the all problems we both experienced last time. Alternatively, I'm happy to do it for you. Either way, don't forget to pull your branch after doing so. Thanks!
Sorry, something went wrong.
| * ``_Py_atomic_store_64bit()`` | ||
| * ``asdl_seq_SET()`` | ||
| * ``asdl_seq_SET_UNTYPED()`` | ||
| For example, Python 3.7 changed ``PyUnicode_AsUTF8()`` return type from |
There was a problem hiding this comment.
| For example, Python 3.7 changed ``PyUnicode_AsUTF8()`` return type from | |
| For example, Python 3.7 changed ``PyUnicode_AsUTF8()``\ 's return type from |
Fix grammar error
Sorry, something went wrong.
There was a problem hiding this comment.
This grammar error wasn't fixed
Sorry, something went wrong.
There was a problem hiding this comment.
I'm fine with this, Victor.
Sorry, something went wrong.
|
@CAM-Gerlach: I addressed most of your reviews, thanks. |
Sorry, something went wrong.
|
Follow-up: I wrote an email to python-dev: https://mail.python.org/archives/list/python-dev@python.org/thread/VM6I3UHVMME6QRSUOYLK6N2OZHP454W6/ |
Sorry, something went wrong.
|
Good call on using the language:: c directive in lieu of .. code-block:: c on all the code blocks, but it looks like at least a few of the grammar errors cited were not fixed (FYI, you can edit them, e.g. to remove the code-block directive, and apply those instead, to avoid them getting missed in the future). If I do get the chance to do a full copyedit of the PEP (I've been busy with other PEP editor stuff, sorry), I'll clean those up. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.