| 9e2fe138 | 20-Apr-2021 |
Toby Isaac <tisaac@cc.gatech.edu> |
Add PetscVFPrintf_PythonStd, PETSc._push_python_vfprintf() and PETSc._pop_python_vfprintf()
Added test of redirected python stdout
Move test into petsc4pytest and use push/pop to avoid losing info
Add PetscVFPrintf_PythonStd, PETSc._push_python_vfprintf() and PETSc._pop_python_vfprintf()
Added test of redirected python stdout
Move test into petsc4pytest and use push/pop to avoid losing info about past vfprintf functions
Use file pointer in cython thanks to Lisandro's guidance
Apply 2 suggestion(s) to 1 file(s)
Apply 1 suggestion(s) to 1 file(s)
Add stderr control to python vfprintf, rename PETSc._push_python_stdout() to PETSc._push_python_vfprintf(), and add assertions for good state
Undo vfprintf stack in finalize and handle -error_output_stdout
Strip trailing nul bytes out of strings before decoding
show more ...
|