[Zope-dev] [zopefoundation/zope.security] 390d12: zope.security.untrustedpython moved to separate pr...

Tres Seaver tseaver at palladion.com
Tue Feb 12 18:36:09 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/12/2013 12:23 PM, GitHub wrote:
> Branch: refs/heads/master Home:
> https://github.com/zopefoundation/zope.security Commit:
> 390d1258382d5473388fb6d2fc80f392d4991cf8 
> https://github.com/zopefoundation/zope.security/commit/390d1258382d5473388fb6d2fc80f392d4991cf8
>
> 
Author: Andrey Lebedev <andrey at lebedev.lt>
> Date:   2013-02-12 (Tue, 12 Feb 2013)
> 
> Changed paths: M CHANGES.rst M buildout.cfg M setup.py R
> src/zope/security/untrustedpython/__init__.py R
> src/zope/security/untrustedpython/builtins.py R
> src/zope/security/untrustedpython/interpreter.py R
> src/zope/security/untrustedpython/rcompile.py
> 
> Log Message: ----------- zope.security.untrustedpython moved to
> separate project
> 
> The code was extracted to zope.untrustedpython project to simplify 
> porting zope.security to python-3.x.

This change broke the doctest snippets in the Sphinx docs:

Document: narr
- --------------
**********************************************************************
File "narr.rst", line 571, in default
Failed example:
    from zope.security.untrustedpython.builtins import SafeBuiltins
Exception raised:
    Traceback (most recent call last):
      File "/opt/Python-2.6.8/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest default[0]>", line 1, in <module>
        from zope.security.untrustedpython.builtins import SafeBuiltins
    ImportError: No module named untrustedpython.builtins

(and many more failures after that)


I'm guessing that those document sections (pretty much everything from
"Safe Builtins" to the end of narr.rst) should all be moved to the new
project's own Sphinx docs.



Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlEai5kACgkQ+gerLs4ltQ6TrgCgoJfzpZoXDsWpBtYQxUUk6sdr
5AQAnjQ0ayvAnmFrvZK1WpqUZyJk3nsf
=1r9K
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list