Serhiy Storchaka <storchaka at gmail.com> added the comment: An alternative is to use the current time, as for stdin. ---------- nosy: +storchaka _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue1760357> _______________________________________