Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

fix bug 14, make hashlib binary safe #21

Merged
merged 1 commit into from Sep 16, 2011

Conversation

Projects
None yet
3 participants
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.

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.

msm595 commented Sep 13, 2011

Thank you :D

brainfucker added a commit that referenced this pull request Sep 16, 2011

Merge pull request #21 from poelzi/master
fix bug 14, make hashlib binary safe

@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