Skip to content

bpo-20923 : [doc] Explain ConfigParser 'valid section name' and .SECTCRE #31413

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

Merged
merged 4 commits into from
Feb 22, 2022

Conversation

Vidhyavinu
Copy link
Contributor

@Vidhyavinu Vidhyavinu commented Feb 18, 2022

Added "By default, a legal section name can be any string that does not contain '\n' or ']'.
To change this, see :attr:ConfigParser.SECTCRE." in configparser.rst.

https://bugs.python.org/issue20923

Added "By default,  a legal section name can be any string that does not contain '\\n' or ']'.  
To change this, see :attr:`ConfigParser.SECTCRE`." in configparser.rst.
Copy link
Member

@iritkatriel iritkatriel left a comment

Choose a reason for hiding this comment

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

I don't see "legal" used in the doc, I do see "valid".

@terryjreedy - are you ok with this?

@iritkatriel iritkatriel merged commit bba8008 into python:main Feb 22, 2022
@miss-islington
Copy link
Contributor

Thanks @Vidhyavinu for the PR, and @iritkatriel for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 22, 2022
@bedevere-bot
Copy link

GH-31506 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Feb 22, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 22, 2022
@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Feb 22, 2022
@bedevere-bot
Copy link

GH-31507 is a backport of this pull request to the 3.9 branch.

miss-islington added a commit that referenced this pull request Feb 22, 2022
…d .SECTCRE (GH-31413) (GH-31506)

(cherry picked from commit bba8008)


Co-authored-by: vidhya <[email protected]>

Automerge-Triggered-By: GH:iritkatriel
miss-islington added a commit that referenced this pull request Feb 22, 2022
… .SECTCRE (GH-31413) (GH-31507)

(cherry picked from commit bba8008)


Co-authored-by: vidhya <[email protected]>

Automerge-Triggered-By: GH:iritkatriel
@Vidhyavinu
Copy link
Contributor Author

Thank you all.

hello-adam pushed a commit to hello-adam/cpython that referenced this pull request Jun 2, 2022
… .SECTCRE (pythonGH-31413) (pythonGH-31507)

(cherry picked from commit bba8008)


Co-authored-by: vidhya <[email protected]>

Automerge-Triggered-By: GH:iritkatriel
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 news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants