wlav / CPyCppyy

Other
23 stars 20 forks source link

Don't attempt to print detailed exception info if filename is empty #23

Closed guitargeek closed 3 months ago

guitargeek commented 6 months ago

This can happen for example with jitted code, and would lead to this ugly printout otherwise:

python exception (at :0 )

Maybe a bit pedantic, but our unit tests in ROOT were testing for the exact wording, which is why I suggest to fix this.