On Fri, Jan 26, 2018 at 8:22 PM, Terry Reedy <tjreedy@udel.edu> wrote:
On 1/26/2018 8:27 PM, Steven D'Aprano wrote:
On Fri, Jan 26, 2018 at 02:37:14PM +0100, Victor Stinner wrote:

Really? I never required such check in practice. Would you mind to
elaborate your use case?

tcl/tk and Javascript only support UCS-2 (16 bit) Unicode strings.

Since IDLE is a tkinter application, it would be helpful if there were an isbmp function that exposed the existing flag in the string object.

Sorry, no. The existing internal flag is an implementation detail that should not show in the API.

--
--Guido van Rossum (python.org/~guido)