From 035d3f4040c37c78dcbad2b31a770c71e8b64c66 Mon Sep 17 00:00:00 2001 From: Mark Spruiell Date: Tue, 27 Jan 2009 17:33:50 -0800 Subject: bug 3676 - bug in default value for structs --- py/python/Ice.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'py/python/Ice.py') 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 @@ -27,6 +27,13 @@ intVersion = IcePy.intVersion 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. # -- cgit v1.2.3