comparison mercurial/commandserver.py @ 31393:8b6927eb7efd

util: don't use mutable default argument value I don't think this is any tight loops and we'd need to worry about PyObject creation overhead. Also, I'm pretty sure strptime() will be much slower than PyObject creation (date parsing is surprisingly slow).
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 12 Mar 2017 21:54:32 -0700
parents 48dea083f66d
children c8b9943c07eb
comparison
equal deleted inserted replaced
31392:6168d4b93634 31393:8b6927eb7efd