Steve Dower added the comment:

Whoops, must have done a bad copy-paste to get that DECREF in there (I couldn't 
apply the patch directly because it didn't come from an HG repo, so I had to do 
it by hand).

MSVC seems somewhat inconsistent about its response:
>>> strftime('aaa%')
''
>>> strftime('aaaa%')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: Invalid format string

How closely do we want to simply expose the underlying C library's behaviour?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24917>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to