diff options
author | Tres Seaver <tseaver@palladion.com> | 2013-02-15 11:38:25 -0500 |
---|---|---|
committer | Tres Seaver <tseaver@palladion.com> | 2013-02-15 11:38:25 -0500 |
commit | afd7d5841e12fac37289e3d00eb9ac83d2f5a5b6 (patch) | |
tree | a63a4c561c26afdcbfb10d6cfb32a8f8a23ade6d | |
parent | 25fc9b2e2b6d78188132f5e3c5db2eeff6f20c7c (diff) | |
download | zope-security-afd7d5841e12fac37289e3d00eb9ac83d2f5a5b6.tar.gz |
Restore deprecated BBB imports of z.s.untrustedpython modules.
-rw-r--r-- | src/zope/security/untrustedpython/__init__.py | 17 | ||||
-rw-r--r-- | src/zope/security/untrustedpython/builtins.py | 18 | ||||
-rw-r--r-- | src/zope/security/untrustedpython/interpreter.py | 18 | ||||
-rw-r--r-- | src/zope/security/untrustedpython/rcompile.py | 18 |
4 files changed, 71 insertions, 0 deletions
diff --git a/src/zope/security/untrustedpython/__init__.py b/src/zope/security/untrustedpython/__init__.py new file mode 100644 index 0000000..47c6918 --- /dev/null +++ b/src/zope/security/untrustedpython/__init__.py @@ -0,0 +1,17 @@ +############################################################################## +# +# Copyright (c) 2004 Zope Foundation and Contributors. +# All Rights Reserved. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. +# +############################################################################## +from zope.deprecation import moved + +moved('zope.untrustedpython', '4.1') +del moved diff --git a/src/zope/security/untrustedpython/builtins.py b/src/zope/security/untrustedpython/builtins.py new file mode 100644 index 0000000..4485831 --- /dev/null +++ b/src/zope/security/untrustedpython/builtins.py @@ -0,0 +1,18 @@ +############################################################################## +# +# Copyright (c) 2004 Zope Foundation and Contributors. +# All Rights Reserved. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. +# +############################################################################## +from zope.deprecation import moved +moved('zope.untrustedpython.builtins', '4.1') +del moved + +from zope.untrustedpython.builtins import * diff --git a/src/zope/security/untrustedpython/interpreter.py b/src/zope/security/untrustedpython/interpreter.py new file mode 100644 index 0000000..3d07cee --- /dev/null +++ b/src/zope/security/untrustedpython/interpreter.py @@ -0,0 +1,18 @@ +############################################################################## +# +# Copyright (c) 2004 Zope Foundation and Contributors. +# All Rights Reserved. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. +# +############################################################################## +from zope.deprecation import moved +moved('zope.untrustedpython.interpreter', '4.1') +del moved + +from zope.untrustedpython.interpreter import * diff --git a/src/zope/security/untrustedpython/rcompile.py b/src/zope/security/untrustedpython/rcompile.py new file mode 100644 index 0000000..ca88890 --- /dev/null +++ b/src/zope/security/untrustedpython/rcompile.py @@ -0,0 +1,18 @@ +############################################################################## +# +# Copyright (c) 2004 Zope Foundation and Contributors. +# All Rights Reserved. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. +# +############################################################################## +from zope.deprecation import moved +moved('zope.untrustedpython.rcompile', '4.1') +del moved + +from zope.untrustedpython.rcompile import * |