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

Add functools.total_ordering #818

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 19, 2024

  1. functools: Add functools.total_ordering.

    This commit is the result of copying the total_ordering code and tests
    over from CPython v3.7.17.
    One test is disabled because it expects builtin objects to have
    attributes (__lt__, __gt__, etc.).
    Another test for compatibility with pickle is also disabled because
    pickle compatibility is currently broken.
    Bumped package version to 0.0.8.
    
    The functools code in CPython has the following credits:
    
    Written by Nick Coghlan <ncoghlan at gmail.com>,
    Raymond Hettinger <python at rcn.com>,
    and Łukasz Langa <lukasz at langa.pl>.
      Copyright (C) 2006-2013 Python Software Foundation.
    See C source code for _functools credits/copyright
    
    This work was donated by W Winfried Kretzschmar.
    
    Signed-off-by: W Winfried Kretzschmar <winni@warrenwk.com>
    winni2k committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    61efc92 View commit details
    Browse the repository at this point in the history