[issue22239] asyncio: nested event loop

2019-06-19 Thread Crusader Ky
Change by Crusader Ky : -- nosy: +Crusader Ky ___ Python tracker <https://bugs.python.org/issue22239> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37293] concurrent.futures.InterpreterPoolExecutor

2019-06-15 Thread Crusader Ky
New submission from Crusader Ky : As one of the logical consequences to PEP 554, it would be neat to have a concurrent.futures.InterpreterPoolExecutor. I wrote the initial code at https://github.com/crusaderky/subinterpreters_tests - currently missing unit tests and pickle5 buffers support

[issue37292] _xxsubinterpreters: Can't unpickle objects defined in __main__

2019-06-15 Thread Crusader Ky
New submission from Crusader Ky : As of CPython 3.8.0b1: If one pickles an object that is defined in the __main__ module, sends it to a subinterpreter as bytes, and then tries unpickling it there, it fails saying that __main__ doesn't define it. import _xxsubinterpreters as interpreters

[issue37292] _xxsubinterpreters: Can't unpickle objects defined in __main__

2019-06-15 Thread Crusader Ky
Change by Crusader Ky : -- versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue37292> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36555] PEP484 @overload vs. str/bytes

2019-04-08 Thread Crusader Ky
New submission from Crusader Ky : An exceedingly common pattern in many Python libraries is for a function to accept either a string or a list of strings, and change the function output accordingly. This however does not play nice with @typing.overload, as a str variable is also an Iterable