A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-August/016695.html below:

[Python-Dev] Re: cgitb.py for Python 2.2

[Python-Dev] Re: cgitb.py for Python 2.2 [Python-Dev] Re: cgitb.py for Python 2.2Guido van Rossum guido@zope.com
Sat, 04 Aug 2001 03:32:04 -0400
Give it up, Ping.  cgitb writes the tb to stdout, not to stderr, and
that's enough of a difference in behavior to require explicit
enabling.  It's not worth your energy to try and convince us.

Let's have the cgitb module as an optional feature.  Let's update
various documentation to suggest this boilerplate at the top of CGI
modules:

  import cgi
  import cgitb; cgitb.enable()

Regarding the secrecy of tracebacks: normal tracebacks are seen by a
user who has logged in to the system and who can look at the source
code anyway.  Web tracebacks can be seen as invitations to hackerz
without any source access to look for weaknesses in the script.
That's a very different thing from a security point of view!
(Security by obscurity, maybe, but nevertheless better than hanging
out your dirty laundry to dry in public.  Enough hackerz know Python.)

--Guido van Rossum (home page: http://www.python.org/~guido/)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4