PYTH 1.0 NO IDEA Avatar
  1. OMG Issue

PYTH — Python Issue: Wide strings

  • Key: PYTH-13
  • Legacy Issue Number: 3350
  • Status: closed  
  • Source: Camros Corporation ( Jeffrey Marshall)
  • Summary:

    Section 1.3.2 describes how wide strings (and wide chars) are mapped to an
    implementation defined type.

    It says that this type supports being passed to the std. python "len"
    function – is the returned value of this supposed to be the length in wchars
    or octets?

    It says that CORBA.wstr returns a wide character with the code point "c" in
    an implementation defined encoding. What happens if "c" not a valid code
    point?

    It says that "CORBA.word (CORBA.wstr (c)) == c". Does this also imply that
    "len (CORBA.wstr (c)) == 1" and that CORBA.word only takes a wide string with
    a length of one? What exceptions are raised if this is not true?

  • Reported: PYTH 1.0b1 — Tue, 22 Feb 2000 05:00 GMT
  • Disposition: Resolved — PYTH 1.0
  • Disposition Summary:

    Since the len function always returns the number of elements in a sequence, it must return the numbe

  • Updated: Fri, 6 Mar 2015 20:58 GMT