Issue #9632: Remove sys.setfilesystemencoding() function: use PYTHONFSENCODING
environment variable to set the filesystem encoding at Python startup.
sys.setfilesystemencoding() creates inconsistencies because it is unable to
reencode all filenames in all objects.
diff --git a/Misc/NEWS b/Misc/NEWS
index 11a14f2..579fc04 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -29,6 +29,11 @@
Library
-------
+- Issue #9632: Remove sys.setfilesystemencoding() function: use
+ PYTHONFSENCODING environment variable to set the filesystem encoding at
+ Python startup. sys.setfilesystemencoding() creates inconsistencies because
+ it is unable to reencode all filenames in all objects.
+
- Issue #9410: Various optimizations to the pickle module, leading to
speedups up to 4x (depending on the benchmark). Mostly ported from
Unladen Swallow; initial patch by Alexandre Vassalotti.