peter-hst / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

Make process_iter() yield processes sorted by PID #301

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
...Because most of the times this is what the user wants, otherwise he/she is 
supposed to do:

for p in sorted(psutil.process_iter(), key=lambda p: p.pid):
   ...

...which is kind of redundant.
Done in r1423.

Original issue reported on code.google.com by g.rodola on 10 Jul 2012 at 3:48

GoogleCodeExporter commented 9 years ago
Fixed in version 0.6.0, released just now.

Original comment by g.rodola on 13 Aug 2012 at 4:25

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Updated csets after the SVN -> Mercurial migration:
r1423 == revision 4afd7092b633

Original comment by g.rodola on 2 Mar 2013 at 12:10