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

R. David Murray report at bugs.python.org
Sat May 1 05:22:09 CEST 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

The fact that our docs don't mention it is a clue that it is platform dependent :)

Theoretically it shouldn't be, since it is in Posix:

  http://www.opengroup.org/onlinepubs/009695399/functions/strftime.html

but practically speaking it is, since Windows doesn't support it:

  http://msdn.microsoft.com/en-us/library/fe06s4ak.aspx

Apparently not all unix/linux platforms support it either:

  http://stackoverflow.com/questions/2034242/date-and-strftime-not-same-on-windows-and-linux-why

----------
nosy: +r.david.murray

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


More information about the Python-bugs-list mailing list