[ZODB-Dev] embedded null bytes in python strings?

Paul Winkler pw_lists@slinkp.com
Thu, 10 Apr 2003 11:03:56 -0700


On Thu, Apr 10, 2003 at 10:33:21AM -0700, rys mccusker wrote:
> can python strings contain bytes equal to 0x00?
> 
> I.e. can strings contain arbitrary binary data?

yes, strings are fairly commonly (ab)used as raw bytes.

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's SWIRLY LIGHTNING HERMIT!
(random hero from isometric.spaceninja.com)