-
Key: PYTH12-8
-
Legacy Issue Number: 4661
-
Status: closed
-
Source: AT&T ( Duncan Grisby)
-
Summary:
I suggest a change to the mapping for value boxes, that makes them
much more convenient to use. I believe that none of the Python ORBs
implement the currently specified mapping, so changing the mapping at
this point will not affect any ORB implementations or application
code.I suggest that the new mapping is:
------
Value boxes are mapped to the normal mapping of the boxed type, or
None for null value boxes. For example, given IDLvaluetype BoxedString string;
{ void example(in BoxedString a, in BoxedString b); }
interface I;
the operation could be called as:
obj.example("Hello", None)
------
Discussion: this mapping has one limitation, in that in a boxed object
reference type it is impossible to distinguish a null value box from a
non-null value box containing a nil object reference. This is
considered acceptable since the IDL to Java mapping has the same
property; there is a clear precedent for this kind of mapping. -
Reported: PYTH 1.1 — Mon, 5 Nov 2001 05:00 GMT
-
Disposition: Resolved — PYTH 1.2
-
Disposition Summary:
Accept the proposed changes
-
Updated: Fri, 6 Mar 2015 20:58 GMT