Skip to content
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

[configparser] Add section/option delimiter to ExtendedInterpolation #68319

Open
giflw mannequin opened this issue May 6, 2015 · 3 comments · May be fixed by #101692
Open

[configparser] Add section/option delimiter to ExtendedInterpolation #68319

giflw mannequin opened this issue May 6, 2015 · 3 comments · May be fixed by #101692
Labels
easy stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@giflw
Copy link
Mannequin

giflw mannequin commented May 6, 2015

BPO 24131
Nosy @ambv

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2015-05-06.02:16:28.022>
labels = ['type-feature', 'library']
title = '[configparser] Add section/option delimiter to ExtendedInterpolation'
updated_at = <Date 2015-05-06.02:17:32.032>
user = 'https://bugs.python.org/giflw'

bugs.python.org fields:

activity = <Date 2015-05-06.02:17:32.032>
actor = 'ned.deily'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2015-05-06.02:16:28.022>
creator = 'giflw'
dependencies = []
files = []
hgrepos = []
issue_num = 24131
keywords = []
message_count = 1.0
messages = ['242638']
nosy_count = 2.0
nosy_names = ['lukasz.langa', 'giflw']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue24131'
versions = ['Python 3.5', 'Python 3.6']

Linked PRs

@giflw
Copy link
Mannequin Author

giflw mannequin commented May 6, 2015

Using configparser.ExtendedInterpolation one can interpolate ${section:option}. It would be nice to have a parameter on ExtendedInterpolation __init__ to change the delimiter, thus one can use ${section/option} instead (using '/' instead of ':', for example).

@giflw giflw mannequin added stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels May 6, 2015
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
@obi-wan-shinobi
Copy link

obi-wan-shinobi commented Feb 5, 2023

Hello, I would like to work on this issue and would appreciate some guidance. Can we simply override the __init__ of the base class in ExtendedInterpolation and add a new self.delimiter that the user passes?

@arhadthedev
Copy link
Member

Hi, you can follow the contributor's manual at https://devguide.python.org/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants