[issue8880] ConfigParser.set does not convert non-string values

Edwin Pozharski report at bugs.python.org
Thu Jun 3 15:37:53 CEST 2010


Edwin Pozharski <pozharski at gmail.com> added the comment:

Thanks - gotta rtfm :)

On Wed, Jun 2, 2010 at 5:33 PM, R. David Murray <report at bugs.python.org>wrote:

>
> R. David Murray <rdmurray at bitdance.com> added the comment:
>
> Use SafeConfigParser instead, then you can't make the mistake of passing
> non-strings to set.
>
> We really should update the docs so that ConfigParser is doced only in a
> 'deprecated' section.  But that's a different issue.  (Care to open it,
> merwok? :)
>
> ----------
> nosy: +r.david.murray
> resolution:  -> wont fix
> stage:  -> committed/rejected
> status: open -> closed
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue8880>
> _______________________________________
>

----------
Added file: http://bugs.python.org/file17531/unnamed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8880>
_______________________________________
-------------- next part --------------
Thanks - gotta rtfm :)<br><br><div class="gmail_quote">On Wed, Jun 2, 2010 at 5:33 PM, R. David Murray <span dir="ltr">&lt;<a href="mailto:report at bugs.python.org">report at bugs.python.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
R. David Murray &lt;<a href="mailto:rdmurray at bitdance.com">rdmurray at bitdance.com</a>&gt; added the comment:<br>
<br>
Use SafeConfigParser instead, then you can&#39;t make the mistake of passing non-strings to set.<br>
<br>
We really should update the docs so that ConfigParser is doced only in a &#39;deprecated&#39; section.  But that&#39;s a different issue.  (Care to open it, merwok? :)<br>
<br>
----------<br>
nosy: +r.david.murray<br>
resolution:  -&gt; wont fix<br>
stage:  -&gt; committed/rejected<br>
status: open -&gt; closed<br>
<div><div></div><div class="h5"><br>
_______________________________________<br>
Python tracker &lt;<a href="mailto:report at bugs.python.org">report at bugs.python.org</a>&gt;<br>
&lt;<a href="http://bugs.python.org/issue8880" target="_blank">http://bugs.python.org/issue8880</a>&gt;<br>
_______________________________________<br>
</div></div></blockquote></div><br>


More information about the Python-bugs-list mailing list