Skip to content

simple-api: add PEP 847 - #2197

Open
woodruffw wants to merge 1 commit into
mainfrom
ww/pep847
Open

woodruffw wants to merge 1 commit into
mainfrom
ww/pep847

Conversation

@woodruffw

@woodruffw woodruffw commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

This is mostly verbatim from the "spec" part of the PEP (the server part, which is what's relevant here).

I'll also send an update to the PEP linking to the anchor that will work for this once it's merged.

CC @brettcannon @rgommers


📚 Documentation preview 📚: https://python-packaging-user-guide--2197.org.readthedocs.build/en/2197/

Signed-off-by: William Woodruff <william@yossarian.net>
Comment on lines +53 to +54
If a response to the simple API cannot be honored, the simple API **MUST** respond
with an appropriate HTTP error code (in the range 400-499 or 500-599).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NB this is the one part that's not verbatim: it's implied by HTTP semantics. I could just drop this entire sentence entirely however.

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.

1 participant