Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • pygolang pygolang
  • 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 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedi
  • pygolangpygolang
  • Repository

Switch branch/tag
  • pygolang
  • golang
  • __init__.py
Find file BlameHistoryPermalink
  • Kirill Smelkov's avatar
    golang: Teach recover to always return exception with .__traceback__ set even on Python2 · cfcc6db2
    Kirill Smelkov authored May 19, 2020
    This makes recovered exception object a good target to be explicitly
    chained into (PEP 3134) via .__cause__ because without .__traceback__ the
    information about where/how recovered exception originated would be lost.
    
    In turn, having recover to always return full exception info, should
    allow to use recover in "add error context"-style utilities.
    
    /reviewed-on: nexedi/pygolang!3
    cfcc6db2

Replace __init__.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