[issue36098] asyncio: ssl client-server with "slow" read

2019-02-23 Thread MultiSosnooley
New submission from MultiSosnooley : Recently, some awesome contributors add support for implicit ssl mode for aioftp. But this produced some issues and one of them is not relevant to aioftp, but to asyncio. Here is link https://repl.it/@multisosnooley/asyncio-ssl-connection-with-slow

[issue35901] json.dumps infinite recurssion

2019-02-05 Thread MultiSosnooley
MultiSosnooley added the comment: Oh, I got it. Size is too high growing to reach recurtion limit. I replace repr with slow growing data and now there is good old recursion limit exception. import json class F: counter = 0 total = 0 data = b"" def __call

[issue35901] json.dumps infinite recurssion

2019-02-05 Thread MultiSosnooley
New submission from MultiSosnooley : ``` __import__('json').dumps(object(), default=lambda o: repr(o).encode()) ``` Produce infinite recursion on `default` function. Here is more informative example: ``` >>> def f(o): ... input(f"{o!r} {type(o)}")

[issue33444] Memory leak/high usage on copy in different thread

2018-05-08 Thread MultiSosnooley
New submission from MultiSosnooley : On linux (ubuntu 16.04, 18.04 tested) with python 3.6.5, 3.5.5 and 3.7-dev (windows is not affected) there is ~850Mb of memory used by python process at sleep point. Replacing `submit` `result` with plain function call causes normal ~75Mb at sleep point