Switch callable checks to isinstance for Python 3
Bug #1035104 reported by
Brian Curtin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu Single Sign On Client | Status tracked in Trunk | |||||
Stable-4-0 |
Invalid
|
Undecided
|
Unassigned | |||
Trunk |
Invalid
|
Undecided
|
Brian Curtin | |||
ubuntu-sso-client (Ubuntu) |
Invalid
|
Medium
|
Unassigned | |||
Bug Description
Python 3 loses the callable builtin, instead prefering a check of isinstance(
Related branches
lp:~brian.curtin/ubuntu-sso-client/py3-callable
Rejected
for merging
into
lp:ubuntu-sso-client
- Alejandro J. Cura (community): Disapprove
-
Diff: 22 lines (+4/-1)1 file modifiedubuntu_sso/qt/tests/__init__.py (+4/-1)
tags: | added: python3 |
Changed in ubuntu-sso-client (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
callable() was added back to Python 3.2, so I think this can be closed.