Issue404525

classification
Title: ConfigParser.remove_option method fails
Type: Severity: normal
Components: Library Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: bckfnn, gle
Priority: normal Keywords:

Created on 2001-02-27.07:29:37 by gle, last changed 2001-02-28.20:36:25 by bckfnn.

Messages
msg285 (view) Author: Gert Lehmann (gle) Date: 2001-02-27.07:29:37
If you try to use the remove_option() method in the 
ConfigParser class, then you get an error message like 
this:

File "...\jython-2.0\Lib\ConfigParser.py", line 364, 
in remove_option
NameError: key

This is beacause the remove_option() method referes to 
an unknown variable called "key" - if you changes this 
to "option" the method works fine.
msg286 (view) Author: Finn Bock (bckfnn) Date: 2001-02-28.20:36:25
Logged In: YES 
user_id=4201

Most of library is copied from CPython2.0 including 
ConfigParser.py. In CPython this bug have been fixed in the 
current CVS and the new version will be included 
automaticly when Jython-2.1 is released. Nothing further is 
needed on our part to solve this bug.
History
Date User Action Args
2001-02-27 07:29:37glecreate