[issue4873] Refcount error and file descriptor leaks in pwd, grp modules

2009-05-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks for the patch. Committed as r73016, r73017, r73018, r73019. -- nosy: +loewis resolution: -> accepted status: open -> closed ___ Python tracker

[issue4873] Refcount error and file descriptor leaks in pwd, grp modules

2009-01-07 Thread David Watson
New submission from David Watson : When investigating issue #4859 I found that when pwd.getpwall() and grp.getgrall() fail due to decoding errors, they leave open file descriptors referring to the passwd and group files, since they don't call the end*ent() functions in this case. Also, the grp.*