issues
search
smarie
/
python-makefun
Dynamically create python functions with a proper signature.
https://smarie.github.io/python-makefun/
BSD 3-Clause "New" or "Revised" License
119
stars
16
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
add API reference
#61
smarie
closed
3 years ago
1
Make `wraps` easier to use by adding a 'remove_params' keyword argument
#60
smarie
closed
3 years ago
0
ValueError: Cannot preset 0 positional args, function case_second has only 0 args.
#59
smarie
closed
3 years ago
0
`makefun.partial` behaviour inconsistent with `functools.partial`: keyword arguments should not be removed from signature
#58
smarie
closed
4 years ago
1
AttributeError: 'functools.partial' object has no attribute 'xxx'
#57
smarie
closed
4 years ago
0
Pull/merge signature from other functions
#56
beasteers
closed
3 years ago
2
functions appear in stack trace with their original name
#55
uriva
opened
4 years ago
6
Improve packaging
#54
smarie
closed
4 years ago
0
[WIP] make `@compile_fun` correctly recurse through imported names, to try to fix #52
#53
smarie
opened
4 years ago
0
`@compile_fun` does not recurse through imported names for now
#52
smarie
opened
4 years ago
0
`@compile_fun` `OSError: could not get source code` or `IOError: could not get source code`
#51
smarie
closed
4 years ago
0
`@compile_fun`: add capability to disable recursive compilation
#50
smarie
closed
4 years ago
1
`@compile_fun`: add capability to exclude some names from compilation
#49
smarie
closed
4 years ago
0
`ValueError: Cell is empty` with `@compile_fun`
#48
smarie
closed
4 years ago
0
NameError: name '....' is not defined when using `@compile_fun`
#47
smarie
closed
4 years ago
1
`@compile_fun` decorator
#46
smarie
closed
4 years ago
0
Add `__version__` attribute to comply with PEP396
#45
smarie
closed
5 years ago
0
modernize setup.py a bit
#44
minrk
closed
5 years ago
3
`add_sig_params`, `rem_sig_params` and `get_sig_params` aliases for the helper functions
#43
smarie
opened
5 years ago
0
`get_signature_parameters` helper function
#42
smarie
opened
5 years ago
0
`add_signature_parameters` : intelligently support parameters that can not be first or last
#41
smarie
opened
5 years ago
0
Is ist possible to avoid using kwargs in implementation
#40
piccolbo
closed
5 years ago
3
SyntaxError when nasty libs add type annotations in python 2
#39
smarie
closed
5 years ago
0
Another varpositional issue
#38
smarie
closed
5 years ago
0
NameError: name 'typing' is not defined
#37
smarie
closed
5 years ago
1
SyntaxError with string signature when it ends with a colon
#36
smarie
closed
5 years ago
0
PEP8 invalid escape sequence
#35
smarie
closed
5 years ago
0
Provide a helper to create wrappers in case of varpositional wrapped
#34
smarie
closed
11 months ago
2
`NameError` in case a return annotation is not a primitive type
#33
smarie
closed
5 years ago
1
Errors when created function signature contains non-locally available type hints.
#32
smarie
closed
5 years ago
0
`partial` raises a TypeError when __doc__ is None
#31
smarie
closed
5 years ago
0
Provide an equivalent for `functools.partial`
#30
smarie
closed
5 years ago
0
`add_signature_parameters` reverses the order of parameters provided in `first`
#29
smarie
closed
5 years ago
0
Clarify the way attributes are set in `create_function`
#28
smarie
closed
5 years ago
0
Consider renaming `func_handler` to `func_impl` for clarity
#27
smarie
closed
5 years ago
0
Consider removing the possibility to provide the signature as a callable
#26
smarie
closed
5 years ago
0
Extend `@wraps` to modify the signature
#25
smarie
closed
5 years ago
0
`__dict__` do not seem to be preserved when using `@wraps`, as well as `__module__` and `__qualname__`
#24
smarie
closed
5 years ago
0
Support cases where the signature contains a non-representable object
#23
smarie
closed
5 years ago
0
`@with_signature` sets a counter-intuitive `__name__` when signature is provided as a function.
#22
smarie
closed
5 years ago
0
Provide an equivalent of `functools.wraps` and explain the difference
#21
smarie
closed
5 years ago
0
Provide a way for `with_signature` to only modify the metadata without creating the new function.
#20
smarie
closed
5 years ago
0
Provide an easier way to wrap a function whatever its mode (regular, generator, or generator coroutine)
#19
smarie
opened
5 years ago
1
`inject_as_first_arg` is missing from `@with_signature`
#18
smarie
closed
5 years ago
0
`@with_signature` ValueError: func_name should not be provided when the signature is provided as a string
#17
smarie
closed
5 years ago
0
Add the function handler to the attributes of the generated function
#16
smarie
closed
5 years ago
0
Add possibility to use `func_signature=None` in `@with_signature` to declare that the signature should not be changed
#15
smarie
closed
5 years ago
0
Add the possibility to override the module name in `create_function` and `@with_signature`
#14
smarie
closed
5 years ago
0
Module in `@with_signature` is wrongly positioned by default
#13
smarie
closed
5 years ago
0
`@with_signature` could expose the `func_name` parameter for convenience
#12
smarie
closed
5 years ago
0
Previous
Next