Skip to content

Conversation

nedbat
Copy link
Member

@nedbat nedbat commented Oct 19, 2025

This was motivated by watching the traffic in the discussion forum. I know it won't prevent simplistic proposals, but it could be a page to link to when explaining why a proposal is insufficient.


📚 Documentation preview 📚: https://cpython-devguide--1671.org.readthedocs.build/developer-workflow/lang-changes/

Copy link
Member

@efimov-mikhail efimov-mikhail left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@StanFromIreland StanFromIreland left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines 148 to 155
Once you are certain you have a language change proposal which will appeal to
the general Python community, you can begin the PEP
process to officially propose the change. See :pep:`1` for
information on PEPs and the PEP process, and the :pep:`PEP Index <0>` for
examples.
Copy link
Member

Choose a reason for hiding this comment

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

Why change the wrapping here? Starting sentences/clauses on their own lines reduces future diffs, and can generally be a good idea.

Copy link
Member Author

Choose a reason for hiding this comment

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

done.

Copy link
Member

Choose a reason for hiding this comment

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

it still seems to be re-wrapped for me, as at 013d355 (#1671)

Copy link
Member Author

Choose a reason for hiding this comment

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

I can't tell what you are suggesting: 1) I should change the line breaks to correspond to clauses, or 2) I shouldn't change the wrapping from the text on main? Some paragraphs have been re-wrapped already.

Copy link
Member

@AA-Turner AA-Turner Oct 19, 2025

Choose a reason for hiding this comment

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

My personal preference would be no uneccessary re-wrapping, but where line wrapping is required, attempt to use the "SemBr" style of wrapping, which seems to be used (at least in this para) at present.

Copy link
Member Author

Choose a reason for hiding this comment

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

I understand people have different preferences, and I know we don't want gratuitous re-wrapping because it makes diffs difficult. At a quick look now, I don't see paragraphs that have been re-wrapped except where significant text has been changed.

Comment on lines 70 to 75
- **Don't** format your idea as a Python Enhancement Proposal (*PEP*).
It's good to use the PEP template as a
guide for what information to include, but don't try to write a full PEP
until the idea has been accepted for further consideration.
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps also add here that keeping the proposal short makes it far more likely that people will actually read it?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not sure how best to describe the right balance between brevity and detail.

Copy link
Member

@AA-Turner AA-Turner Oct 19, 2025

Choose a reason for hiding this comment

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

As a starter for ten?:

"Ensure your description covers all the salient points of the proposal, and make it as short as possible, but no shorter. This maximises the liklihood that other members of the community will have the time to read and consider your proposal, and is a considerate way to be respectful of their time"

Copy link
Member Author

Choose a reason for hiding this comment

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

I added a bullet to the "Do" list about balancing brevity and detail.

@nedbat nedbat force-pushed the nedbat/how-to-change-python branch from 1ed273c to 013d355 Compare October 19, 2025 19:22
Comment on lines 151 to 155
Once you are certain you have a language change proposal which will appeal to
the general Python community, you can begin the PEP
process to officially propose the change. See :pep:`1` for
information on PEPs and the PEP process, and the :pep:`PEP Index <0>` for
examples.
Copy link
Member

@AA-Turner AA-Turner Oct 19, 2025

Choose a reason for hiding this comment

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

We should be explicit here, or in the previous para, that 'support' means having a core dev willing to be the PEP's sponsor (if a PEP-sized idea), it isn't simply a lack of opposition.

Copy link
Member Author

Choose a reason for hiding this comment

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

Added.

Comment on lines 4 to 9
Changing Python
===============

On occasion people come up with an idea for changing or improving Python.
This page explains how to propose changes and what to expect during the
process.
Copy link
Member

Choose a reason for hiding this comment

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

I think retaining some mention of "the Python programming language" or "Python as a programming language" would be useful here -- we're talking about ideas for the language itself, not its use or any third-party applications or libraries.

Perhaps we could even make explicit mention of this, but I don't know if that'd be overkill.

Copy link
Member Author

Choose a reason for hiding this comment

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

Added. It's a little broader that just the language, but I take your point.

@nedbat nedbat merged commit 0ea8758 into python:main Oct 20, 2025
4 checks passed
@nedbat nedbat deleted the nedbat/how-to-change-python branch October 20, 2025 10:35
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.

6 participants