- 17 Jan, 2017 1 commit
-
-
YOU authored
-
- 16 Jan, 2017 9 commits
-
-
Brian Atkinson authored
-
YOU authored
-
YOU authored
-
Dylan Trotter authored
-
YOU authored
-
YOU authored
-
YOU authored
-
YOU authored
-
YOU authored
-
- 15 Jan, 2017 6 commits
-
-
cclauss authored
-
YOU authored
-
YOU authored
-
YOU authored
-
Dylan Trotter authored
-
Meador Inge authored
When comparing two objects and the appropriate rich comparison method doesn't exist, the `__cmp__` method should be tried. For example, if `a == b` is executed and neither `a` or `b` have the appropriate rich comparison methods, then the equivalent of `a.__cmp__(b) == 0` should be tried. Lots of tests for both 3-way comparison and rich comparison were added. The comparison implementation in the runtime should be fully covered now.
-
- 14 Jan, 2017 4 commits
- 13 Jan, 2017 6 commits
- 12 Jan, 2017 6 commits
-
-
Meador Inge authored
Python gaurantees that its builtin sort for mutable sequences is stable. For more details, see note (9) in: * https://docs.python.org/2/library/stdtypes.html#mutable-sequence-types I couldn't come up with a decent way to test this.
-
YOU authored
-
YOU authored
-
YOU authored
-
YOU authored
-
Meador Inge authored
Implement the `cmp` as defined here: * https://docs.python.org/2/library/functions.html#cmp Implementing this builtin required implementing a fair amount of supporting logic to do 3-way comparisons. The 3-way comparison implementation in CPython is somewhat complex, thus there may be some cases that still need support. This is a good start, though.
-
- 11 Jan, 2017 5 commits
-
-
Dylan Trotter authored
-
iury authored
-
YOU authored
-
YOU authored
Pull values from Go syscall package.
-
YOU authored
-
- 10 Jan, 2017 3 commits
-
-
YOU authored
-
Dylan Trotter authored
-
Dylan Trotter authored
-