sprhawk / python-on-a-chip

Automatically exported from code.google.com/p/python-on-a-chip
Other
0 stars 0 forks source link

Resume bytearray for desktop platform #97

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Issue #96 disabled bytearrays for all builds, including desktop because the 
bytearray class consumed too much RAM and caused multiple system tests to fail.

This feature should be enabled after a coming change that moves Code Objects 
(Cos) from RAM to program memory.

Don't forget to enabled system test t289!

Original issue reported on code.google.com by dwhall...@gmail.com on 14 Jul 2010 at 8:29

GoogleCodeExporter commented 9 years ago
The existing implementation of bytearrays uses the awkward method of putting an 
entry in the attrs dict under the None key to hold a reference to the bytearray 
C structure.  This method is prone to error in certain circumstances.  I'd 
prefer to have type/class unification (or a more solid way to refer to C 
structs) in place before re-enabling bytearrays.

Original comment by dwhall...@gmail.com on 20 May 2012 at 3:40