New submission from Xinmeng Xia <xi...@smail.nju.edu.cn>:

In Ubuntu 16.04, termios.tcflow(1, 0) cannot be interrupted by Ctrl C, Ctrl D, 
Ctrl Z.   
It work well on mac OS. (Ctrl C can interrupt it on Mac OS).

Reproduce:
1. type 'python3' in command console;
2. type ‘import termios; termios.tcflow(1, 0)’
3. try “ctrl C”, “Ctrl D”, “Ctrl Z”



=========================================================================
xxm@xxm-System-Product-Name:~$ 
'/home/xxm/Desktop/apifuzz/Python-3.10.0a6/python' 
Python 3.10.0a6 (default, Mar 19 2021, 11:45:56) [GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import termios
>>> termios.tcflow(1, 0)

=========================================================================
Expected result: this function can be interrupted or stopped by Ctrl C, Ctrl D, 
Ctrl Z.

Actual result: No response for Ctrl C, Ctrl D, Ctrl Z

System Ubuntu 16.04

----------
components: Library (Lib)
messages: 389436
nosy: xxm
priority: normal
severity: normal
status: open
title: Function tcflow() in module termios can not be interupted when the 
second argument is 0
type: behavior
versions: Python 3.10

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43611>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to