[Python-Dev] Tracker Stats
Ezio Melotti
ezio.melotti at gmail.com
Tue Jul 8 00:38:05 CEST 2014
On Mon, Jul 7, 2014 at 10:01 PM, francis <francismb at email.de> wrote:
> On 06/23/2014 10:12 PM, R. David Murray wrote:
>
>> The stats graphs are based on the data generated for the
>> weekly issue report. I have a patched version of that
>> report that adds the bug/enhancement info. I'll try to dig
>> it up this week; someone ping me if I forget :) It think
>> the patch will need to be updated based on Ezio's changes.
>>
> ping
>
If you just want some numbers you can try this:
>>> import xmlrpclib
>>> x = xmlrpclib.ServerProxy('http://bugs.python.org/xmlrpc', allow_none=True)
>>> open_issues = x.filter('issue', None, dict(status=1)) # 1 == open
>>> len(open_issues)
4541
>>> len(x.filter('issue', open_issues, dict(type=5))) # behavior
1798
>>> len(x.filter('issue', open_issues, dict(type=6))) # enhancement
1557
>>> len(x.filter('issue', open_issues, dict(type=1))) # crash
122
>>> len(x.filter('issue', open_issues, dict(type=2))) # compile error
141
>>> len(x.filter('issue', open_issues, dict(type=3))) # resource usage
103
>>> len(x.filter('issue', open_issues, dict(type=4))) # security
32
>>> len(x.filter('issue', open_issues, dict(type=7))) # performance
83
Best Regards,
Ezio Melotti
More information about the Python-Dev
mailing list