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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-111262: Add PyDict_Pop() function [with default value] #111939

Closed
wants to merge 6 commits into from

Commits on Nov 12, 2023

  1. pythongh-111262: Add PyDict_Pop() function

    Change the API of the internal _PyDict_Pop_KnownHash() function
    to return an int.
    
    Co-Authored-By: Stefan Behnel <stefan_ml@behnel.de>
    vstinner and scoder committed Nov 12, 2023
    Configuration menu
    Copy the full SHA
    b3e7de4 View commit details
    Browse the repository at this point in the history
  2. Update Doc/c-api/dict.rst

    Co-authored-by: Antoine Pitrou <pitrou@free.fr>
    vstinner and pitrou committed Nov 12, 2023
    Configuration menu
    Copy the full SHA
    9b20053 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    096ff50 View commit details
    Browse the repository at this point in the history
  4. Use PyDict_Pop()

    vstinner committed Nov 12, 2023
    Configuration menu
    Copy the full SHA
    7596d95 View commit details
    Browse the repository at this point in the history
  5. Cleanup

    vstinner committed Nov 12, 2023
    Configuration menu
    Copy the full SHA
    9ec6aa4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    787346d View commit details
    Browse the repository at this point in the history