forked from python/peps
-
Notifications
You must be signed in to change notification settings - Fork 0
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
pep8/greppable exception messages #1
Closed
Closed
Conversation
This file contains 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
python#2305) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
They were top-level sections. I also moved up the Runtime Behavior section to answer the question of where LiteralString lives, since right now it's buried in the PEP.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* fill in Discussions-To * fix future references in Rationale * Remove "code-block:: pycon", since it applies a proportional font to '>>>' and '...', which looks odd and misaligns indents. * grammar fix
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
…oduleByDef (pythonGH-2319) * PEP 630: add disclaimers re. heap types & conversion, and PyType_GetModuleByDef Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Also adjust the wording of the first line of the Abstract. I changed "static type annotations" to "type annotations" since the "static" part is redundant.
+ Add newlines to make code samples easier to read. + s/argument/parameter/.
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
These are extensive changes in response to the python-dev thread. [1] [1] https://mail.python.org/archives/list/python-dev@python.org/thread/TPLEYDCXFQ4AMTW6F6OQFINSIFYBRFCR/#EPH3PGNKUBUZK26Z2M4SQSPUVIGXZUNB
This does a better job of communicating what this PEP is about.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Chris Angelico <rosuav@gmail.com>
* Added first draft for Lazy Imports PEP * Suggested changes to lazy imports PEP. * Add another example of forcing eager imports. * Update pep-9999.rst Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> * Update Carl's email * Update pep-9999.rst Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> * Update pep-9999.rst Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> * Update pep-9999.rst Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> * Update pep-9999.rst Co-authored-by: Carl Meyer <carl@oddbird.net> * Update and rename pep-9999.rst to pep-0690.rst * Update .github/CODEOWNERS Co-authored-by: Carl Meyer <carl@oddbird.net> * Update pep-0690.rst Co-authored-by: Carl Meyer <carl@oddbird.net> * Update pep-0690.rst Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> * Added myself to AUTHOR_OVERRIDES * More updates to lazy imports * Resolved comments * More updates to lazy imports PEP. * Update pep-0690.rst Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Carl Meyer <carl@oddbird.net> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
…2574) * PEP 690: Add 'per-module opt-in' to rejected ideas * Update pep-0690.rst Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Co-authored-by: Cooper Lees <me@cooperlees.com> Co-authored-by: Donald Stufft <donald@stufft.io> Co-authored-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
This adds a callback to the proposed `importlib.set_eager_imports()`. Co-authored-by: Carl Meyer <carl@oddbird.net>
* Describe JSON format first and more clearly * Clarify versioning * Move content types down and flesh them out more * Expand the conneg section * Expand upon the impact to PEP 458 * Add alternative mechanisms for conneg * Provide recommendations to clients and servers * Add a FAQ for implications for static file serving * Add a FAQ to clarify that TUF targets != URLs * Add a FAQ for application/json * Add a FAQ about PyPI * Add support for PEP 629 in the JSON response body * Add PyPI to the appendix * Recommend ;q=0 on text/html * Rename the dist-info-metadata-available field * Update the PEP-Delegate to Brett Cannon
* PEP 623: Mark it final Implemented in python/cpython#92537 * Add Discussions-To and Resolution header * Fix Discussions-To link
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
master
(Update to only deploy Sphinx on pushing tomaster
python/peps#1987)build.py
for Sphinx builders (Add config option inbuild.py
for Sphinx builders python/peps#1988)Entry points
(PEP 621: Remove mentions of core metadata fromEntry points
python/peps#1989)text
field forlicense
represents__
marker
andneeds
per package version== None
->is None
python/peps#2081).ascii
alternative constructorbytes.ascii()
url
can support any scheme the installer choosesfilename
required.venv
as a common virtual environment name.--require-hashes
:pep:
and:rfc:
roles (Several PEPs: Use explicit:pep:
and:rfc:
roles python/peps#2209)master
in the python/peps repo (Only restrict to deploying on pushes tomaster
in the python/peps repo python/peps#1996)codespell
locally (Add configuration for runningcodespell
locally python/peps#2151).codespell
from Sphinx (Exclude.codespell
from Sphinx python/peps#2264)print
as a statement (PEP 0008: Replaced outdated usages ofprint
as a statement python/peps#2271)str
methods that preserve literal types python/peps#2282)LiteralString
(PEP 675: Switch to the nameLiteralString
python/peps#2292)cgi
(PEP 594: provide examples of how to replace the relevant parts ofcgi
python/peps#2304).add_note()
and acknowledgements section (PEP 678: Update proposal with.add_note()
and acknowledgements section python/peps#2331)typing-sig
thread (PEP 655: Add Discussions-To link to the actual thread python/peps#2344)text/x-rst
the default for the Content-Type header (PEP 1: Make text/x-rst officially the default and update accordingly python/peps#2355)del err.__notes__
, and why we're not just using a list (PEP 678:del err.__notes__
, and why we're not just using a list python/peps#2360)docutils.nodes.Node.findall
(PEP 676: Usedocutils.nodes.Node.findall
python/peps#2363)docutils.nodes.Node.findall
":pep:
references (Add PEP titles and sections as reference title text python/peps#2366)Post-History
(Several PEPs: NormalisePost-History
python/peps#2375)Discussions-To
(PEP 684: Fix invalid format for Discussions-To header python/peps#2395)rel="canonical"
peps.rss
tobuild/
conf.py
(PRS: Explicitly list files to render python/peps#2415)s to match those with (Style: Fix vertical margins of def lists w/o <p>s to match those with python/peps#2427)
importlib.metadata.version
reference (PEP 396: Fiximportlib.metadata.version
reference python/peps#2480)field descriptor
tofield specifier
(PEP 681: Rename "field descriptor" to "field specifier" python/peps#2503)pep_sphinx_extensions
(Infra: add tests python/peps#2545)peps.json
(Include the PEP index inpeps.json
python/peps#2567)HTTP
whenHTML
was intended