]> granicus.if.org Git - python/commitdiff
Issue #26754: PyUnicode_FSDecoder() accepted a filename argument encoded as
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 18 Jun 2016 10:56:16 +0000 (13:56 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 18 Jun 2016 10:56:16 +0000 (13:56 +0300)
an iterable of integers. Now only strings and byte-like objects are accepted.

1  2 
Lib/test/test_parser.py
Lib/test/test_zipimport.py
Misc/NEWS
Objects/unicodeobject.c

Simple merge
Simple merge
diff --cc Misc/NEWS
index 37e366336e933a4f7cd37b53f0243b5e69ef79c0,3c6d3aed716197244e3adb8739eac4098ce28841..6c7555af5b77ab5a2b5b4c14a8f7cc0cb26bbeef
+++ b/Misc/NEWS
@@@ -10,9 -13,10 +10,13 @@@ What's New in Python 3.6.0 alpha 
  Library
  -------
  
+ - Issue #26754: Some functions (compile() etc) accepted a filename argument
+   encoded as an iterable of integers. Now only strings and byte-like objects
+   are accepted.
 +- Issue #26536: socket.ioctl now supports SIO_LOOPBACK_FAST_PATH. Patch by
 +  Daniel Stokes.
 +
  - Issue #27048: Prevents distutils failing on Windows when environment
    variables contain non-ASCII characters
  
    locale encoding, and fix get_begidx() and get_endidx() to return code point
    indexes.
  
 -- Issue #26930: Update Windows builds to use OpenSSL 1.0.2h.
 +IDLE
 +----
 +
 +- Issue #27310: Fix IDLE.app failure to launch on OS X due to vestigial import.
  
+ C API
+ -----
+ - Issue #26754: PyUnicode_FSDecoder() accepted a filename argument encoded as
+   an iterable of integers. Now only strings and byte-like objects are accepted.
 +Build
 +-----
  
 -What's New in Python 3.5.2 final?
 -=================================
 -
 -Release date: 2016-06-26
 +- Issue #26930: Update Windows builds to use OpenSSL 1.0.2h.
  
 -Core and Builtins
 ------------------
 +- Issue #23968: Rename the platform directory from plat-$(MACHDEP) to
 +  plat-$(PLATFORM_TRIPLET).
 +  Rename the config directory (LIBPL) from config-$(LDVERSION) to
 +  config-$(LDVERSION)-$(PLATFORM_TRIPLET).
 +  Install the platform specifc _sysconfigdata module into the platform
 +  directory and rename it to include the ABIFLAGS.
  
 -Library
 --------
 +- Don't use largefile support for GNU/Hurd.
  
  
 -What's New in Python 3.5.2 release candidate 1?
 -===============================================
 +What's New in Python 3.6.0 alpha 2
 +==================================
  
 -Release date: 2016-06-12
 +*Release date: 2016-06-13*
  
  Core and Builtins
  -----------------
Simple merge