[issue43771] [Windows] stdin line buffer size

2021-04-08 Thread Andrey Moiseev
New submission from Andrey Moiseev : sys.stdin.readline() in Windows console only allows 512 characters on input per line. So large pastes are truncated at 512 chars, which is a bit inconvenient for prototyping. The buffer size seems to be determined by BUFSIZ compile time constant: https

[issue39706] unittest.IsolatedAsyncioTestCase hangs on asyncio.CancelledError

2020-02-21 Thread Andrey Moiseev
New submission from Andrey Moiseev : The following code hangs: import asyncio import unittest class TestCancellation(unittest.IsolatedAsyncioTestCase): async def test_works(self): raise asyncio.CancelledError() if __name__ == '__main__': uni