Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #80565 > unrolled thread
| Started by | Ethan Furman <ethan@stoneleaf.us> |
|---|---|
| First post | 2014-11-11 13:15 -0800 |
| Last post | 2014-11-11 13:15 -0800 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: I love assert Ethan Furman <ethan@stoneleaf.us> - 2014-11-11 13:15 -0800
| From | Ethan Furman <ethan@stoneleaf.us> |
|---|---|
| Date | 2014-11-11 13:15 -0800 |
| Subject | Re: I love assert |
| Message-ID | <mailman.15693.1415740565.18130.python-list@python.org> |
On 11/11/2014 01:09 PM, Albert-Jan Roskam wrote: > Ethan Furman wrote: >> >> asserts are a specialized tool, easily abused. Sounds like you are using them >> exactly as intended. > > Would you say that assert is baaadly abused in nose?*) I never tried it, but > probably all tests pass when Python is run with -O or -OO. I don't know, haven't used it nor read the code. It would certainly not be good if it failed in optimized mode. -- ~Ethan~
Back to top | Article view | comp.lang.python
csiph-web