./misc/py-sniffio, Sniff out which async library your code is running under

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2.0, Package name: py37-sniffio-1.2.0, Maintainer: pkgsrc-users

You're writing a library. You've decided to be ambitious, and support multiple
async I/O packages, like Trio, and asyncio, and... You've written a bunch of
clever code to handle all the differences. But... how do you know which piece of
clever code to run?

This is a tiny package whose only purpose is to let you detect which async
library your code is running under.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 8b195bcc5c3acdd3702df0df2c5c0024599fb926
RMD160: 9dceca9fc75a0cc0048e4d9faea1102dc7ff7170
Filesize: 16.73 KB

Version history: (Expand)


CVS history: (Expand)


   2020-10-13 13:10:49 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-sniffio: updated to 1.2.0

sniffio 1.2.0

Features
- Include type hints
   2020-03-16 00:47:14 by Tobias Nygren | Files touched by this commit (1)
Log message:
py-sniffio: PYTHON_VERSIONS_INCOMPATIBLE must go before pyversion.mk
   2020-01-08 21:04:28 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
py-sniffio: added version 1.1.0

You're writing a library. You've decided to be ambitious, and support multiple
async I/O packages, like Trio, and asyncio, and... You've written a bunch of
clever code to handle all the differences. But... how do you know which piece of
clever code to run?

This is a tiny package whose only purpose is to let you detect which async
library your code is running under.