Skip to content

Commit 65c28a5

Browse files
authored
Merge pull request #19 from polyphony-dev/devel
release: v0.4.2
2 parents f5dc8b9 + 110ed06 commit 65c28a5

230 files changed

Lines changed: 88362 additions & 8568 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.*/
44
.*
55
!.github/
6+
!.python-version
67

78
# Debugging
89
debug*
@@ -24,10 +25,23 @@ __pycache__/
2425
# Polyphony compiler output
2526
polyphony_out/
2627

28+
# Stray Verilog output files in project root (should be in .tmp/ or a dedicated output dir)
29+
*.v
30+
2731
# Python packaging
2832
*.egg-info/
2933
dist/
3034
build/
3135

3236
# Testing
3337
.pytest_cache/
38+
htmlcov/
39+
40+
# Obsidian docs (symlink)
41+
docs/
42+
43+
# Suite output
44+
suite.json
45+
46+
# Claude Code
47+
CLAUDE.md

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12

.suite_ignores

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ error/seq_capacity01.py
4141
error/seq_capacity02.py
4242
error/toomany_args01.py
4343
error/toomany_args02.py
44+
# issues: known bugs (pending fix)
45+
issues/mask32_signed_shift.py
46+
issues/list_accum_alias.py
47+
issues/narrow_type_shift_overflow.py
48+
issues/testbench_large_constant.py
4449
# warning tests: wrong or missing warnings
4550
warning/pipeline_hazard01.py
4651
warning/port_is_not_used01.py

polyphony/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import functools
12
import inspect
23
from typing import TYPE_CHECKING
34
if TYPE_CHECKING:
@@ -67,6 +68,7 @@ def append_worker(self, fn, *args, loop=False):
6768
cls.append_worker = append_worker
6869
orig_init = cls.__init__
6970

71+
@functools.wraps(orig_init)
7072
def init_wrapper(self, *args, **kwargs):
7173
self._args = args
7274
self._kwargs = kwargs

polyphony/_internal/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__:str = '0.4.1'
1+
__version__:str = '0.4.2'
22
__python__:bool = False
33

44

polyphony/compiler/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
from .api import from_python, from_module, from_object
1+
from .api import compile

0 commit comments

Comments
 (0)