[issue9968] cgi.FieldStorage: Give control about the directory used for uploads

2011-07-31 Thread phep
phep added the comment: Le 30/07/2011 15:45, Éric Araujo a écrit : > > Éric Araujo added the comment: > I’ve read in the tempfile module docstring that in order to control the > directory, you have to set tempfile.tempdir before calling any tempfile > function. I suspect this will not be okay

[issue9968] cgi.FieldStorage: Give control about the directory used for uploads

2011-07-30 Thread Éric Araujo
Éric Araujo added the comment: > After pondering this for a while I think the simpler is the better > and I propose to add documentation to inform the reader that changing > the temp directory through os.environ of tempfile.tempdir might worth > consideration. Okay. Your patch has this doc chan