Opened 8 years ago
Last modified 5 years ago
#5474 new defect
Switch assert statements into proper exceptions
Reported by: | Christopher Allan Webber | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 0.11.0 |
Component: | programming | Keywords: | small |
Cc: | Parent Tickets: |
Description
See this article; we use assert as a "cheap and easy" way to throw errors if we don't want something, but it's not meant for that... and we might even miss serious / dangerous things. Once python is compiled into bytecode, assert might not run.
Change History (4)
comment:1 by , 8 years ago
Keywords: | small added |
---|
comment:2 by , 8 years ago
comment:3 by , 7 years ago
Milestone: | 1.0 → 0.10.0 |
---|
comment:4 by , 5 years ago
Milestone: | 0.10.0 → 0.11.0 |
---|
Note:
See TracTickets
for help on using tickets.
The following command gives a list of files using assertions (minus tests and third-party code):