Re: [Python-Dev] Importance of "async" keyword

2015-06-30 Thread Sven R. Kunze
Hi, I have never said I wanted implicit asyncio. Explicit is the Python way after all, it served me well and I stick to that. I like the 'await' syntax to mark suspension points. But the 'async' coloring makes no sense to me. It is an implementation details of asyncio (IMHO). From what I

[Python-Dev] Capturing PyRun_String stdout

2015-06-30 Thread Chris Moller
I expect this has been asked before, but I can't find out much about it... I'm trying to embed Python as a scripting language and I need to capture the output of PyRun_String(), PyEval_EvalCode(), or whatever as a char * (or wchar_t * or whatever) rather than have it go to stdout. Python 3.3.

Re: [Python-Dev] Capturing PyRun_String stdout

2015-06-30 Thread Amaury Forgeot d'Arc
Hi, 2015-06-30 21:40 GMT+02:00 Chris Moller : > I expect this has been asked before, but I can't find out much about it... > Please ask this kind of questions on the python-users mailing list (or comp.lang.python). There you will find helpful people wh