bpo-5001, bpo-31169: Fix two uninformative asserts in multiprocessing/managers.py (#3078)

* Make error message more informative

Replace assertions in error-reporting code with more-informative version that doesn't cause confusion over where and what the error is.

* Additional clarification + get travis to check

* Change from SystemError to TypeError

As suggested in PR comment by @pitrou, changing from SystemError; TypeError appears appropriate.

* NEWS file installation; ACKS addition (will do my best to justify it by additional work)
This commit is contained in:
Allen W. Smith, Ph.D 2017-08-12 10:37:09 -05:00 committed by Antoine Pitrou
parent e664d7f89d
commit 48d9823a0e
3 changed files with 20 additions and 7 deletions

View file

@ -1465,6 +1465,7 @@ Ville Skyttä
Michael Sloan
Nick Sloan
Václav Šmilauer
Allen W. Smith
Christopher Smith
Eric V. Smith
Gregory P. Smith