This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2011年01月14日 21:34 by vstinner, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| test_cgi.diff | quentel, 2011年01月29日 20:56 | diff file for test_cgi.py | ||
| Messages (7) | |||
|---|---|---|---|
| msg126300 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2011年01月14日 21:34 | |
cgi was recently fixed just before Python 3.2 final, but the module has few tests. More tests should be written. You can find some examples attached to #4953. |
|||
| msg126440 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2011年01月17日 22:28 | |
See also #8846: Andre Wobst wrote other tests. |
|||
| msg126819 - (view) | Author: Pierre Quentel (quentel) * | Date: 2011年01月22日 07:44 | |
Hi, I have written more tests, but also propose changes to cgi.py : - rewrite the parse_qs() and parse_multipart() functions so that they use FieldStorage methods instead of duplicating them - add a function set_stdout_encoding(encoding), using the IOMix class proposed by Glen Linderman in issue #4953 Should I post the new version of test_cgi.py here and open another issue for the other proposed changes to cgi.py, or use this issue to discuss both ? |
|||
| msg126937 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2011年01月24日 17:28 | |
Please keep new tests for existing features and new features in separate issues. A proposed code refactoring should also be a separate issue. |
|||
| msg127486 - (view) | Author: Pierre Quentel (quentel) * | Date: 2011年01月29日 20:56 | |
Here is the diff file for test_cgi.py I added a test for a multipart/form-data form with non ASCII data to test the "encoding" parameter of FieldStorage |
|||
| msg127974 - (view) | Author: Pierre Quentel (quentel) * | Date: 2011年02月05日 06:45 | |
I opened issue #11066 for the code refactoring |
|||
| msg129832 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2011年03月01日 23:10 | |
I commited your patch with minor changes (e.g. I kept f.close()) to Python 3.3 (r88700) and 3.2 (r88701). Thank you Pierre. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:11 | admin | set | github: 55120 |
| 2011年03月02日 01:09:15 | vstinner | set | status: open -> closed nosy: vstinner, dstanek, r.david.murray, wobsta, quentel resolution: fixed |
| 2011年03月01日 23:10:13 | vstinner | set | nosy:
vstinner, dstanek, r.david.murray, wobsta, quentel messages: + msg129832 |
| 2011年02月05日 06:45:33 | quentel | set | nosy:
vstinner, dstanek, r.david.murray, wobsta, quentel messages: + msg127974 |
| 2011年01月29日 20:56:13 | quentel | set | files:
+ test_cgi.diff messages: + msg127486 keywords: + patch nosy: vstinner, dstanek, r.david.murray, wobsta, quentel |
| 2011年01月24日 17:28:53 | r.david.murray | set | nosy:
+ r.david.murray messages: + msg126937 |
| 2011年01月24日 15:41:05 | dstanek | set | nosy:
+ dstanek |
| 2011年01月22日 07:44:48 | quentel | set | nosy:
+ quentel messages: + msg126819 |
| 2011年01月17日 22:28:23 | vstinner | set | nosy:
+ wobsta messages: + msg126440 |
| 2011年01月16日 22:12:48 | pitrou | set | type: enhancement versions: + Python 3.3, - Python 3.2 |
| 2011年01月14日 21:34:31 | vstinner | create | |