Back-port compiler for Python 3.8 positional-only parameter syntax.
Project description
NB: poseur is currently under reconstruction. It is highly recommended to directly install from the git repo or the pre-release distributions.
poseur
Write positional-only parameters in Python 3.8 flavour, and let
poseur
worry about back-port issues :beer:
Since PEP 570, Python introduced positional-only parameters
syntax in version 3.8. For those who wish to use positional-only parameters in their code, poseur
provides an
intelligent, yet imperfect, solution of a backport compiler by replacing positional-only parameters syntax with
old-fashioned syntax, which guarantees you to always write positional-only parameters in Python 3.8 flavour then
compile for compatibility later.
Documentation
See documentation for usage and more details.
Contribution
Contributions are very welcome, especially fixing bugs and providing test cases. Note that code must remain valid and reasonable.
See Also
pybpc
(formerly known aspython-babel
)f2format
walrus
relaxedecor
vermin
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bpc-poseur-0.4.3.post1.tar.gz
.
File metadata
- Download URL: bpc-poseur-0.4.3.post1.tar.gz
- Upload date:
- Size: 18.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 938e7fdf157b8fd609f5511b11a93b65e4b3ba802c636d955758e5a03105af3e |
|
MD5 | e62baece86a9f2f95e95fac829a2b7ff |
|
BLAKE2b-256 | 8b50859b06d3b751028b5fae9f3fc185ed8224a0c95f3207e32e2fb93c75ceb2 |
File details
Details for the file bpc_poseur-0.4.3.post1-py3-none-any.whl
.
File metadata
- Download URL: bpc_poseur-0.4.3.post1-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11a15b6979d995456de9c7fc561738f980f937a4c162d8626059133b302bf04c |
|
MD5 | 5c889647eb8564fbcc47c7aa48fb863f |
|
BLAKE2b-256 | b2a84f05417d2f4c2a87c650288d3318fe0e30d0eaa2870577037a93f288cff9 |