/usr/lib/python2.7/dist-packages/zope.schema-4.4.2.egg-info/PKG-INFO is in python-zope.schema 4.4.2-3.
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 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 | Metadata-Version: 1.1
Name: zope.schema
Version: 4.4.2
Summary: zope.interface extension for defining data schemas
Home-page: http://pypi.python.org/pypi/zope.schema
Author: Zope Foundation and Contributors
Author-email: zope-dev@zope.org
License: ZPL 2.1
Description: zope.schema README
==================
Schemas extend the notion of interfaces to detailed descriptions of
Attributes (but not methods). Every schema is an interface and
specifies the public fields of an object. A *field* roughly
corresponds to an attribute of a Python object. But a Field provides
space for at least a title and a description. It can also constrain
its value and provide a validation method. Besides you can optionally
specify characteristics such as its value being read-only or not
required.
See http://docs.zope.org/zope.schema/ for more information.
zope.schema Changelog
=====================
4.4.2 (2014-09-04)
------------------
- Fix description of min max field: max value is included, not excluded.
4.4.1 (2014-03-19)
------------------
- Added support for Python 3.4.
4.4.0 (2014-01-22)
------------------
- Add an event on field properties to notify that a field has been updated.
This event enables definition of subscribers based on an event, a context
and a field. The event contains also the old value and the new value.
(also see package ``zope.schemaevent`` that define a field event handler)
4.3.3 (2014-01-06)
------------------
- PEP 8 cleanup.
- Don't raise RequiredMissing if a field's defaultFactory returns the field's
missing_value.
- Updated ``boostrap.py`` to version 2.2.
- Add the ability to swallow ValueErrors when rendering a SimpleVocabulary,
allowing for cases where vocabulary items may be duplicated (e.g., due to
user input).
- It was a pain that ``ConstraintNotSatisfied`` did not tell the field name.
4.3.2 (2013-02-24)
------------------
- Fix Python 2.6 support. (Forgot to run tox with all environments before last
release.)
4.3.1 (2013-02-24)
------------------
- Make sure that we do not fail during bytes decoding of term token when
generated from a bytes value by ignoring all errors. (Another option would
have been to hexlify the value, but that would break way too many tests.)
4.3.0 (2013-02-24)
------------------
- Fixed a bug where bytes values were turned into tokens inproperly in
Python 3.
- Added ``createFieldProperties()`` function which maps schema fields into
``FieldProperty`` instances.
4.2.2 (2012-11-21)
------------------
- Added support for Python 3.3.
4.2.1 (2012-11-09)
------------------
- Fix the default property of fields that have no defaultFactory attribute.
4.2.0 (2012-05-12)
------------------
- Automated build of Sphinx HTML docs and running doctest snippets via tox.
- Dropped explicit support for Python 3.1.
- Introduce NativeString and NativeStringLine which are equal to Bytes and
BytesLine on Python 2 and Text and TextLine on Python 3.
- Change IURI from a Bytes string to a "native" string. This is a backwards
incompatibility which only affects Python 3.
- 100% unit test coverage.
- Doctests moved from the package and wired up as normal Sphinx documentation.
- Added explicit support for PyPy.
- Added support for continuous integration using ``tox`` and ``jenkins``.
- Dropped the external ``six`` dependency in favor of a much-trimmed
``zope.schema._compat`` module.
- Tests now pass when run under ``nose``.
- Added ``setup.py dev`` alias (runs ``setup.py develop`` plus installs
``nose`` and ``coverage``).
- Added ``setup.py docs`` alias (installs ``Sphinx`` and dependencies).
4.1.1 (2012-03-23)
------------------
- Remove trailing slash in MANIFEST.in, it causes Winbot to crash.
4.1.0 (2012-03-23)
------------------
- Add TreeVocabulary for nested tree-like vocabularies.
- Fix broken Object field validation where the schema contains a Choice with
ICountextSourceBinder source. In this case the vocabulary was not iterable
because the field was not bound and the source binder didn't return the
real vocabulary. Added simple test for IContextSourceBinder validation. But a
test with an Object field with a schema using a Choice with
IContextSourceBinder is still missing.
4.0.1 (2011-11-14)
------------------
- Fix bug in ``fromUnicode`` method of ``DottedName`` which would fail
validation on being given unicode. Introduced in 4.0.0.
4.0.0 (2011-11-09)
------------------
- Fix deprecated unittest methods.
- Port to Python 3. This adds a dependency on six and removes support for
Python 2.5.
3.8.1 (2011-09-23)
------------------
- fix broken Object field validation. Previous version was using a volatile
property on object field values which ends in a ForbiddenAttribute error
on security proxied objects.
3.8.0 (2011-03-18)
------------------
- Implemented a ``defaultFactory`` attribute for all fields. It is a callable
that can be used to compute default values. The simplest case is::
Date(defaultFactory=datetime.date.today)
If the factory needs a context to compute a sensible default value, then it
must provide ``IContextAwareDefaultFactory``, which can be used as follows::
@provider(IContextAwareDefaultFactory)
def today(context):
return context.today()
Date(defaultFactory=today)
3.7.1 (2010-12-25)
------------------
- The validation token, used in the validation of schema with Object
Field to avoid infinite recursion, has been renamed.
``__schema_being_validated`` became ``_v_schema_being_validated``,
a volatile attribute, to avoid persistency and therefore,
read/write conflicts.
- Don't allow "[\]^`" in DottedName.
https://bugs.launchpad.net/zope.schema/+bug/191236
3.7.0 (2010-09-12)
------------------
- Improve error messages when term tokens or values are duplicates.
- Fix the buildout so the tests run.
3.6.4 (2010-06-08)
------------------
- fix validation of schema with Object Field that specify Interface schema.
3.6.3 (2010-04-30)
------------------
- Prefer the standard libraries doctest module to the one from zope.testing.
3.6.2 (2010-04-30)
------------------
- Avoid maximum recursion when validating Object field that points to cycles
- Made the dependency on ``zope.i18nmessageid`` optional.
3.6.1 (2010-01-05)
------------------
- Allow "setup.py test" to run at least a subset of the tests runnable
via ``bin/test`` (227 for ``setup.py test`` vs. 258. for
``bin/test``)
- Make ``zope.schema._bootstrapfields.ValidatedProperty`` descriptor
work under Jython.
- Make "setup.py test" tests pass on Jython.
3.6.0 (2009-12-22)
------------------
- Prefer zope.testing.doctest over doctestunit.
- Extend validation error to hold the field name.
- Add FieldProperty class that uses Field.get and Field.set methods
instead of storing directly on the instance __dict__.
3.5.4 (2009-03-25)
------------------
- Don't fail trying to validate default value for Choice fields with
IContextSourceBinder object given as a source. See
https://bugs.launchpad.net/zope3/+bug/340416.
- Add an interface for ``DottedName`` field.
- Add ``vocabularyName`` attribute to the ``IChoice`` interface, change
"vocabulary" attribute description to be more sensible, making it
``zope.schema.Field`` instead of plain ``zope.interface.Attribute``.
- Make IBool interface of Bool more important than IFromUnicode so adapters
registered for IBool take precendence over adapters registered for
IFromUnicode.
3.5.3 (2009-03-10)
------------------
- Make Choice and Bool fields implement IFromUnicode interface, because
they do provide the ``fromUnicode`` method.
- Change package's mailing list address to zope-dev at zope.org, as
zope3-dev at zope.org is now retired.
- Fix package's documentation formatting. Change package's description.
- Add buildout part that builds Sphinx-generated documentation.
- Remove zpkg-related file.
3.5.2 (2009-02-04)
------------------
- Made validation tests compatible with Python 2.5 again (hopefully not
breaking Python 2.4)
- Added an __all__ package attribute to expose documentation.
3.5.1 (2009-01-31)
------------------
- Stop using the old old set type.
- Make tests compatible and silent with Python 2.4.
- Fix __cmp__ method in ValidationError. Show some side effects based on the
existing __cmp__ implementation. See validation.txt
- Make 'repr' of the ValidationError and its subclasses more sensible. This
may require you to adapt your doctests for the new style, but now it makes
much more sense for debugging for developers.
3.5.0a2 (2008-12-11)
--------------------
- Move zope.testing to "test" extras_require, as it is not needed
for zope.schema itself.
- Change the order of classes in SET_TYPES tuple, introduced in
previous release to one that was in 3.4 (SetType, set), because
third-party code could be dependent on that order. The one
example is z3c.form's converter.
3.5.0a1 (2008-10-10)
--------------------
- Added the doctests to the long description.
- Removed use of deprecated 'sets' module when running under Python 2.6.
- Removed spurious doctest failure when running under Python 2.6.
- Added support to bootstrap on Jython.
- Added helper methods for schema validation: ``getValidationErrors``
and ``getSchemaValidationErrors``.
- zope.schema now works on Python2.5
3.4.0 (2007-09-28)
------------------
Added BeforeObjectAssignedEvent that is triggered before the object
field sets a value.
3.3.0 (2007-03-15)
------------------
Corresponds to the version of the zope.schema package shipped as part of
the Zope 3.3.0 release.
3.2.1 (2006-03-26)
------------------
Corresponds to the version of the zope.schema package shipped as part of
the Zope 3.2.1 release.
Fixed missing import of 'VocabularyRegistryError'. See
http://www.zope.org/Collectors/Zope3-dev/544 .
3.2.0 (2006-01-05)
------------------
Corresponds to the version of the zope.schema package shipped as part of
the Zope 3.2.0 release.
Added "iterable" sources to replace vocabularies, which are now deprecated
and scheduled for removal in Zope 3.3.
3.1.0 (2005-10-03)
------------------
Corresponds to the version of the zope.schema package shipped as part of
the Zope 3.1.0 release.
Allowed 'Choice' fields to take either a 'vocabulary' or a 'source'
argument (sources are a simpler implementation).
Added 'TimeDelta' and 'ASCIILine' field types.
3.0.0 (2004-11-07)
------------------
Corresponds to the version of the zope.schema package shipped as part of
the Zope X3.0.0 release.
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Framework :: Zope3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|