[Python-Dev] PEP 479 and asyncio
Guido van Rossum
guido at python.org
Fri Nov 28 18:37:43 CET 2014
@Victor: I'm glad you found a work-around. Maybe you can let your users
control it with a flag? It is often true that straddling code pays a
performance cost. Hopefully the slight performance dip might be an
incentive for people to start thinking about porting to asyncio.
@Olemis: You never showed examples of how your code would be used, so it's
hard to understand what you're trying to do and how PEP 479 affects you.
On Fri, Nov 28, 2014 at 7:21 AM, Olemis Lang <olemis at gmail.com> wrote:
> correction ...
>
> On 11/28/14, Olemis Lang <olemis at gmail.com> wrote:
> >
> > try:
> > ...
> > except RuntimeError:
> > return
> >
>
> ... should be
>
> {{{#!py
>
> # inside generator function body
>
> try:
> ...
> except StopIteration:
> return
> }}}
>
> [...]
>
> --
> Regards,
>
> Olemis - @olemislc
>
> Apache(tm) Bloodhound contributor
> http://issues.apache.org/bloodhound
> http://blood-hound.net
>
> Blog ES: http://simelo-es.blogspot.com/
> Blog EN: http://simelo-en.blogspot.com/
>
> Featured article:
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/guido%40python.org
>
--
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20141128/e86d53a4/attachment.html>
More information about the Python-Dev
mailing list