fix bug 14, make hashlib binary safe #21

Merged
merged 1 commit into from Sep 16, 2011

Projects

None yet

3 participants

@poelzi
Contributor
poelzi commented Sep 13, 2011

this patch fixes hashlib which does not respect Buffers as it should.

The macro converts argument positions to raw data. I was forced to use
it because i wasn't able get the value out of scope of a lookup function
withcout beeing collected by the garbage collector. It could be
optimized a little bit, but I didn't found a way to just declare a
Utf8Value and initialize it later.

@poelzi poelzi make hashlib binary safe.
this patch fixes hashlib which does not respect Buffers as it should.

The macro converts argument positions to raw data. I was forced to use
it because i wasn't able get the value out of scope of a lookup function
withcout beeing collected by the garbage collector. It could be
optimized a little bit, but I didn't found a way to just declare a
Utf8Value and initialize it later.
8c48128
msm595 commented Sep 13, 2011

Thank you :D

@brainfucker brainfucker merged commit 3c0b26f into brainfucker:master Sep 16, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment