Skip to content

openpyxl leaks file handle in pypy #17

@chfw

Description

@chfw
$ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions