• Kirill Smelkov's avatar
    golang: New _Python_ package to provide Go-like features to Python language · 9e1aa6ab
    Kirill Smelkov authored
    - `go` spawns lightweight thread.
    - `chan` and `select` provide channels with Go semantic.
    - `method` allows to define methods separate from class.
    - `gimport` allows to import python modules by full path in a Go workspace.
    
    The focus of first draft was on usage interface and on correctness, not speed.
    In particular select should be fully working.
    
    If there is a chance I will maybe try to followup with gevent-based
    implementation in the future.
    9e1aa6ab
golang_test.py 7.19 KB