rustpython 0.1.0

A python interpreter written in rust.
1
2
3
4
5
6
7
8
9
10
11
12

# Snippet to demo comment handling...


def foo():
    a = []

    # This empty comment below manifests a bug:
    #
    if len(a) > 2:
        a.append(2)
    return a