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
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
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)}")
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