Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment:

The documentation mentions that the converter attribute of the formatter should 
be signature-compatible with time.localtime() and time.gmtime(), and some users 
will have set this attribute with one or the other or a compatible function. 
Doesn't your change break backward compatibility by changing the signature of 
the converter?

If one wants to implement the functionality you're suggesting, one could 
implement a Formatter subclass that does it, isn't that right? That wouldn't 
cause backward compatibility problems, and could be added in a cookbook recipe.

----------

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

Reply via email to