-
Key: PYTH11-13
-
Legacy Issue Number: 3724
-
Status: closed
-
Source: Boeing ( Jim Fulton)
-
Summary:
The Python language binding says that IDL attributes are mapped
to Python accessor functions with leading '_'s in their names:"If an interface defines an attribute name, the attribute is mapped into an
operation _get_name, as defined If the attribute is not readonly, there is an
additional operation _set_name, as defined in chapter 3.11 of CORBA 2.2."Traditionally, Python attributes and methods with leading '_'s in their
names are considered to be private. The language enforces this in some cases.
For example, names with leading '_'s are not automatically exported from
modules and names used in class definitions are mangled to prevent
external access if they begin with double '_'s and don't end in double
'_'s.I feel strongly that the language mapping should be
changed to get accessor method names without leading underscore,
as in get_name(), or even just name(), as in the C++ mapping. -
Reported: PYTH 1.0 — Fri, 23 Jun 2000 04:00 GMT
-
Disposition: Resolved — PYTH 1.1
-
Disposition Summary:
close issue, see above
-
Updated: Fri, 6 Mar 2015 20:58 GMT
PYTH11 — Issue: Python language binding January 2000 Draft
- Key: PYTH11-13
- OMG Task Force: Python Mapping 1.1 RTF