Opened 6 years ago
Last modified 6 years ago
#21552 closed defect
Add a fix for Python bug #20108 — at Version 3
Reported by: | jdemeyer | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-7.4 |
Component: | packages: standard | Keywords: | |
Cc: | charpent | Merged in: | |
Authors: | Jeroen Demeyer | Reviewers: | |
Report Upstream: | Fixed upstream, in a later stable release. | Work issues: | |
Branch: | u/jdemeyer/add_a_fix_for_python_bug__20108 (Commits, GitHub, GitLab) | Commit: | cf0621dbfac2012f92ed4840b0e8f7c0c1681ee5 |
Dependencies: | Stopgaps: |
Description (last modified by )
ipywidgets
uses inspect.getcallargs
which has a subtle bug in case the inspected function has a func
keyword argument: http://bugs.python.org/issue20108
This is fixed in Python 3.3 and later. We can easily backport the fix to Python 2.7.
While I'm at it, I also removed sdist.patch
(which was about .hg
directories and is clearly no longer relevant) and renamed some patches with the Python issue number.
Note to the release manager: ideally, this would be merged together with #21441 since both tickets trigger recompilation of all Python packages.
Change History (3)
comment:1 Changed 6 years ago by
- Branch set to u/jdemeyer/add_a_fix_for_python_bug__20108
comment:2 Changed 6 years ago by
- Commit set to cf0621dbfac2012f92ed4840b0e8f7c0c1681ee5
- Description modified (diff)
- Status changed from new to needs_review
comment:3 Changed 6 years ago by
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.
New commits:
Fix Python bug #20108: getcallargs() with func keyword