Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python 3.4.3 dumps fails to serialize binary data #32

Closed
positivcheg94 opened this issue Aug 12, 2015 · 1 comment
Closed

python 3.4.3 dumps fails to serialize binary data #32

positivcheg94 opened this issue Aug 12, 2015 · 1 comment
Labels

Comments

@positivcheg94
Copy link

python 2.7.10 - dumps and loads are OK
python 3.4.3 - loads OK, dumps fails to serialize binary data

import bson
message = b'qwerty'
dumped = bson.dumps({'d':message})
des_message = bson.loads(dumped)
des_message
{}

@Parkayun Parkayun added the bug label Aug 13, 2015
@positivcheg94 positivcheg94 changed the title python 3.4.3 dumps fails to serialise binary data python 3.4.3 dumps fails to serialize binary data Aug 13, 2015
@Parkayun
Copy link
Member

I fixed this bug and uploaded 0.4.1 to PyPI.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants