Skip to content

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

Merged
iritkatriel merged 4 commits into
python:mainfrom
Vidhyavinu:Vidhyavinu-patch-2
Feb 22, 2022
Merged

iritkatriel merged 4 commits into
python:mainfrom
Vidhyavinu:Vidhyavinu-patch-2

Conversation

@Vidhyavinu

@Vidhyavinu Vidhyavinu commented Feb 18, 2022 •

Copy link
Copy Markdown
Contributor

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.

@iritkatriel iritkatriel left a comment

Copy link
Copy Markdown
Member

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?

Comment thread Doc/library/configparser.rst Outdated
Comment thread Doc/library/configparser.rst Outdated
Comment thread Doc/library/configparser.rst Outdated
@iritkatriel
iritkatriel merged commit bba8008 into python:main Feb 22, 2022
@miss-islington

Copy link
Copy Markdown
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
…CRE (pythonGH-31413)

(cherry picked from commit bba8008)

Co-authored-by: vidhya <96202776+Vidhyavinu@users.noreply.github.com>
@bedevere-bot

Copy link
Copy Markdown

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 22, 2022
…CRE (pythonGH-31413)

(cherry picked from commit bba8008)

Co-authored-by: vidhya <96202776+Vidhyavinu@users.noreply.github.com>
@bedevere-bot

Copy link
Copy Markdown

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 <96202776+Vidhyavinu@users.noreply.github.com>

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 <96202776+Vidhyavinu@users.noreply.github.com>

Automerge-Triggered-By: GH:iritkatriel
@Vidhyavinu

Copy link
Copy Markdown
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 <96202776+Vidhyavinu@users.noreply.github.com>

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