[Python-de] Re: cgi cgitb Ersatz für Python 3.13

"Massa, Harald Armin" <[email protected]>
Newsgroups gmane.comp.python.general.german
Message-ID <CAMSP2L6rBE=0MOngcqbiKqjBQjfrW64YZ4tZ7CO47puo42z-Yw@mail.gmail.com>
PEP 206 considers the module as:
> |
> |    "[…] designed poorly and are now near-impossible to fix (cgi) […]"

habe grade mal in den Quellcode geschaut, hier zum Klicken:

https://github.com/python/cpython/blob/3.11/Lib/cgitb.py

in den 332 Zeilen des Modules sind diverse Vorgehensweisen, die
üblicherweise als
"so bitte nicht" beschreiben werden.

WENN das Projekt darauf aufbaut ... dann in Python 3.13ff einfach das Modul
aus 3.11 ins Projektverzeichnis kopieren. Und ab dann ist eben der
Projektowner für das Fixen verantwortlich.

Gruß

Harald




On Wed, 26 Oct 2022 at 09:22, Hartmut Goebel <[email protected]>
wrote:

> Hallo,
>
> Am 25.10.22 um 20:05 schrieb Thomas Hochstein:
> > | cgi
> > |
> > | The cgi module is a support module for Common Gateway Interface (CGI)
> > | scripts. CGI is deemed as inefficient because every incoming request is
> > | handled in a new process. PEP 206 considers the module as:
> > |
> > |    "[…] designed poorly and are now near-impossible to fix (cgi) […]"
> >
> > Das ist der Grund für die vorgesehene Entfernung.
>
> Auch wenn diese ML der falsche Fleck ist, um das zu diskutieren:
>
> Das Argument finde ich ziemlich schwachen, denn es gibt genügend
> Anwendungsfälle, bei denen CGI völlig ausreichend ist. Beispielsweise
> wenn man eine Website betreibt, bei der 5-ml im Jahr jemand das
> Kontaktformular benutzt.
>
> (Das Formular für meinen decompyle-Service war ebenfalls in CGI
> implementiert. Für die paar Anfragen im Jahr völlig ausreichend.)
>
> --
> Schönen Gruß
> Hartmut Goebel
> Dipl.-Informatiker (univ), CISSP, CSSLP, ISO 27001 Lead Implementer
> Information Security Management, Security Governance, Secure Software
> Development
>
> Goebel Consult, Landshut
> http://www.goebel-consult.de
>
> Blog:
> https://www.goe-con.de/blog/steuerbehoerden-torpetieren-freie-software
> Kolumne:
>
> https://www.goe-con.de/hartmut-goebel/cissp-gefluester/2012-01-in-die-cloud-in-die-cloud-aber-wo-soll-die-sein
>
> _______________________________________________
> python-de Mailingliste -- [email protected]
> Zur Abmeldung von dieser Mailingliste senden Sie eine Nachricht an
> [email protected]
> https://mail.python.org/mailman3/lists/python-de.python.org/
> Mitgliedsadresse: [email protected]
>


-- 

GHUM GmbH
Harald Armin Massa
Spielberger Straße 49
70435 Stuttgart
0173/9409607

Amtsgericht Stuttgart, HRB 734971
GF: Harald Armin Massa
_______________________________________________
python-de Mailingliste -- [email protected]
Zur Abmeldung von dieser Mailingliste senden Sie eine Nachricht an [email protected]
https://mail.python.org/mailman3/lists/python-de.python.org/
Mitgliedsadresse: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.