summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorWolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>2019-03-28 21:47:18 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-03-28 21:47:18 (GMT)
commit74510e2a57f6d4b51ac1ab4f778cd7a4c54b541e (patch)
tree438bf203d740c30bd870b014dfab1748964352c4 /Misc
parent02b84cb1b4f5407309c81c8b1ae0397355d6e568 (diff)
downloadcpython-74510e2a57f6d4b51ac1ab4f778cd7a4c54b541e.zip
cpython-74510e2a57f6d4b51ac1ab4f778cd7a4c54b541e.tar.gz
cpython-74510e2a57f6d4b51ac1ab4f778cd7a4c54b541e.tar.bz2
bpo-30427: eliminate redundant type checks in os.path.normcase() (GH-1712)
https://bugs.python.org/issue30427
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-03-28-21-17-08.bpo-30427.lxzvbw.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-03-28-21-17-08.bpo-30427.lxzvbw.rst b/Misc/NEWS.d/next/Library/2019-03-28-21-17-08.bpo-30427.lxzvbw.rst
new file mode 100644
index 0000000..80e7c4a
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-03-28-21-17-08.bpo-30427.lxzvbw.rst
@@ -0,0 +1,2 @@
+``os.path.normcase()`` relies on ``os.fspath()`` to check the type of its argument. Redundant checks have been removed from its ``posixpath.normcase()`` and ``ntpath.normcase()`` implementations.
+Patch by Wolfgang Maier.