bytecodealliance / componentize-py

Apache License 2.0
136 stars 13 forks source link

Avoid using keywords as identifiers in generated bindings #7

Closed dicej closed 1 year ago

dicej commented 1 year ago

Analogous to https://github.com/bytecodealliance/wasmtime-py/pull/171, we should escape any identifier names which match Python keywords by appending underscores to them.