★ wanayoo — archive 1999 https://github.com/python/asyncioNouvelle recherche | Portail wanayoo
Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This project is the asyncio module for Python 3.3. Since Python 3.4, asyncio is part of the standard library.
Python C Other
Failed to load latest commit information.
asyncio Fix regression in 83ac3b8 (failed unittests in debug mode)
examples Fix subprocess_attach_write_pipe example
tests Fix CoroWrapper for 'async def' coroutines
.gitattributes Switch hgignore and hgeol to git equivalents
.gitignore add in .gitignore pyvenv and Pycharm files
.travis.yml Enable Travis-CI integration
AUTHORS Python issue #23208: Add BaseEventLoop._current_handle
COPYING Python issue #23208: Add BaseEventLoop._current_handle
ChangeLog Write Tulip 3.4.3 changelog
MANIFEST.in Python issue #23208: Add BaseEventLoop._current_handle
Makefile Python issue #23208: Add BaseEventLoop._current_handle
README.rst #230: Change official URL from tulip to asyncio in README.rst
check.py Python issue #23208: Add BaseEventLoop._current_handle
overlapped.c _overlapped.ConnectPipe(): release the GIL
pypi.bat Python issue #23208: Add BaseEventLoop._current_handle
release.py Python issue #23208: Add BaseEventLoop._current_handle
run_aiotest.py Python issue #23208: Add BaseEventLoop._current_handle
runtests.py Python issue #23208: Add BaseEventLoop._current_handle
setup.py Rename README file to have rst render on Github
tox.ini tox.ini: enable ResourceWarning warnings
update_stdlib.sh Python issue #23208: Add BaseEventLoop._current_handle

README.rst

Tulip is the codename for my reference implementation of PEP 3156.

PEP 3156: http://www.python.org/dev/peps/pep-3156/

This requires Python 3.3 or later!

Copyright/license: Open source, Apache 2.0. Enjoy.

Master GitHub repo: https://github.com/python/asyncio

The actual code lives in the 'asyncio' subdirectory. Tests are in the 'tests' subdirectory.

To run tests:
  • make test
To run coverage (coverage package is required):
  • make coverage

On Windows, things are a little more complicated. Assume 'P' is your Python binary (for example C:Python33python.exe).

You must first build the _overlapped.pyd extension and have it placed in the asyncio directory, as follows:

C> P setup.py build_ext --inplace

If this complains about vcvars.bat, you probably don't have the required version of Visual Studio installed. Compiling extensions for Python 3.3 requires Microsoft Visual C++ 2010 (MSVC 10.0) of any edition; you can download Visual Studio Express 2010 for free from http://www.visualstudio.com/downloads (scroll down to Visual C++ 2010 Express).

Once you have built the _overlapped.pyd extension successfully you can run the tests as follows:

C> P runtests.py

And coverage as follows:

C> P runtests.py --coverage

--Guido van Rossum <guido@python.org>

Something went wrong with that request. Please try again.