Re: Patch to support null-bytes in octet strings using python bindings

2010-02-10 Thread Dave Shield
On 9 February 2010 14:45, Tommy Beadle wrote: > I would like to propose the attached patch to the Python bindings. Thanks for that patch. It's been applied to the 5.4.x, 5.5.x and main trunk code, and should appear in the next releases on these three lines. Dave ---

Re: Patch to support null-bytes in octet strings using python bindings

2010-02-09 Thread Thomas Anders
Tommy Beadle wrote: > I would like to propose the attached patch to the Python bindings. This is a > patch to version 5.4.2.1. Currently, including null-bytes in octet strings > doesn't work because it's just treating the strings from Python as > null-terminated strings instead of getting thei

Patch to support null-bytes in octet strings using python bindings

2010-02-09 Thread Tommy Beadle
Hello, I would like to propose the attached patch to the Python bindings. This is a patch to version 5.4.2.1. Currently, including null-bytes in octet strings doesn't work because it's just treating the strings from Python as null-terminated strings instead of getting their actual length. I d