• Kirill Smelkov's avatar
    gpython: Add support for -V / --version · 70c4c82f
    Kirill Smelkov authored
    On CPython:
    
    	$ python -V
    	Python 2.7.18
    
    	$ gpython -V
    	GPython 0.0.6.post2 [gevent 20.6.2] / CPython 2.7.18
    
    On PyPy:
    
    	$ python -V
            Python 3.6.9 (2ad108f17bdb, Apr 07 2020, 02:59:05)
            [PyPy 7.3.1 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]
    
    	$ gpython -V
    	GPython 0.0.6.post2 [gevent 20.5.0] / PyPy 7.3.1 / Python 3.6.9
    
    /reviewed-on nexedi/pygolang!5
    70c4c82f
__init__.py 8.31 KB