serge-sans-paille
pythran
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Support passing package name as pythran signature This patch introduces a new argument type of the form `<name> pkg`, for instance `numpy pkg`. It's a special function export type which, if used, must be used consistently across all overloads for that exported function. It is resolved before any compilation step and is syntactically equivalent to statically resolving the given argument to the given package. For instance, #pythran export foo(float, numpy pkg) def foo(x, np): return np.cos(x) is equivalent to the following: #pythran export foo(float, numpy pkg) def foo(x, _): import numpy as np return np.cos(x) It also propagates through function arguments, baring some limitations. The exported foo function still has two parameters and the second parameter is going to check that the passed argument is a module named 'numpy'. Fix #2367
bug/2367
2 days ago
Support passing package name as pythran signature This patch introduces a new argument type of the form `<name> pkg`, for instance `numpy pkg`. It's a special function export type which, if used, must be used consistently across all overloads for that exported function. It is resolved before any compilation step and is syntactically equivalent to statically resolving the given argument to the given package. For instance, #pythran export foo(float, numpy pkg) def foo(x, np): return np.cos(x) is equivalent to the following: #pythran export foo(float, numpy pkg) def foo(x, _): import numpy as np return np.cos(x) It also propagates through function arguments, baring some limitations. The exported foo function still has two parameters and the second parameter is going to check that the passed argument is a module named 'numpy'. Fix #2367
bug/2367
3 days ago
WIP
bug/2367
3 days ago
Drop support for python < 3.9 See https://devguide.python.org/versions/
fix/license-toml
3 days ago
Silent in valid gcc warning in pythonic/numpy/median.hpp Fix #2373
bug/2373
3 days ago
Update licensing information integration See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
fix/license-toml
3 days ago
Update licensing information integration See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
fix/license-toml
3 days ago
Update licensing information integration See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
fix/license-toml
3 days ago
Active Branches
[WIP] Support passing package name as pythran signature
last run
2 days ago
#2371
CodSpeed Performance Gauge
0%
Update licensing information integration
last run
3 days ago
#2377
CodSpeed Performance Gauge
0%
Silent in valid gcc warning in pythonic/numpy/median.hpp
last run
3 days ago
#2378
CodSpeed Performance Gauge
0%
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs