grumpyhome / grumpy

Grumpy is a Python to Go source code transcompiler and runtime.
Apache License 2.0
420 stars 18 forks source link

%g: NotImplementedError #46

Open alanjds opened 6 years ago

alanjds commented 6 years ago

google/grumpy#306 opened by @navytux on May 11, 2017

Spawning from https://github.com/google/grumpy/issues/305#issuecomment-300691404 %g formatting is not yet implemented:

(grumpy) kirr@deco:~/src/tools/go/grumpy$ cat g.py 
#!/usr/bin/env python

print '%g' % 1.0
(grumpy) kirr@deco:~/src/tools/go/grumpy$ python2 g.py 
1

(grumpy) kirr@deco:~/src/tools/go/grumpy$ grumprun <g.py 
NotImplementedError: conversion type not yet supported: g
exit status 1