]> granicus.if.org Git - python/commit
bpo-37705: Improve the implementation of winerror_to_errno() (GH-15623)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 9 Sep 2019 10:37:55 +0000 (03:37 -0700)
committerGitHub <noreply@github.com>
Mon, 9 Sep 2019 10:37:55 +0000 (03:37 -0700)
commit68e401fa0b1a3407bce395ad893535f65107ee6e
tree0338691a943df36b39e673ddedcdbc3c263686f1
parenteb02196bd95ea12fcccff3960f36601596811570
bpo-37705: Improve the implementation of winerror_to_errno() (GH-15623)

winerror_to_errno() is no longer automatically generated.
Do not rely on the old _dosmapperr() function.
Add ERROR_NO_UNICODE_TRANSLATION (1113) -> EILSEQ.
(cherry picked from commit 19052a11314e7be7ba003fd6cdbb5400a5d77d96)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Misc/NEWS.d/next/Windows/2019-08-30-15-15-22.bpo-37705.2o4NWW.rst [new file with mode: 0644]
PC/errmap.h
PC/generrmap.c [deleted file]