Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Add support for the cmp builtin (#54) (#63) #80

Merged
merged 1 commit into from
Jan 12, 2017
Merged

Add support for the cmp builtin (#54) (#63) #80

merged 1 commit into from
Jan 12, 2017

Commits on Jan 11, 2017

  1. Add support for the cmp builtin (#54) (#63)

    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.
    meadori committed Jan 11, 2017
    Configuration menu
    Copy the full SHA
    b9db9a4 View commit details
    Browse the repository at this point in the history