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

offending code: ```python from lpython import dataclass, i32 @dataclass class foo: bar : list[i32] = [] ######### INCORRECT ########### ``` run: ```bash # CPYTHON (lp) ┌─(~/CLionProjects/lpython/lasr/LP-pycharm/Issue2031)───────────────────────────────────────────────────────────────────────────────────────────────(brian@Golf37:s012)─┐ └─(16:52:15 on brian-lasr ✹...

bug
good first issue

Here are the freedoms that we have in implementation dictionaries: * Hash function * load factor / initial size of an array * array resizing strategy (rehashing or not) *...

# The problem The current information related to testing is confusing and unclear. It does not guide one on what the various types of tests are and how to write...

``` (lp) ┌─(~/Documents/GitHub/lpython/integration_tests)────(brian@MacBook-Pro:s001)─┐ └─(12:16:55 on vector-backend ✹ ✭)──> lpython ../ISSUES/UNHANDLED-EXCEPTIONS/Issue2492.py 2 ↵ ──(Tue,Feb06)─┘ semantic error: Only those local variables which can be reduced to compile time constant should be used...

documentation
good first issue

Resolves #2554 Implement basic string to integer conversion using `CharacterToInteger` casting, which I believe is a part of LFortran, but was not implemented here in LPython. ### Working ```python from...

Then people could install lpython more comportably without installing Anaconda.

# The problem The numeric types `i32`, `i64`, `f32` and `f64` accept String Constants and return value which a `str` variable can store. What I do here is highly unlikely...

I recently got to know about this amazing compiler for Python and I truly love the idea. However, I see that there are no docs available for the language features....

Comparing dissimilar types throws a semantic error stating type mismatch. ### Checking equality ```python integer: i32 = 1 integer_list: list[i32] = [1, 2, 3, 4, 5] print(integer == integer_list) ```...

Added required details for smooth on-boarding of new contributors.