Tal Ben-Nun

Results 141 comments of Tal Ben-Nun

I see, it makes sense that you’d want a different file. Since your behavior is general purpose, why not have a class hierarchy where a BaseParser takes in a lark...

then you can add an `Enum` of something like: ```python from enum import Enum, auto # or just autoenum class ParsingKind(Enum): ALL = auto() MODULE_AND_FUNCTION_NAMES = auto() ``` and use...

That would be great, thank you

No. The test is not portable (assumes g++ exists, assumes /tmp exists, assumes Linux) and too elaborate for what it should test. It also leaks 4 bytes. I’ll make a...

> Tagging @tbennun @benson31 @bvanessen Please fix the conflicts :)

@SuhasSrinivasan thank you for reporting. The issue is caused by a mismatch between the scipy version and numpy version. I was able to reproduce the issue when using scipy 1.3...

Thank you for reporting this! I think that the safest way to solve this is to not use `StringIO` but to use `BytesIO` instead, and instead of `print` to use...

@Weigaa after checking online, the safest way to approach this is the following: ```python import sys def writebytes(text: bytes, flush: bool = True): try: outbuffer = getattr(sys.stdout, 'buffer', sys.stdout) outbuffer.write(text)...

@Weigaa Does the above code work for you? If so I will integrate into dace.