Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • W wendelin.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedi
  • wendelin.core
  • Repository

Switch branch/tag
  • wendelin.core
  • bigarray
  • array_zodb.py
Find file BlameHistoryPermalink
  • Jérome Perrin's avatar
    bigarray/zodb: Switch from inspect.getargspec -> inspect.getfullargspec · ce556e2b
    Jérome Perrin authored May 22, 2025 and Kirill Smelkov's avatar Kirill Smelkov committed Jul 11, 2025
    --------
    kirr:
    
    In py3.11 inspect.getargspec was removed
    
        bigarray/array_zodb.py:40: in <module>
            _ = inspect.getargspec(BigArray.__init__)
        E   AttributeError: module 'inspect' has no attribute 'getargspec'
    
    and https://docs.python.org/3/whatsnew/3.11.html says to replace it with
    inspect.getfullargspec. In fact inspect.getargspec was deprecated since
    py3, so we can do the change not only for py3.11+, but for any py3
    version.
    
    For our use-case getfullargspec seems to be drop-in replacement for
    getargspec, so we should be ok doing that.
    
    /reviewed-by @kirr
    /reviewed-on !37
    ce556e2b

Replace array_zodb.py

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