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

Adding iter_process() module-level function #26

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

Adding iter_process() module-level function #26

giampaolo opened this issue May 23, 2014 · 4 comments

Comments

@giampaolo
Copy link
Owner

From billiej...@gmail.com on February 25, 2009 16:42:07

It would make sense adding an iter_process() module-level function similar
to get_process_list() but returning an iterator instead.
get_process_list() could be removed since easily replaceable by
list(iter_process()).

Original issue: http://code.google.com/p/psutil/issues/detail?id=26

@giampaolo
Copy link
Owner Author

From jlo...@gmail.com on February 25, 2009 08:52:55

Per our conversation the other day, I'd suggest naming this process_iter() and
leaving get_process_list() but you can make get_process_list() just a wrapper to
list(process_iter) instead of looping the PID list.

@giampaolo
Copy link
Owner Author

From billiej...@gmail.com on February 26, 2009 03:01:40

Committed as r174 .

Status: Verified

@giampaolo
Copy link
Owner Author

From billiej...@gmail.com on March 17, 2009 08:31:20

Status: Fixed

@giampaolo
Copy link
Owner Author

From g.rodola on March 02, 2013 03:45:47

Updated csets after the SVN -> Mercurial migration: r174 == revision 
93594bb54eb4

Owner: ---

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