]> granicus.if.org Git - python/commit
bpo-37388: Add PyUnicode_Decode(str, 0) fast-path (GH-14385)
authorVictor Stinner <vstinner@redhat.com>
Tue, 25 Jun 2019 23:49:32 +0000 (01:49 +0200)
committerGitHub <noreply@github.com>
Tue, 25 Jun 2019 23:49:32 +0000 (01:49 +0200)
commited076ed467264b43ed01a8223ca65b133b590919
tree480845a2680f6e36fd0f70bbf4e51e8f8d81134c
parent22eb689cf3de7972a2789db3ad01a86949508ab7
bpo-37388: Add PyUnicode_Decode(str, 0) fast-path (GH-14385)

Add a fast-path to PyUnicode_Decode() for size equals to 0.
Objects/unicodeobject.c