John Vandenberg

Results 2007 comments of John Vandenberg

Or https://gist.github.com/DmitrySoshnikov/8439eac0a09d9fafe55a83c88d049117 provides a macro which would make the lazy_static usage less repeatative.

Or https://crates.io/crates/once_cell , which is in `std` behind the `once_cell` feature gate. c.f. https://github.com/rust-lang/rfcs/pull/2788#issuecomment-663802666

To clarify, infer_ops output is compared against the Python, however very little of the logic in infer_ops is checked by the runnable/printed code, so the results can be different for...

It seems there is no tests covering this assertion.

Python 3.8 now behaves more like later versions. This exception still only occurs on C++; the other transpilers avoid this exception for various reason. IMO it would be acceptable to...

@magnus-ISU thanks for your report. https://github.com/py2many/py2many/pull/494 gives an example of improving generator support. As for dependencies, https://github.com/py2many/py2many/pull/490 , https://github.com/py2many/py2many/pull/497 and https://github.com/py2many/py2many/pull/500 replace some local chunks of code with packages that...

https://github.com/py2many/py2many/pull/501 removed another one. Only https://github.com/py2many/py2many/blob/main/pycpp/runtime/sys.h remaining.

Now a bit more regarding the "generator exp" (node name GeneratorExp)- it is explicitly marked as unsupported in pycpp. See https://github.com/py2many/py2many/blob/b48f2fed0c9a0c43bb2bcae5e40824fd9e9bd472/pycpp/transpiler.py#L651 This also means node types ListComp and SetComp are...

Once upstream has done a release, we can remove the .editorconfig and use ```py diff --git a/py2many/cli.py b/py2many/cli.py index 5cc907b6..dbc07001 100755 --- a/py2many/cli.py +++ b/py2many/cli.py @@ -329,7 +329,7 @@ def...