Fix for issue #22
Eugene Leskinen
Branch: karbazol/parts:issue_21
Branch: sconsparts/parts:master
Declined
Declined pull request
Python 3 file objects allow the issue of file handle to be solved. Python 2 lack a good way to do this.
Closed by: Jason Kenny·2018-11-06
We override built-in function open and class file on Windows to workaround some issues with shared descriptors. But we forgot that builtin.file is a type not a function. This commit fixes the issue by inheriting our shared_file from builtin.file.
I have also modified tests/gold_tests/launch_tests.py script to work with local version of parts.
Added test for the issue #22.