Skip to content

openpyxl leaks file handle in pypy #17

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

Closed
chfw opened this issue Jun 7, 2017 · 2 comments
Closed

openpyxl leaks file handle in pypy #17

chfw opened this issue Jun 7, 2017 · 2 comments
Labels

Comments

@chfw
Copy link
Member

chfw commented Jun 7, 2017

$ python test.py
number of open file handles: 0
number of open file handles: 2
[popenfile(path='/Users/github/pyexcel-xlsx/test.xlsx', fd=5), popenfile(path='/Users/github/pyexcel-xlsx/test.xlsx', fd=6)]
Traceback (most recent call last):
  File "test.py", line 14, in <module>
    assert len(open_files_l1) == len(open_files_l2)
AssertionError
$ python
Python 2.7.13 (1aa2d8e03cdf, Mar 31 2017, 10:20:53)
[PyPy 5.7.1 with GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

reference: #14

@chfw
Copy link
Member Author

chfw commented Jun 7, 2017

The bug is reported in openpyxl

chfw added a commit that referenced this issue Jun 19, 2017
…file handle was left open even though the file was open for reading.
@chfw chfw added the wontfix label Aug 5, 2018
@chfw
Copy link
Member Author

chfw commented Aug 5, 2018

but the openpyxl won't fix.

@chfw chfw closed this as completed Aug 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant