exaloop / codon

A high-performance, zero-overhead, extensible Python compiler using LLVM
https://docs.exaloop.io/codon
Other
13.95k stars 498 forks source link

Format 1-element tuples as "(x,)" #521

Closed arshajii closed 6 months ago

arshajii commented 6 months ago

Currently, single-element tuple "repr" / "str" gives "(x)", but it should really give "(x,)" according to Python.