Sujet : Re: psycopg2: proper positioning of .commit() within try: except: blocks
De : ram (at) *nospam* zedat.fu-berlin.de (Stefan Ram)
Groupes : comp.lang.pythonDate : 07. Sep 2024, 18:34:11
Autres entêtes
Organisation : Stefan Ram
Message-ID : <difference-20240907182905@ram.dialup.fu-berlin.de>
References : 1
Karsten Hilbert <
Karsten.Hilbert@gmx.net> wrote or quoted:
except PSYCOPG2-Exception:
The expression after "except" seems to be calculating a difference.
(Lately, I've been seeing some super long subject lines around here,
so here's a thought on how this one could've been worded shorter:
"Positioning of a database .commit() within a try block")