rsalmaso / tinypy

Automatically exported from code.google.com/p/tinypy
Other
0 stars 0 forks source link

Defining more that 255 functons fails. #55

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. download the file deflimit.py.  It just has this in it:

def func0x():
        return 5

def func1x():
        return 5

def func2x():
        return 5
.
.
.
etc.

2. Try to compile it.  tinypy will print this error message:

Exception:
error: encode
766: def func255x():
      ^

What is the expected output? What do you see instead?

    I'd like it to compile without error. Right now it only compiles 255 function definitions.

What version of the product are you using? On what operating system?

   On OSX 10.7.5 tinypy version 1.1

Please provide any additional information below.

   Please see the attached file.

Original issue reported on code.google.com by paulhaeb...@gmail.com on 17 Feb 2013 at 7:54

Attachments: