lpython icon indicating copy to clipboard operation
lpython copied to clipboard

Python compiler

Results 162 lpython issues
Sort by recently updated
recently updated
newest added

We need to allow writing generic functions (templates) and template constraints. One idea that we can explore is to also support something like: https://github.com/lcompilers/lpython/pull/152#issuecomment-1047082741: ```python >>> def str(val: i32 |...

**0. environment_win.yml should be downloaded manually, and the requirements could be installed manually** At the first trial the file was auto-generated, but after some times it doesn't be generated. After...

```console (lp) ubaid@DESKTOP-TEN39M0:~/projects/lpython$ ./src/bin/lpython Interactive LPython. Experimental prototype, not ready for end users. LPython version: 0.22.0-53-g1ef4675ae * Use Ctrl-D to exit * Use Enter to submit * Use Alt-Enter or...

```python 'a' = 1 ``` ```console (base) saurabh-kumar@Awadh:~/Projects/System/lpython$ lpython ./examples/example.py semantic error: Unsupported type in check_is_assign_to_input_param() --> ./examples/example.py:1:1 | 1 | 'a' = 1 | ^^^ Note: Please report unclear...

Using memcpy to improve performance of popping in lists, similar to GCC `vector.erase`. Fixes #2741

Example : ```py @dataclass class MyClass4: i_1: bool i_8: i8 i_16: i16 i_32: i32 i_64: i64 ``` This is in the PR -> https://github.com/lcompilers/lpython/pull/2801 The failure is not always reproducible....

Currently the integration test for the math module doesn't work I have compiled a list of issues that cause this - [x] Kwargs are not supported in general (in `is_close`...

This together with the optional_args fix should mean math module is functional again

Here is documentation how to make changes to `libasr`. This should be moved to README and our documentation. To make changes to the `libasr/src/libasr` directory, simply make changes there and...

With the recent libasr sync, we are seeing the following issue with multi-dimensional arrays in LPython. ```bash (lp) ubaid@DESKTOP-UR96JOC:~/lpython$ cat examples/expr2.py from lpython import i32 from numpy import empty, int32...