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



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to