Python 3 monkeypatched staticmethods cleanup improperly
Bug #1560630 reported by
Andrew Laski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python Fixtures |
Fix Released
|
Undecided
|
Andrew Laski |
Bug Description
The same issue fixed for Python 2 with https:/
Commit message of Python 2 fix explaining the issue:
"As noticed by Antoni S. Puimedon in http://
2, setattr(Class, name, func) automatically converts a function into an
instancemethod. To keep type(Class.func) as function, staticmethod(func) must
be applied explicitly."
Changed in python-fixtures: | |
assignee: | nobody → Andrew Laski (alaski) |
Changed in python-fixtures: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
https:/ /github. com/testing- cabal/fixtures/ pull/23