/usr/lib/python2.7/dist-packages/zope.dottedname-3.4.6.egg-info/PKG-INFO is in python-zope.dottedname 3.4.6-5.
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 | Metadata-Version: 1.1
Name: zope.dottedname
Version: 3.4.6
Summary: Resolver for Python dotted names.
Home-page: http://pypi.python.org/pypi/zope.dottedname
Author: Zope Corporation and Contributors
Author-email: zope-dev@zope.org
License: ZPL 2.1
Description: ======================
Dotted Name Resolution
======================
The ``zope.dottedname`` module provides one function, ``resolve`` that
resolves strings containing dotted names into the appropriate python
object.
Dotted names are resolved by importing modules and by getting
attributes from imported modules. Names may be relative, provided the
module they are relative to is supplied.
Here are some examples of importing absolute names::
>>> from zope.dottedname.resolve import resolve
>>> resolve('unittest')
<module 'unittest' from '...'>
>>> resolve('datetime.datetime')
<type 'datetime.datetime'>
>>> resolve('datetime.datetime.now')
<built-in method now of type object at ...>
>>> resolve('non existent module')
Traceback (most recent call last):
...
ImportError: No module named non existent module
>>> resolve('__doc__')
Traceback (most recent call last):
...
ImportError: No module named __doc__
>>> resolve('datetime.foo')
Traceback (most recent call last):
...
ImportError: No module named foo
>>> resolve('os.path.split').__name__
'split'
Here are some examples of importing relative names::
>>> resolve('.split', 'os.path')
<function split at ...>
>>> resolve('..system', 'os.path')
<built-in function system>
>>> resolve('...datetime', 'os.path')
<module 'datetime' ...>
NB: When relative names are imported, a module the name is relative to
**must** be supplied::
>>> resolve('.split').__name__
Traceback (most recent call last):
...
ValueError: relative name without base module
CHANGES
=======
3.4.6 (2009-09-15)
------------------
- Make tests pass on python26.
3.4.5 (2009-01-27)
------------------
- Move README.txt in the egg, so tests works with the released egg as well.
3.4.4 (2009-01-27)
------------------
- Fix ReST in README.txt, fix broken tests with recent zope.testing.
3.4.3 (2008-12-02)
------------------
- More documentation and tests.
3.4.2 (2007-10-02)
------------------
- Fix broken release.
3.4.1 (2007-10-02)
------------------
- Updated package meta-data.
3.4.0 (2007-07-19)
------------------
- Initial Zope-independent release.
Keywords: resolve dotted name
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
|