[issue28375] cgi.py spam in Apache server logs

2021-12-01 Thread Irit Katriel


Irit Katriel  added the comment:

Thanks Sebastian, I'll close this and if someone still sees this problem they 
will report it.

--
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28375] cgi.py spam in Apache server logs

2021-10-22 Thread Sebastian Rittau


Sebastian Rittau  added the comment:

All my projects now use werkzeug instead of the cgi module, so I can't confirm 
whether this problem still exists. I'm fine with closing this as unreproducible 
if no one else can reproduce it.

--
status: pending -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28375] cgi.py spam in Apache server logs

2021-10-21 Thread Irit Katriel


Change by Irit Katriel :


--
status: open -> pending

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28375] cgi.py spam in Apache server logs

2021-10-21 Thread Irit Katriel


Irit Katriel  added the comment:

There's been quite a few changes in finalization (thanks to Victor) since 
3.5/3.6. 

Are you seeing this problem on 3.9+? 

Can you provide instructions how to reproduce it?

--
nosy: +iritkatriel, vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28375] cgi.py spam in Apache server logs

2019-03-29 Thread yoch


yoch  added the comment:

Same issue here (python 3.6). This is very annoying, especially in case of 
large entries in FieldStorage, because the whole data is written to the log.

Example:
FieldStorage('image', 'upload.jpg', b'...can be very long...')

--
components: +Library (Lib)
nosy: +yoch.melka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28375] cgi.py spam in Apache server logs

2016-10-06 Thread Sebastian Rittau

New submission from Sebastian Rittau:

I am using cgi.py in WSGI applications, using Apache and mod_wsgi. 
Unfortunately cgi.py keeps spamming the error log with messages like the 
following:

Exception ignored in: 
Traceback (most recent call last):
  File "/usr/lib/python3.5/cgi.py", line 566, in __del__
NameError: name 'AttributeError' is not defined

This is mostly likely due to the warning about __del__ in 
, i.e. AttributeError will 
already have been cleaned at the time FieldStorage is collected. One workaround 
that seems to work for me is to cache AttributeError in the constructor of 
FieldStorage in self and use that attribute during __del__.

--
messages: 278186
nosy: srittau
priority: normal
severity: normal
status: open
title: cgi.py spam in Apache server logs
versions: Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com