lp:~cjwatson/storm/py3-special-methods
Created by
Colin Watson
and last modified
- Get this branch:
- bzr branch lp:~cjwatson/storm/py3-special-methods
Only
Colin Watson
can upload to this branch. If you are
Colin Watson
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Colin Watson: Approve
-
Diff: 46 lines (+8/-0)3 files modifiedstorm/expr.py (+4/-0)
storm/info.py (+2/-0)
storm/references.py (+2/-0)
Branch information
Recent revisions
- 511. By Thiago Bellini
-
Provide needed methods for python3
When a class defined __eq__ it needs to define __hash__ to or else
it will not be hashable.Also, __div__ doesn't exist anymore in python3. Classes are supposed
to implement both __floordiv__ and __truediv__ instead.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:storm