FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Clarify that error messages are better with PEP 701 by pablogsal · Pull Request #105150 · python/cpython · GitHub

/ cpython Public

Clarify that error messages are better with PEP 701 - #105150

Merged
pablogsal merged 6 commits into
python:mainfrom
pablogsal:better_701
May 31, 2023
Merged

Clarify that error messages are better with PEP 701#105150
pablogsal merged 6 commits into
python:mainfrom
pablogsal:better_701

Conversation

pablogsal commented May 31, 2023
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Member

Copy link
Copy Markdown
Member Author

CC: @mgmacias95

Comment thread Doc/whatsnew/3.12.rst Outdated
Co-authored-by: Marta Gómez Macías <mgmacias@google.com>

Copy link
Copy Markdown
Contributor

For some reason the code is not highlighted in the preview docs:

Is this expected? The other syntax error blocks have the code higlighted:

pablogsal commented May 31, 2023
edited
Loading

Copy link
Copy Markdown
Member Author

Seems that the lexer in sphinx has problems with the $ in the example. I will replace this by another kind of syntax error:

pablogsal merged commit 60cfc6d into python:main May 31, 2023
pablogsal deleted the better_701 branch May 31, 2023 21:01

Copy link
Copy Markdown
Contributor

Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 31, 2023
(cherry picked from commit 60cfc6d)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Marta Gómez Macías <mgmacias@google.com>

Copy link
Copy Markdown

GH-105169 is a backport of this pull request to the 3.12 branch.

bedevere-bot removed the needs backport to 3.12 only security fixes label May 31, 2023
hugovk pushed a commit that referenced this pull request Jun 5, 2023
#105169)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Marta Gómez Macías <mgmacias@google.com>
This file contains hidden or 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL