Skip to content

bpo-31129: Split RawConfigParser.items() in to two methods #3012

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

Closed
wants to merge 3 commits into from

Conversation

OddBloke
Copy link
Contributor

@OddBloke OddBloke commented Aug 7, 2017

RawConfigParser.section_items() contains the codepath that was run in .items() when arguments were passed. .items() continues to pass through to super().items() when no arguments are passed. If arguments are given, it emits a DeprecationWarning and passes through to .section_items().

https://bugs.python.org/issue31129

Daniel Watkins added 3 commits August 6, 2017 23:33
RawConfigParser.section_items() contains the codepath that was run in
.items() when arguments were passed.  .items() continues to pass through
to super().items() when no arguments are passed.  If arguments are
given, it emits a DeprecationWarning and passes through to
.section_items().
But ensure that we do get a DeprecationWarning.
@gvanrossum
Copy link
Member

Let's not do this. Thanks for your proposal!

@gvanrossum gvanrossum closed this Aug 14, 2017
@OddBloke OddBloke deleted the bpo/31129 branch August 14, 2017 16:46
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.

3 participants