python-makefun 1.15.2-1 source package in Ubuntu
Changelog
python-makefun (1.15.2-1) unstable; urgency=medium * Team upload. * New upstream release. -- Boyuan Yang <email address hidden> Tue, 28 Nov 2023 13:08:31 -0500
Upload details
- Uploaded by:
- Debian Python Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc | |
Noble | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
python-makefun_1.15.2-1.dsc | 2.1 KiB | 7449b97e111df480a8f45448cbdf6495990d29c21705e7d5f85330f08d7bda59 |
python-makefun_1.15.2.orig.tar.gz | 72.1 KiB | e086a2336f9b1bc993152416a55200cb993d61f751ed9d5e47d73f131de7c6a8 |
python-makefun_1.15.2-1.debian.tar.xz | 2.6 KiB | 33ad57a72ab7f75422ab63626b092eb50775d64ee52c5e5847a6d083fea5a85a |
Available diffs
- diff from 1.15.1-1 to 1.15.2-1 (1.5 KiB)
No changes file available.
Binary packages built by this source
- python3-makefun: Small library to dynamically create Python functions
makefun helps one create functions dynamically, with the signature of their
choice. It was largely inspired by decorator and functools, and created mainly
to cover some of their limitations.
.
Its typical use cases are:
.
- creating signature-preserving function wrappers - just like functools.wraps
but with accurate TypeError exception raising when user-provided arguments
are wrong, and with a very convenient way to access argument values;
.
- creating function wrappers that have more or less arguments that the
function they wrap;
.
- more generally, creating functions with a signature derived from a
reference signature;
.
- or even creating functions with a signature completely defined at runtime.