➜

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.

作者 vstinner
收信人 neologix, pitrou, python-dev, serhiy.storchaka, vstinner
日期 2015-04-02.11:31:20
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1427974281.08.0.010848821903.issue23618@psf.upfronthosting.co.za>
In-reply-to
内容
test_connect_eintr3.py: even better:

- block signals in the server thread
- count signals during connect()
- display progress: "*" for signal received during connect(), "_" for signal received before/after connect(), "[" and "]" for the beginning and end of a connection, "#" for client connection reset

Example of output on FreeBSD:

Register SIGINT
Register SIGALRM
Register SIGWINCH
Register SIGTERM
Register SIGCHLD
Send SIGALRM every 200.0 ms
Run func() during 5.0 seconds
Type CTRL+c, resize the window, etc.

___[]______[]_____[_*#]_____[#]__[#]________[#]____[#]_____[**]____[*#]______[__#]___[#]_____[#]____[*#]______[#]______[#]_____[*#]_____[#]_____[#]______[#]______[#]______[#]______[#]______[#]____[#]_______[#]_____[#]_______[#]_____[#]_____[#]______[#]_______[#]____[#]______[#]______[*#]_____[#]________[#]__

Test completed in 5.1 sec
func() has been called 36 times
Got 204 signals
Got 7 signals during connect()
历史
日期 用户 动作 参数
2015-04-02 11:31:21vstinner修改recipients: + vstinner, pitrou, neologix, python-dev, serhiy.storchaka
2015-04-02 11:31:21vstinner修改messageid: <1427974281.08.0.010848821903.issue23618@psf.upfronthosting.co.za>
2015-04-02 11:31:21vstinner链接issue23618 messages
2015-04-02 11:31:20vstinner创建