Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make process_iter() yield processes sorted by PID #301

Closed
giampaolo opened this issue May 23, 2014 · 2 comments
Closed

Make process_iter() yield processes sorted by PID #301

giampaolo opened this issue May 23, 2014 · 2 comments

Comments

@giampaolo
Copy link
Owner

From g.rodola on July 10, 2012 17:48:00

...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: http://code.google.com/p/psutil/issues/detail?id=301

@giampaolo giampaolo self-assigned this May 23, 2014
@giampaolo
Copy link
Owner Author

From g.rodola on August 13, 2012 09:25:13

Fixed in version 0.6.0, released just now.

Status: Fixed
Labels: -Milestone-1.0.0 Milestone-0.6.0

@giampaolo
Copy link
Owner Author

From g.rodola on March 02, 2013 04:10:39

Updated csets after the SVN -> Mercurial migration: r1423 == revision 
4afd7092b633

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant