githubutilities / shedskin

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

bytearray #196

Open GoogleCodeExporter opened 8 years ago

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

python code with

ba=bytearray(1024)
s=str(ba)

What is the expected output? What do you see instead?
warnings of unresolved calls

What version of the product are you using? On what operating system?
0.9.4, CentOS 6.2

These can be done with malloc, certainly for constant dimensions at least....

Original issue reported on code.google.com by ultracr...@gmail.com on 1 Dec 2013 at 4:24

GoogleCodeExporter commented 8 years ago
thanks for mentioning. unfortunately, bytearray is one of the more recent 
python features that is currently not supported by shedskin. depending on your 
needs, a workaround might be to use array.array('B').

Original comment by mark.duf...@gmail.com on 1 Dec 2013 at 2:41