Your message dated Wed, 08 Oct 2014 12:08:35 +0200
with message-id <[email protected]>
and subject line Re: Bug#762077: libpython3.4-stdlib: asyncio is not up to date
has caused the Debian Bug report #762077,
regarding libpython3.4-stdlib: asyncio is not up to date
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
762077: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762077
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpython3.4-stdlib
Version: 3.4.1-11
Severity: normal
hi there,
so when using python autobahn asyncio it's importing:
from asyncio.tasks import iscoroutine
which should work in python3.4 and looks like iscoroutine is there in source
package.
but it's not there once you install the package in
/ush/lib/python3.4/asyncio/tasks.py
also not sure why this system asyncio package is in use even if I have asyncio
in virtualenv
but that's a different issue I guess.
thx for taking care
petr
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libpython3.4-stdlib depends on:
ii libbz2-1.0 1.0.6-7
ii libc6 2.19-11
ii libdb5.3 5.3.28-6
ii libffi6 3.1-2
ii liblzma5 5.1.1alpha+20120614-2
ii libmpdec2 2.4.1-1
ii libncursesw5 5.9+20140712-2
ii libpython3.4-minimal 3.4.1-11
ii libreadline6 6.3-8
ii libsqlite3-0 3.8.6-1
ii libtinfo5 5.9+20140712-2
ii mime-support 3.56
ii multiarch-support 2.19-11
libpython3.4-stdlib recommends no packages.
libpython3.4-stdlib suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Am 18.09.2014 um 09:59 schrieb petr:
> so when using python autobahn asyncio it's importing:
>
> from asyncio.tasks import iscoroutine
this was factored out into coroutines in 3.4.2, but you should use it directly:
import asyncio; asyncio.iscoroutine(bla)
or
from asyncio import iscoroutine
afaics this works as intended.
> also not sure why this system asyncio package is in use even if I have asyncio
> in virtualenv
> but that's a different issue I guess.
the standard library takes precedence.
--- End Message ---