[issue20911] urllib 'headers' is not a well defined data type

R. David Murray report at bugs.python.org
Thu Mar 13 16:27:34 CET 2014


New submission from R. David Murray:

Some places in the code it is an email.message.Message object.  Some places it is a simple dictionary.  In one place (FTP), it is a string with embedded newlines.

I'm not sure what should be done about this situation, but it looks like a bug magnet, and it makes it pretty much impossible to document the data type.

----------
messages: 213406
nosy: r.david.murray
priority: normal
severity: normal
status: open
title: urllib 'headers' is not a well defined data type
type: behavior

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20911>
_______________________________________


More information about the Python-bugs-list mailing list