This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: rest in _interpolate_some is a list not str
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.4
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: rhettinger Nosy List: Andrei Tumbar, SilentGhost, rhettinger
Priority: normal Keywords: patch

Created on 2015-12-13 00:24 by Andrei Tumbar, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
configparser.py Andrei Tumbar, 2015-12-13 00:24
proposed.diff rhettinger, 2015-12-13 02:30 Andrei Tumbar's code expressed as a diff review
Messages (3)
msg256307 - (view) Author: Andrei Tumbar (Andrei Tumbar) Date: 2015-12-13 00:24
Create a list called _rest from rest
then will del rest
instead of while rest:
for rest in _rest
msg256308 - (view) Author: SilentGhost (SilentGhost) * (Python triager) Date: 2015-12-13 00:37
I'm not sure what problem exactly you're trying to report / solve here. I'd suggest you add an explanation of an issue you're experiencing. In any case your current change seem to be breaking too many things.
msg256311 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2015-12-13 02:30
The proposed patch (switching from a while-loop to a for-loop) doesn't make sense with respect to the manipulations that are done in the body of the loop.  It breaks Lib/test/test_configparser.py.

Closing this one because there doesn't appear to be any useful content.
History
Date User Action Args
2022-04-11 14:58:24adminsetgithub: 70041
2015-12-13 02:30:19rhettingersetstatus: open -> closed
files: + proposed.diff
messages: + msg256311

keywords: + patch
resolution: rejected
2015-12-13 02:25:58rhettingersetassignee: rhettinger

nosy: + rhettinger
2015-12-13 00:37:22SilentGhostsetnosy: + SilentGhost
messages: + msg256308

components: + Library (Lib), - Interpreter Core
type: compile error -> behavior
2015-12-13 00:24:50Andrei Tumbarcreate