Ticket #5714 task new
Use Exception.args instead of iterating over it
| Reported by: | vperic | Owned by: | vperic |
|---|---|---|---|
| Priority: | normal | Milestone: | Python-3.x |
| Component: | core | Keywords: | py3k |
| Cc: | Branch: | branches/except-args-5714 | |
| Author: | vperic | Launchpad Bug: |
Description
In Python 3, it is no longer possible to iterate over an exception, because the getitem method is no longer supported. The solution is to use args to access what we need.
Change History
Note: See
TracTickets for help on using
tickets.
