Skip to content

Commit 77585f7

Browse files
author
Pierre Quentel
committed
Update whatsnew and NEWS
1 parent f626fff commit 77585f7

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Doc/whatsnew/3.7.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,14 @@ New Modules
9595
Improved Modules
9696
================
9797

98+
cgi
99+
---
100+
101+
:func:`~cgi.parse_multipart` returns the same results as
102+
:class:`~FieldStorage` : for non-file fields, the value associated to a key
103+
is a list of strings, not bytes.
104+
(Contributed by Pierre Quentel in :issue:`29979`.)
105+
98106
http.server
99107
-----------
100108

Misc/NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,10 @@ Extension Modules
303303
Library
304304
-------
305305

306+
- bpo-29979: rewrite cgi.parse_multipart, reusing the FieldStorage class and
307+
making its results consistent with those of FieldStorage for
308+
multipart/form-data requests. Patch by Pierre Quentel.
309+
306310
- bpo-29649: Improve struct.pack_into() exception messages for problems
307311
with the buffer size and offset. Patch by Andrew Nester.
308312

0 commit comments

Comments
 (0)