[Piglit] [PATCH] framework: Never redirect sys.stderr to /dev/null.

Jose Fonseca jfonseca at vmware.com
Mon Dec 7 07:45:14 PST 2015


On 07/12/15 15:31, Jose Fonseca wrote:
> I figured out how to not redirect stderr, but I can't figure out how to
> not catch the exceptions for the life of me.
>
> There's not a single exception handler, but many.  I identified some as
> drafted in the attached, but there are apparently more.
>
> They are hidden inside accessors and function decorators, and who knows
> what more...
>
> Jose

It seems that the final culprit might, is fact, the multiprocessing 
module itself from the Python library.

Not sure how to avoid this.  It looks like we really need to catch the 
Python exceptions and dump it to stderr ourselves if we don't want them 
to be ignored.

Jose


More information about the Piglit mailing list