Closed GoogleCodeExporter closed 8 years ago
thanks for reporting!
please note that to compile it, a function has to be called (indirectly) from
somewhere. otherwise, type inference can't work.. you can achieve some of this
here by adding this to the bottom of the file:
if __name__ == '__main__':
Rolling_checksum()
min_max_chunker(open('test.py'))
if you do this, and recompile with shedskin you'll notice a few warnings about
mixing different types here and there.. you will probably have to resolve all
the warnings before getting C++ code that will compile further. please see the
documentation for more details about what is and what is not supported.
unfortunately, no matter what you do, the generator functions still won't show
up, because they are currently not exported..
Original comment by mark.duf...@gmail.com
on 25 Jun 2011 at 4:18
Original issue reported on code.google.com by
strom...@gmail.com
on 24 Jun 2011 at 6:04