3
you are viewing a single comment's thread
view the rest of the comments
[-] heeplr@feddit.de 2 points 3 years ago

TL;DR

Python optimizes "assert" statements out with -O or PYTHONOPTIMIZE set and some users seem to use it for critical stuff instead of raising Exceptions.

this post was submitted on 18 Jun 2023
3 points (100.0% liked)

General Programming Discussion

10014 readers
1 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 7 years ago
MODERATORS