Re: psycopg2: proper positioning of .commit() within try: except: blocks

Liste des GroupesRevenir à cl python 
Sujet : Re: psycopg2: proper positioning of .commit() within try: except: blocks
De : ram (at) *nospam* zedat.fu-berlin.de (Stefan Ram)
Groupes : comp.lang.python
Date : 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")



Date Sujet#  Auteur
7 Sep 24 * psycopg2: proper positioning of .commit() within try: except: blocks2Karsten Hilbert
7 Sep 24 `- Re: psycopg2: proper positioning of .commit() within try: except: blocks1Stefan Ram

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal