[Lldb-commits] [PATCH] D68737: SBFile::GetFile: convert SBFile back into python native files.

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Oct 27 09:32:42 PDT 2019


mgorny added a comment.

Which Python version are you using? I've just hacked Python 2.7 a bit and found that the failing `close()` is actually `fclose()` on `FILE*` object with fd=0. I can reproduce `EBADF` only when the same fd is closed twice, so I suspect that something else is closing stdin first, then some extra Python file created for stdin is being closed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68737/new/

https://reviews.llvm.org/D68737





More information about the lldb-commits mailing list