Skip to content

Commit 1b8624b

Browse files
Add whatsnew
1 parent 89e6101 commit 1b8624b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Doc/whatsnew/3.11.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,11 @@ Deprecated
492492
:func:`locale.getlocale` functions instead.
493493
(Contributed by Victor Stinner in :issue:`46659`.)
494494

495+
* Providing anything but a string or bytes object to :mod:`urllib.parse`
496+
functions expecting strings or bytes now raises :exc:`DeprecationWarning`
497+
if the value tests false, or :exc:`TypeError` if it tests true.
498+
(Contributed by Jacob Walls in :issue:`19094`.)
499+
495500

496501
Removed
497502
=======

0 commit comments

Comments
 (0)