Skip to content

Commit

Permalink
fix some resource warnings deriving for fds left open discovered with…
Browse files Browse the repository at this point in the history
… python 3.2; also trapped all Linux statements opening a file in a try/finally block to make sure the file object gets always closed.
  • Loading branch information
giampaolo committed Jun 9, 2011
1 parent dbc4bc2 commit 3760d95
Show file tree
Hide file tree
Showing 2 changed files with 205 additions and 150 deletions.
Loading

1 comment on commit 3760d95

@sandrotosi
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi! looking at the released 2.1.3 tarball, these changes doesnt seem to be included (I checked the per_cpu_times() function and it still doesn't have the context manager for file operation (which is reported in the Debian bug #772543) - do you have plan to release these fixes soon?

Please sign in to comment.