summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/PythonUtil.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2009-09-04 16:22:16 -0700
committerMark Spruiell <mes@zeroc.com>2009-09-04 16:22:16 -0700
commit6eecee0c43e73da2d52929155c3ada9b32081dce (patch)
tree18f12e3d1937073976eb10746221f9ae5d4731fb /cpp/src/Slice/PythonUtil.cpp
parentbug 4196 - add class loader to InitializationData (diff)
downloadice-6eecee0c43e73da2d52929155c3ada9b32081dce.tar.bz2
ice-6eecee0c43e73da2d52929155c3ada9b32081dce.tar.xz
ice-6eecee0c43e73da2d52929155c3ada9b32081dce.zip
bug 3737:
- Remove Python workaround for 3.3.1 - Make Slice::Preprocessor a dynamically allocated class
Diffstat (limited to 'cpp/src/Slice/PythonUtil.cpp')
-rw-r--r--cpp/src/Slice/PythonUtil.cpp10
1 files changed, 0 insertions, 10 deletions
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<string> paths = includePaths;