homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rosslagerwall
Recipients giampaolo.rodola, rosslagerwall, vstinner
Date 2011年06月25日.06:37:03
SpamBayes Score 1.9220475e-10
Marked as misclassified No
Message-id <1308983825.3.0.453522807613.issue12303@psf.upfronthosting.co.za>
In-reply-to
Content
> What do you mean? signal.SIGPOLL exists in Python 3.3.
Right, si_band added.
> - test_sigwaitinfo(), test_sigtimedwait_poll(), test_sigwaitinfo_interrupted() are called from a child process. In test_wait(), I chose to write manually to stdout and call os._exit(1) (oh, I forgot an explicit sys.stdout.flush()). I don't know if you can use TestCase methods in a child process (I don't know what is written to stdout, _wait_helper() calls os._exit).
I assume you mean stderr? Well anyway if the assert* fails, an exception is raised and then caught by this code in wait_helper():
"""
except BaseException as err:
 print("error: {}".format(err), file=sys.stderr)
 sys.stderr.flush()
 os._exit(1)
"""
which prints it to stderr.
If this is OK, I'll commit the patch.
History
Date User Action Args
2011年06月25日 06:37:05rosslagerwallsetrecipients: + rosslagerwall, vstinner, giampaolo.rodola
2011年06月25日 06:37:05rosslagerwallsetmessageid: <1308983825.3.0.453522807613.issue12303@psf.upfronthosting.co.za>
2011年06月25日 06:37:04rosslagerwalllinkissue12303 messages
2011年06月25日 06:37:04rosslagerwallcreate

AltStyle によって変換されたページ (->オリジナル) /