/usr/lib/python2.6/dist-packages/zope.browser-1.3.egg-info/PKG-INFO is in python-zope.browser 1.3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | Metadata-Version: 1.0
Name: zope.browser
Version: 1.3
Summary: Shared Zope Toolkit browser components
Home-page: http://pypi.python.org/pypi/zope.browser
Author: Zope Corporation and Contributors
Author-email: zope-dev@zope.org
License: ZPL 2.1
Description: zope.browser
============
This package provides shared browser components for the Zope Toolkit.
.. contents::
IView
-----
Views adapt both a context and a request.
There is not much we can test except that ``IView`` is importable
and an interface:
>>> from zope.interface import Interface
>>> from zope.browser.interfaces import IView
>>> Interface.providedBy(IView)
True
IBrowserView
-------------
Browser views are views specialized for requests from a browser (e.g.,
as distinct from WebDAV, FTP, XML-RPC, etc.).
There is not much we can test except that ``IBrowserView`` is importable
and an interface derived from ``IView``:
>>> from zope.interface import Interface
>>> from zope.browser.interfaces import IBrowserView
>>> Interface.providedBy(IBrowserView)
True
>>> IBrowserView.extends(IView)
True
IAdding
-------
Adding views manage how newly-created items get added to containers.
There is not much we can test except that ``IAdding`` is importable
and an interface derived from ``IBrowserView``:
>>> from zope.interface import Interface
>>> from zope.browser.interfaces import IAdding
>>> Interface.providedBy(IBrowserView)
True
>>> IAdding.extends(IBrowserView)
True
ITerms
------
The ``ITerms`` interface is used as a base for ``ISource`` widget
implementations. This interfaces get used by ``zope.app.form`` and was
initially defined in ``zope.app.form.browser.interfaces``, which made it
impossible to use for other packages like ``z3c.form`` wihtout depending on
``zope.app.form``.
Moving such base components / interfaces to ``zope.browser`` makes it
possible to share them without undesirable dependencies.
There is not much we can test except that ITerms is importable
and an interface:
>>> from zope.interface import Interface
>>> from zope.browser.interfaces import ITerms
>>> Interface.providedBy(ITerms)
True
ISystemErrorView
----------------
Views providing this interface can classify their contexts as system
errors. These errors can be handled in a special way (e. g. more
detailed logging).
There is not much we can test except that ISystemErrorView is importable
and an interface:
>>> from zope.interface import Interface
>>> from zope.browser.interfaces import ISystemErrorView
>>> Interface.providedBy(ISystemErrorView)
True
Changelog
=========
1.3 (2010-04-30)
----------------
- Removed test extra and zope.testing dependency.
1.2 (2009-05-18)
----------------
- Moved ``ISystemErrorView`` interface here from
``zope.app.exception`` to break undesirable dependencies.
- Fixed home page and author's e-mail address.
- Added doctests to long_description.
1.1 (2009-05-13)
----------------
- Moved ``IAdding`` interface here from ``zope.app.container.interfaces``
to break undesirable dependencies.
1.0 (2009-05-13)
----------------
- Moved ``IView`` and ``IBrowserView`` interfaces here from
``zope.publisher.interfaces`` to break undesirable dependencies.
0.5.0 (2008-12-11)
------------------
- Moved ``ITerms`` interface here from ``zope.app.form.browser.interfaces``
to break undesirable dependencies.
Keywords: zope browser component
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Programming Language :: Python
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Framework :: Zope3
|