Replace 'callable(foo)' with 'hasattr(foo, "__call__")'
|Reported by:||cvaliente||Owned by:|
|Cc:||antoine, exarkun, thijs||Branch:|
This patch eliminates the DeprecationWarnings thrown when running the test suite with "python2.6 -3"
Change History (24)
Changed 7 years ago by cvaliente
comment:12 follow-up: ↓ 13 Changed 6 years ago by exarkun
- Cc exarkun added
- Keywords review removed
- Owner set to cvaliente
Changed 6 years ago by cvaliente
comment:13 in reply to: ↑ 12 Changed 6 years ago by cvaliente
- Keywords review added
- Owner cvaliente deleted
comment:18 Changed 6 years ago by exarkun
- Keywords py3k removed
- Milestone changed from Python-2.6 to Python-3.x
comment:21 Changed 5 years ago by exarkun
- Resolution set to invalid
- Status changed from new to closed
Note: See TracTickets for help on using tickets.