Movatterモバイル変換


[0]ホーム

URL:


HOWTO restrict multiply inherited class to on sub-class

Alex Martellialeaxit at yahoo.com
Mon Apr 2 12:32:16 EDT 2001


"Luke Kenneth Casson Leighton" <lkcl at angua.rince.de> wrote in messagenews:mailman.986225583.6181.python-list at python.org...    [snip]> there are scores of database functions available: i don't want> one object to have access to any more database functions than> it strictly needs.Standard module Bastion helps address this need -- wrappingan object so that only a subset of its attributes is available.It's a security thing -- as the docs say, "It must always beused with the rexec module, in order to allow restricted-modeprograms access to certain safe attributes of an object, whiledenying access to other, unsafe attributes".Alex


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp