[issue8582] urllib.urlretrieve fails with ValueError: Invalid format string

Senthil Kumaran report at bugs.python.org
Sat May 1 06:38:55 CEST 2010


Senthil Kumaran <orsenthil at gmail.com> added the comment:

Here is the patch and the unittest for this issue.
David: The tests does ensure coverage of urlretrieve method.

- Changes %T to %H:%M:%S in strftime usage in retrieve.
- Coverage of Date header of retrieved file according to format specified.

David, any comments or any further coverage required?

----------
keywords: +patch
Added file: http://bugs.python.org/file17158/issue8582.diff

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


More information about the Python-bugs-list mailing list