forked from MagmaLabs/mongorm
-
Notifications
You must be signed in to change notification settings - Fork 1
Make compatible with python 2 and python 3 #44
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
Open
Juko
wants to merge
25
commits into
master
Choose a base branch
from
py3
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
6f48603
List all needed dependencies
fd1db8a
Don't crash if no pymongo wrapper is supplied
9a82719
Remove reference to removed pushall mongo modifier
981ab9a
Correctly default to array on upsert
64e16d2
Remove extra spaces
2a44caa
Stage 1 of futurize
d972b79
Use builtins object
538b938
Use with_metaclass method
9af04ec
Convert iterX methods to use py3 syntax
92aecb3
Make iterators behave like python 2 expects
b6bd4cd
Guard against futures newobject type that wraps object
3a1f6ba
Import basestring for use in the codebase
b6d4ffe
Use binascii for generic py2/3 interface in converting to hex
86e9cc6
Use new definition of range
b735f5b
Make pickle use compatible syntax
2db729f
Update range value to use new import
c6c0d77
Ensure order of sets in test
94029b3
Use new py3 compatible str
b6f3dbe
Change tests to be better aligned with what's expected from py3/py2
3886461
Bump up version number
92f3f81
Explicitly require future as a requirement
b9ad574
Ensure documents are truthy
666a0aa
Default to use python version of str when passing to ObjectId
1eb0c34
Use a set for intersection
1db4387
Default to use cPickle
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Make iterators behave like python 2 expects
- Loading branch information
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.