[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-03 Thread Pierre Quentel
Pierre Quentel pierre.quen...@gmail.com added the comment: Other version of the diff file. Nothing changed but I'm afraid I had left duplicate definitions of some methods in the FieldStorage class I follow the discussion on this thread, but would like to know if the patch has been tested

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-02 Thread Pierre Quentel
Pierre Quentel pierre.quen...@gmail.com added the comment: Hi, I have started working on the port of a simplified version of Karrigell (a web framework) to Python3. I experienced the same problem as the other posters : in the current version, file upload doesn't work. So I've been working

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-02 Thread Pierre Quentel
Pierre Quentel pierre.quen...@gmail.com added the comment: I attach the svn diff file against the present version (generated by Tortoise SVN), hope it's what you expect -- Added file: http://bugs.python.org/file20229/cgi_diff.txt ___ Python tracker

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-02 Thread Pierre Quentel
Pierre Quentel pierre.quen...@gmail.com added the comment: Please ignore previous post. I worked on the version of cgi.py included in version 3.2b2, and I just realized there were changes commited to the svn repository since this version. I will post the diff file later, but you can always

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-02 Thread Pierre Quentel
Pierre Quentel pierre.quen...@gmail.com added the comment: Here is the correct diff file I also introduced a test to exit from the loop in read_multi() if the total number of bytes read reaches content-length. It was necessary for my framework, which uses cgi.FieldStorage to read from

[issue10768] Bug in scrolledtext

2010-12-25 Thread Pierre Quentel
Pierre Quentel pierre.quen...@gmail.com added the comment: The function example(), line 44 of the module - Pierre 2010/12/24 R. David Murray rep...@bugs.python.org R. David Murray rdmur...@bitdance.com added the comment: Where is this example? -- assignee: - d...@python

[issue10768] Bug in scrolledtext

2010-12-24 Thread Pierre Quentel
New submission from Pierre Quentel pierre.quen...@gmail.com: The scrolledtext example crashes with this message : TypeError: unsupported operand type(s) for +: 'dict_keys' and 'dict_keys' It works if keys() are converted to lists in line 33 : methods = list(vars(Pack).keys()) + list(vars(Grid

<    1   2