BUG: Avoid SystemErrors by checking the return value of PyPrint
BUG: Avoid SystemErrors by checking the return value of PyPrint

Relates to gh-12063

shoyer/numpy,rgommers/numpy,pizzathief/numpy,ahaldane/numpy,jakirkham/numpy,mhvk/numpy,WarrenWeckesser/numpy,jorisvandenbossche/numpy,pizzathief/numpy,jakirkham/numpy,pbrod/numpy,jorisvandenbossche/numpy,numpy/numpy,simongibbons/numpy,gfyoung/numpy,ahaldane/numpy,pdebuyl/numpy,charris/numpy,mattip/numpy,ahaldane/numpy,simongibbons/numpy,rgommers/numpy,MSeifert04/numpy,seberg/numpy,endolith/numpy,mattip/numpy,mattip/numpy,pbrod/numpy,endolith/numpy,grlee77/numpy,mhvk/numpy,shoyer/numpy,shoyer/numpy,pdebuyl/numpy,gfyoung/numpy,rgommers/numpy,MSeifert04/numpy,shoyer/numpy,anntzer/numpy,charris/numpy,numpy/numpy,pizzathief/numpy,charris/numpy,rgommers/numpy,MSeifert04/numpy,madphysicist/numpy,mhvk/numpy,mattip/numpy,grlee77/numpy,mhvk/numpy,pbrod/numpy,pdebuyl/numpy,jakirkham/numpy,jorisvandenbossche/numpy,jakirkham/numpy,abalkin/numpy,endolith/numpy,gfyoung/numpy,simongibbons/numpy,jorisvandenbossche/numpy,pizzathief/numpy,seberg/numpy,ahaldane/numpy,madphysicist/numpy,anntzer/numpy,WarrenWeckesser/numpy,anntzer/numpy,grlee77/numpy,seberg/numpy,pizzathief/numpy,madphysicist/numpy,WarrenWeckesser/numpy,abalkin/numpy,pdebuyl/numpy,seberg/numpy,MSeifert04/numpy,grlee77/numpy,jorisvandenbossche/numpy,numpy/numpy,grlee77/numpy,WarrenWeckesser/numpy,charris/numpy,jakirkham/numpy,madphysicist/numpy,pbrod/numpy,shoyer/numpy,pbrod/numpy,simongibbons/numpy,simongibbons/numpy,madphysicist/numpy,MSeifert04/numpy,abalkin/numpy,ahaldane/numpy,anntzer/numpy,WarrenWeckesser/numpy,numpy/numpy,mhvk/numpy,endolith/numpy