#29023: running tests in parallel doesn't show exception chain (even with tblib)
-------------------------------------+-------------------------------------
Reporter: Chris Jerdonek | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
parallel,exception,chain,traceback,pickling,tblib| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Simon Charette):
> Side question: why must pickling be used at all? Why can't we simply
render the traceback to a string using Python's traceback module, and then
send the string back? It seems like that would result in simpler, more
understandable code and sidestep many of the difficulties.
From what I know It's just the default behavior of the `multiprocessing`
module for inter process exception bubbling. I feel like it's a bit
harder than that as you still have to construct a `traceback` object from
the string on the parent process side to raise the appropriate exception.
--
Ticket URL: <https://code.djangoproject.com/ticket/29023#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.84195927f2528faef96faeaf76b55b32%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.