Ticket #198 (closed enhancement: fixed)
a lot of equations like type(x) == type("")
| Reported by: | getxsick | Owned by: | boltrix |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Umit | Version: | current svn |
| Keywords: | Cc: | gpolo |
Description
there are thousands of them in umit code. even better is type(x) is object (e.g. type(x) is str but perhaps better is to use isinstance() than checking about.
another issue is that type checking in general meaning about bad style ;)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
