New submission from Chiu-Hsiang Hsu:
Currently, lru_cache will automatically construct a Python dictionary in the
function as cachedict. IMHO, it will be much more flexible to let users
specified their cachedict, so they can use any kind of dict-like calss as their
cachedict. Thus, users can
Changes by Chiu-Hsiang Hsu :
--
nosy: +wdv4758h
___
Python tracker
<http://bugs.python.org/issue20210>
___
___
Python-bugs-list mailing list
Unsubscribe:
Chiu-Hsiang Hsu added the comment:
Attached refactored patch with tests.
--
Added file: http://bugs.python.org/file41249/print_stats_with_test.patch
___
Python tracker
<http://bugs.python.org/issue25
New submission from Chiu-Hsiang Hsu:
Currently, the result of profile.run can not easily sort by mutiple values with
"sort" keyword argument. Following code will work with this patch.
>>> import cProfile
>>> cProfile.run('42**42', sort=('tottime'
Chiu-Hsiang Hsu added the comment:
I'm not quite sure we should put argument parsing back into the test() function
or just fix docstring. It already expose port and bind through function
arguments. It looks wierd to me to have function arguments & CLI arguments
modifying the same va