Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • C cpython
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • cpython
  • Repository

Switch branch/tag
  • cpython
  • Python
  • sysmodule.c
Find file BlameHistoryPermalink
  • Serhiy Storchaka's avatar
    [2.7] bpo-35441: Remove dead and buggy code related to PyList_SetItem(). (GH-11033) (GH-11234) · 89b5ea29
    Serhiy Storchaka authored Dec 19, 2018
    In _localemodule.c and selectmodule.c, remove dead code that would
    cause double decrefs if run.
    
    In addition, replace PyList_SetItem() with PyList_SET_ITEM() in cases
    where a new list is populated and there is no possibility of an error.
    
    In addition, check if the list changed size in the loop in array_array_fromlist().
    (cherry picked from commit 99d56b53
    
    )
    Co-authored-by: default avatarZackery Spytz <zspytz@gmail.com>
    89b5ea29

Replace sysmodule.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7