summaryrefslogtreecommitdiff
path: root/py/python
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2009-01-27 17:33:50 -0800
committerMark Spruiell <mes@zeroc.com>2009-01-27 17:33:50 -0800
commit035d3f4040c37c78dcbad2b31a770c71e8b64c66 (patch)
treeb4a5b23a4943461cd6171cc62919f4efeed2c8cc /py/python
parentSquashed commit of the following: (diff)
downloadice-035d3f4040c37c78dcbad2b31a770c71e8b64c66.tar.bz2
ice-035d3f4040c37c78dcbad2b31a770c71e8b64c66.tar.xz
ice-035d3f4040c37c78dcbad2b31a770c71e8b64c66.zip
bug 3676 - bug in default value for structs
Diffstat (limited to 'py/python')
-rw-r--r--py/python/Ice.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/py/python/Ice.py b/py/python/Ice.py
index 864315974f1..9689dbabc88 100644
--- a/py/python/Ice.py
+++ b/py/python/Ice.py
@@ -28,6 +28,13 @@ generateUUID = IcePy.generateUUID
loadSlice = IcePy.loadSlice
#
+# This value is used as the default value for struct types in the constructors
+# of user-defined types. It allows us to determine whether the application has
+# supplied a value. (See bug 3676)
+#
+_struct_marker = object()
+
+#
# Core Ice types.
#
class Object(object):