Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • logilab-common logilab-common
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • open-source
  • logilab-commonlogilab-common
  • Merge requests
  • !4

simplify deprecation module

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Laurent Peuch requested to merge topic/default/simplify-deprecation-module into branch/default Apr 24, 2020
  • Overview 5
  • Commits 12
  • Changes 4

Basically a refactoring of the whole module to simplify it a lot removing the never used overkill DeprecationManager class and move to just a list of simple function.

I've backported from DeprecationManager the principle of displaying the module in which the warning is fired by making it automatic using frame walking.

Also, as discussed with Nicolas, we should probably extract this from logilab-common into a new standalone python module like most of the modules of logilab-common, having everything bundle doesn't make that much sens anymore.

Edited Apr 30, 2020 by Élodie Thiéblin
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: topic/default/simplify-deprecation-module