From 6eecee0c43e73da2d52929155c3ada9b32081dce Mon Sep 17 00:00:00 2001 From: Mark Spruiell Date: Fri, 4 Sep 2009 16:22:16 -0700 Subject: bug 3737: - Remove Python workaround for 3.3.1 - Make Slice::Preprocessor a dynamically allocated class --- cpp/src/Slice/PythonUtil.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'cpp/src/Slice/PythonUtil.cpp') diff --git a/cpp/src/Slice/PythonUtil.cpp b/cpp/src/Slice/PythonUtil.cpp index 4f2e9141f4b..3d626d9b72a 100644 --- a/cpp/src/Slice/PythonUtil.cpp +++ b/cpp/src/Slice/PythonUtil.cpp @@ -2116,16 +2116,6 @@ Slice::Python::generate(const UnitPtr& un, bool all, bool checksum, const vector out << nl << "import Ice, IcePy, __builtin__"; - // - // For backward-compatibility with generated code from Ice 3.3.0, we add a definition - // of _struct_marker to the Ice module if necessary. - // - out << nl; - out << nl << "if not Ice.__dict__.has_key(\"_struct_marker\"):"; - out.inc(); - out << nl << "Ice._struct_marker = object()"; - out.dec(); - if(!all) { vector paths = includePaths; -- cgit v1.2.3