zope.hookable 6.0__cp39-cp39-win_amd64.whl → 8.0__cp39-cp39-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of zope.hookable might be problematic. Click here for more details.

@@ -1,198 +1,203 @@
1
- ##############################################################################
2
- #
3
- # Copyright (c) 2003 Zope Foundation and Contributors.
4
- # All Rights Reserved.
5
- #
6
- # This software is subject to the provisions of the Zope Public License,
7
- # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
8
- # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
9
- # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
10
- # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
11
- # FOR A PARTICULAR PURPOSE.
12
- #
13
- ##############################################################################
14
- """Test the hookable support Extension
15
- """
16
- import unittest
17
-
18
-
19
- def return_foo():
20
- return 'FOO'
21
-
22
-
23
- def return_bar():
24
- return 'BAR'
25
-
26
-
27
- def not_called():
28
- raise AssertionError("This should not be called")
29
-
30
-
31
- class PyHookableMixin:
32
-
33
- def _callFUT(self, *args, **kw):
34
- from zope.hookable import _py_hookable
35
- return _py_hookable(*args, **kw)
36
-
37
-
38
- class HookableMixin:
39
-
40
- def _callFUT(self, *args, **kw):
41
- from zope.hookable import _py_hookable
42
- from zope.hookable import hookable
43
- if hookable is _py_hookable:
44
- raise unittest.SkipTest("Hookable and PyHookable are the same")
45
- return hookable(*args, **kw) # pragma: no cover
46
-
47
-
48
- class PyHookableTests(PyHookableMixin,
49
- unittest.TestCase):
50
-
51
- def test_pure_python(self):
52
- from zope.hookable import _PURE_PYTHON
53
- from zope.hookable import _c_hookable
54
- from zope.hookable import _py_hookable
55
- from zope.hookable import hookable
56
- self.assertIs(hookable, _py_hookable if _PURE_PYTHON else _c_hookable)
57
-
58
- def test_before_hook(self):
59
- hooked = self._callFUT(return_foo)
60
- self.assertIs(hooked.original, return_foo)
61
- self.assertIs(hooked.implementation, return_foo)
62
- self.assertEqual(hooked(), 'FOO')
63
-
64
- def test_after_hook(self):
65
- hooked = self._callFUT(not_called)
66
- old = hooked.sethook(return_bar)
67
- self.assertIs(old, not_called)
68
- self.assertIs(hooked.original, not_called)
69
- self.assertIs(hooked.implementation, return_bar)
70
- self.assertEqual(hooked(), 'BAR')
71
-
72
- def test_after_hook_and_reset(self):
73
- hooked = self._callFUT(return_foo)
74
- old = hooked.sethook(not_called)
75
- hooked.reset()
76
- self.assertIs(old, return_foo)
77
- self.assertIs(hooked.original, return_foo)
78
- self.assertIs(hooked.implementation, return_foo)
79
- self.assertEqual(hooked(), 'FOO')
80
-
81
- def test_original_cannot_be_deleted(self):
82
- hooked = self._callFUT(not_called)
83
- with self.assertRaises((TypeError, AttributeError)):
84
- del hooked.original
85
-
86
- def test_implementation_cannot_be_deleted(self):
87
- hooked = self._callFUT(not_called)
88
- with self.assertRaises((TypeError, AttributeError)):
89
- del hooked.implementation
90
-
91
- def test_no_args(self):
92
- with self.assertRaises(TypeError):
93
- self._callFUT()
94
-
95
- def test_too_many_args(self):
96
- with self.assertRaises(TypeError):
97
- self._callFUT(not_called, not_called)
98
-
99
- def test_w_implementation_kwarg(self):
100
- hooked = self._callFUT(implementation=return_foo)
101
- self.assertIs(hooked.original, return_foo)
102
- self.assertIs(hooked.implementation, return_foo)
103
- self.assertEqual(hooked(), 'FOO')
104
-
105
- def test_w_unknown_kwarg(self):
106
- with self.assertRaises(TypeError):
107
- self._callFUT(nonesuch=42)
108
-
109
- def test_class(self):
110
- class C:
111
- pass
112
-
113
- hooked = self._callFUT(C)
114
- self.assertIsInstance(hooked(), C)
115
-
116
- hooked.sethook(return_bar)
117
- self.assertEqual(hooked(), 'BAR')
118
-
119
-
120
- class TestIssue6Py(PyHookableMixin,
121
- unittest.TestCase):
122
- # Make sphinx docs for hooked objects work.
123
- # https://github.com/zopefoundation/zope.hookable/issues/6
124
- # We need to proxy __doc__ to the original,
125
- # and synthesize an empty __bases__ and a __dict__ attribute
126
- # if they're not present.
127
-
128
- def _check_preserves_doc(self, docs):
129
- self.assertEqual("I have some docs", docs.__doc__)
130
-
131
- hooked = self._callFUT(docs)
132
- self.assertEqual(hooked.__doc__, docs.__doc__)
133
-
134
- def test_preserves_doc_function(self):
135
- def docs():
136
- """I have some docs"""
137
- self._check_preserves_doc(docs)
138
-
139
- def test_preserves_doc_class(self):
140
- class Docs:
141
- """I have some docs"""
142
-
143
- self._check_preserves_doc(Docs)
144
-
145
- def test_empty_bases_function(self):
146
- hooked = self._callFUT(return_foo)
147
- self.assertEqual((), hooked.__bases__)
148
-
149
- def test_empty_dict_function(self):
150
- hooked = self._callFUT(return_foo)
151
- self.assertEqual({}, hooked.__dict__)
152
-
153
- def test_bases_class(self):
154
- class C:
155
- pass
156
- self.assertEqual(C.__bases__, (object,))
157
- hooked = self._callFUT(C)
158
- self.assertEqual(hooked.__bases__, (object,))
159
-
160
- def test_dict_class(self):
161
- class C:
162
- pass
163
-
164
- hooked = self._callFUT(C)
165
- self.assertEqual(hooked.__dict__, C.__dict__)
166
-
167
- def test_non_string_attr_name(self):
168
- # Specifically for the C implementation, which has to deal with this
169
- hooked = self._callFUT(return_foo)
170
- with self.assertRaises(TypeError):
171
- getattr(hooked, 42)
172
-
173
- with self.assertRaises(TypeError):
174
- hooked.__getattribute__(42)
175
-
176
- def test_unicode_attribute_name(self):
177
- # Specifically for the C implementation, which has to deal with this
178
- hooked = self._callFUT(return_foo)
179
- result = hooked.__getattribute__('__bases__')
180
- self.assertEqual(result, ())
181
-
182
- def test_short_name(self):
183
- # Specifically for the C implementation, which has to deal with this
184
- hooked = self._callFUT(return_foo)
185
- with self.assertRaises(AttributeError):
186
- hooked.__getattribute__('')
187
-
188
-
189
- class HookableTests(HookableMixin, PyHookableTests):
190
- pass
191
-
192
-
193
- class TestIssue6(HookableMixin, TestIssue6Py):
194
- pass
195
-
196
-
197
- def test_suite():
198
- return unittest.defaultTestLoader.loadTestsFromName(__name__)
1
+ ##############################################################################
2
+ #
3
+ # Copyright (c) 2003 Zope Foundation and Contributors.
4
+ # All Rights Reserved.
5
+ #
6
+ # This software is subject to the provisions of the Zope Public License,
7
+ # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
8
+ # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
9
+ # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
10
+ # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
11
+ # FOR A PARTICULAR PURPOSE.
12
+ #
13
+ ##############################################################################
14
+ """Test the hookable support Extension
15
+ """
16
+ import unittest
17
+
18
+
19
+ def return_foo():
20
+ return 'FOO'
21
+
22
+
23
+ def return_bar():
24
+ return 'BAR'
25
+
26
+
27
+ def not_called():
28
+ raise AssertionError("This should not be called")
29
+
30
+
31
+ class PyHookableMixin:
32
+
33
+ def _callFUT(self, *args, **kw):
34
+ from zope.hookable import _py_hookable
35
+ return _py_hookable(*args, **kw)
36
+
37
+
38
+ class HookableMixin:
39
+
40
+ def _callFUT(self, *args, **kw):
41
+ from zope.hookable import _py_hookable
42
+ from zope.hookable import hookable
43
+ if hookable is _py_hookable:
44
+ raise unittest.SkipTest("Hookable and PyHookable are the same")
45
+ return hookable(*args, **kw) # pragma: no cover
46
+
47
+
48
+ class PyHookableTests(PyHookableMixin,
49
+ unittest.TestCase):
50
+
51
+ def test_pure_python(self):
52
+ from zope.hookable import _PURE_PYTHON
53
+ from zope.hookable import _PYPY_OR_JAVA
54
+ from zope.hookable import _c_hookable
55
+ from zope.hookable import _py_hookable
56
+ from zope.hookable import hookable
57
+
58
+ if _PYPY_OR_JAVA or _PURE_PYTHON:
59
+ self.assertIs(hookable, _py_hookable)
60
+ else:
61
+ self.assertIs(hookable, _c_hookable)
62
+
63
+ def test_before_hook(self):
64
+ hooked = self._callFUT(return_foo)
65
+ self.assertIs(hooked.original, return_foo)
66
+ self.assertIs(hooked.implementation, return_foo)
67
+ self.assertEqual(hooked(), 'FOO')
68
+
69
+ def test_after_hook(self):
70
+ hooked = self._callFUT(not_called)
71
+ old = hooked.sethook(return_bar)
72
+ self.assertIs(old, not_called)
73
+ self.assertIs(hooked.original, not_called)
74
+ self.assertIs(hooked.implementation, return_bar)
75
+ self.assertEqual(hooked(), 'BAR')
76
+
77
+ def test_after_hook_and_reset(self):
78
+ hooked = self._callFUT(return_foo)
79
+ old = hooked.sethook(not_called)
80
+ hooked.reset()
81
+ self.assertIs(old, return_foo)
82
+ self.assertIs(hooked.original, return_foo)
83
+ self.assertIs(hooked.implementation, return_foo)
84
+ self.assertEqual(hooked(), 'FOO')
85
+
86
+ def test_original_cannot_be_deleted(self):
87
+ hooked = self._callFUT(not_called)
88
+ with self.assertRaises((TypeError, AttributeError)):
89
+ del hooked.original
90
+
91
+ def test_implementation_cannot_be_deleted(self):
92
+ hooked = self._callFUT(not_called)
93
+ with self.assertRaises((TypeError, AttributeError)):
94
+ del hooked.implementation
95
+
96
+ def test_no_args(self):
97
+ with self.assertRaises(TypeError):
98
+ self._callFUT()
99
+
100
+ def test_too_many_args(self):
101
+ with self.assertRaises(TypeError):
102
+ self._callFUT(not_called, not_called)
103
+
104
+ def test_w_implementation_kwarg(self):
105
+ hooked = self._callFUT(implementation=return_foo)
106
+ self.assertIs(hooked.original, return_foo)
107
+ self.assertIs(hooked.implementation, return_foo)
108
+ self.assertEqual(hooked(), 'FOO')
109
+
110
+ def test_w_unknown_kwarg(self):
111
+ with self.assertRaises(TypeError):
112
+ self._callFUT(nonesuch=42)
113
+
114
+ def test_class(self):
115
+ class C:
116
+ pass
117
+
118
+ hooked = self._callFUT(C)
119
+ self.assertIsInstance(hooked(), C)
120
+
121
+ hooked.sethook(return_bar)
122
+ self.assertEqual(hooked(), 'BAR')
123
+
124
+
125
+ class TestIssue6Py(PyHookableMixin,
126
+ unittest.TestCase):
127
+ # Make sphinx docs for hooked objects work.
128
+ # https://github.com/zopefoundation/zope.hookable/issues/6
129
+ # We need to proxy __doc__ to the original,
130
+ # and synthesize an empty __bases__ and a __dict__ attribute
131
+ # if they're not present.
132
+
133
+ def _check_preserves_doc(self, docs):
134
+ self.assertEqual("I have some docs", docs.__doc__)
135
+
136
+ hooked = self._callFUT(docs)
137
+ self.assertEqual(hooked.__doc__, docs.__doc__)
138
+
139
+ def test_preserves_doc_function(self):
140
+ def docs():
141
+ """I have some docs"""
142
+ self._check_preserves_doc(docs)
143
+
144
+ def test_preserves_doc_class(self):
145
+ class Docs:
146
+ """I have some docs"""
147
+
148
+ self._check_preserves_doc(Docs)
149
+
150
+ def test_empty_bases_function(self):
151
+ hooked = self._callFUT(return_foo)
152
+ self.assertEqual((), hooked.__bases__)
153
+
154
+ def test_empty_dict_function(self):
155
+ hooked = self._callFUT(return_foo)
156
+ self.assertEqual({}, hooked.__dict__)
157
+
158
+ def test_bases_class(self):
159
+ class C:
160
+ pass
161
+ self.assertEqual(C.__bases__, (object,))
162
+ hooked = self._callFUT(C)
163
+ self.assertEqual(hooked.__bases__, (object,))
164
+
165
+ def test_dict_class(self):
166
+ class C:
167
+ pass
168
+
169
+ hooked = self._callFUT(C)
170
+ self.assertEqual(hooked.__dict__, C.__dict__)
171
+
172
+ def test_non_string_attr_name(self):
173
+ # Specifically for the C implementation, which has to deal with this
174
+ hooked = self._callFUT(return_foo)
175
+ with self.assertRaises(TypeError):
176
+ getattr(hooked, 42)
177
+
178
+ with self.assertRaises(TypeError):
179
+ hooked.__getattribute__(42)
180
+
181
+ def test_unicode_attribute_name(self):
182
+ # Specifically for the C implementation, which has to deal with this
183
+ hooked = self._callFUT(return_foo)
184
+ result = hooked.__getattribute__('__bases__')
185
+ self.assertEqual(result, ())
186
+
187
+ def test_short_name(self):
188
+ # Specifically for the C implementation, which has to deal with this
189
+ hooked = self._callFUT(return_foo)
190
+ with self.assertRaises(AttributeError):
191
+ hooked.__getattribute__('')
192
+
193
+
194
+ class HookableTests(HookableMixin, PyHookableTests):
195
+ pass
196
+
197
+
198
+ class TestIssue6(HookableMixin, TestIssue6Py):
199
+ pass
200
+
201
+
202
+ def test_suite():
203
+ return unittest.defaultTestLoader.loadTestsFromName(__name__)
@@ -1,11 +1,11 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: zope.hookable
3
- Version: 6.0
3
+ Version: 8.0
4
4
  Summary: Zope hookable
5
5
  Home-page: http://github.com/zopefoundation/zope.hookable
6
6
  Author: Zope Foundation and Contributors
7
- Author-email: zope-dev@zope.org
8
- License: ZPL 2.1
7
+ Author-email: zope-dev@zope.dev
8
+ License: ZPL-2.1
9
9
  Keywords: function hook replacement loose coupled
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Intended Audience :: Developers
@@ -13,29 +13,40 @@ Classifier: License :: OSI Approved :: Zope Public License
13
13
  Classifier: Operating System :: OS Independent
14
14
  Classifier: Programming Language :: Python
15
15
  Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3.7
17
- Classifier: Programming Language :: Python :: 3.8
18
16
  Classifier: Programming Language :: Python :: 3.9
19
17
  Classifier: Programming Language :: Python :: 3.10
20
18
  Classifier: Programming Language :: Python :: 3.11
21
19
  Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
22
21
  Classifier: Programming Language :: Python :: Implementation :: CPython
23
22
  Classifier: Programming Language :: Python :: Implementation :: PyPy
24
23
  Classifier: Framework :: Zope :: 3
25
24
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
26
- Requires-Python: >=3.7
25
+ Requires-Python: >=3.9
27
26
  License-File: LICENSE.txt
28
27
  Requires-Dist: setuptools
29
28
  Provides-Extra: docs
30
- Requires-Dist: Sphinx ; extra == 'docs'
31
- Requires-Dist: sphinx-rtd-theme ; extra == 'docs'
32
- Provides-Extra: test
33
- Requires-Dist: zope.testing ; extra == 'test'
34
- Requires-Dist: zope.testrunner ; extra == 'test'
29
+ Requires-Dist: Sphinx; extra == "docs"
30
+ Requires-Dist: sphinx_rtd_theme; extra == "docs"
35
31
  Provides-Extra: testing
36
- Requires-Dist: zope.testing ; extra == 'testing'
37
- Requires-Dist: zope.testrunner ; extra == 'testing'
38
- Requires-Dist: coverage ; extra == 'testing'
32
+ Requires-Dist: zope.testing; extra == "testing"
33
+ Requires-Dist: zope.testrunner>=6.4; extra == "testing"
34
+ Requires-Dist: coverage; extra == "testing"
35
+ Provides-Extra: test
36
+ Requires-Dist: zope.testing; extra == "test"
37
+ Requires-Dist: zope.testrunner>=6.4; extra == "test"
38
+ Dynamic: author
39
+ Dynamic: author-email
40
+ Dynamic: classifier
41
+ Dynamic: description
42
+ Dynamic: home-page
43
+ Dynamic: keywords
44
+ Dynamic: license
45
+ Dynamic: license-file
46
+ Dynamic: provides-extra
47
+ Dynamic: requires-dist
48
+ Dynamic: requires-python
49
+ Dynamic: summary
39
50
 
40
51
  ===============
41
52
  zope.hookable
@@ -75,6 +86,30 @@ Documentation is hosted at https://zopehookable.readthedocs.io
75
86
  Changes
76
87
  =========
77
88
 
89
+ 8.0 (2025-09-12)
90
+ ================
91
+
92
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
93
+
94
+ - Drop support for Python 3.8.
95
+
96
+ - Add preliminary support for Python 3.14.
97
+
98
+ 7.0 (2024-09-17)
99
+ ================
100
+
101
+ - C extension now enables multi-phase module initialization (PEP 489).
102
+ For CPython >= 3.11, the ``hookable`` type is now a heap-allocated
103
+ type. See:
104
+ https://docs.python.org/3.13/howto/isolating-extensions.html
105
+
106
+ - Drop support for Python 3.7.
107
+
108
+ - Add support for Python 3.13.
109
+
110
+ - Build windows wheels on GHA.
111
+
112
+
78
113
  6.0 (2023-10-05)
79
114
  ================
80
115
 
@@ -0,0 +1,11 @@
1
+ zope/hookable/__init__.py,sha256=Stt4pOPIYnwxVqZVad4W4qPaEcCwSTPBu6O2XaYvyJo,2539
2
+ zope/hookable/_zope_hookable.c,sha256=MO2iW4YUxp03KvNrDFzBKVxVc7-JkYH3HhnV3SrWLAQ,7737
3
+ zope/hookable/_zope_hookable.cp39-win_amd64.pyd,sha256=u5xrxSsWRW_Spmaoss-MtVqcPPZ_tdKujHz0wxTphT0,13312
4
+ zope/hookable/tests/__init__.py,sha256=DEwbRAY0UH7WhZ15fhGWOaK115YgZ6JWN7Ab7BK6ILo,48
5
+ zope/hookable/tests/test_compile_flags.py,sha256=GkJV7oOTe5BexmoR5CJ7NglJsbt7iETePC2p7GXLm-U,1318
6
+ zope/hookable/tests/test_hookable.py,sha256=mTixDlulePXGT6uI0w3EWvuwjwuVirlZ2E4qI1mNhR4,6533
7
+ zope_hookable-8.0.dist-info/licenses/LICENSE.txt,sha256=bHkPG2Oy1PmxiQVWnzhtYjAlM1wCWbZQ6AyenUetrS0,2114
8
+ zope_hookable-8.0.dist-info/METADATA,sha256=ibtY1hFksB0MZiQvkQ_KwmD3A_zcTLXPw-OqV0zRMFI,6799
9
+ zope_hookable-8.0.dist-info/WHEEL,sha256=vdR_82Opu754O_hvzOP-1mdHmAhXIon3fxkIAi0L_DI,99
10
+ zope_hookable-8.0.dist-info/top_level.txt,sha256=QpUHvpO4wIuZDeEgKY8qZCtD-tAukB0fn_f6utzlb98,5
11
+ zope_hookable-8.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.2)
2
+ Generator: setuptools (78.1.1)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp39-cp39-win_amd64
5
5
 
@@ -1,44 +1,44 @@
1
- Zope Public License (ZPL) Version 2.1
2
-
3
- A copyright notice accompanies this license document that identifies the
4
- copyright holders.
5
-
6
- This license has been certified as open source. It has also been designated as
7
- GPL compatible by the Free Software Foundation (FSF).
8
-
9
- Redistribution and use in source and binary forms, with or without
10
- modification, are permitted provided that the following conditions are met:
11
-
12
- 1. Redistributions in source code must retain the accompanying copyright
13
- notice, this list of conditions, and the following disclaimer.
14
-
15
- 2. Redistributions in binary form must reproduce the accompanying copyright
16
- notice, this list of conditions, and the following disclaimer in the
17
- documentation and/or other materials provided with the distribution.
18
-
19
- 3. Names of the copyright holders must not be used to endorse or promote
20
- products derived from this software without prior written permission from the
21
- copyright holders.
22
-
23
- 4. The right to distribute this software or to use it for any purpose does not
24
- give you the right to use Servicemarks (sm) or Trademarks (tm) of the
25
- copyright
26
- holders. Use of them is covered by separate agreement with the copyright
27
- holders.
28
-
29
- 5. If any files are modified, you must cause the modified files to carry
30
- prominent notices stating that you changed the files and the date of any
31
- change.
32
-
33
- Disclaimer
34
-
35
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED
36
- OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
37
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
38
- EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
39
- INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
40
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
41
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
42
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
43
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
44
- EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1
+ Zope Public License (ZPL) Version 2.1
2
+
3
+ A copyright notice accompanies this license document that identifies the
4
+ copyright holders.
5
+
6
+ This license has been certified as open source. It has also been designated as
7
+ GPL compatible by the Free Software Foundation (FSF).
8
+
9
+ Redistribution and use in source and binary forms, with or without
10
+ modification, are permitted provided that the following conditions are met:
11
+
12
+ 1. Redistributions in source code must retain the accompanying copyright
13
+ notice, this list of conditions, and the following disclaimer.
14
+
15
+ 2. Redistributions in binary form must reproduce the accompanying copyright
16
+ notice, this list of conditions, and the following disclaimer in the
17
+ documentation and/or other materials provided with the distribution.
18
+
19
+ 3. Names of the copyright holders must not be used to endorse or promote
20
+ products derived from this software without prior written permission from the
21
+ copyright holders.
22
+
23
+ 4. The right to distribute this software or to use it for any purpose does not
24
+ give you the right to use Servicemarks (sm) or Trademarks (tm) of the
25
+ copyright
26
+ holders. Use of them is covered by separate agreement with the copyright
27
+ holders.
28
+
29
+ 5. If any files are modified, you must cause the modified files to carry
30
+ prominent notices stating that you changed the files and the date of any
31
+ change.
32
+
33
+ Disclaimer
34
+
35
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED
36
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
37
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
38
+ EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
39
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
40
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
41
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
42
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
43
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
44
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1 +0,0 @@
1
- import sys, types, os;has_mfs = sys.version_info > (3, 5);p = os.path.join(sys._getframe(1).f_locals['sitedir'], *('zope',));importlib = has_mfs and __import__('importlib.util');has_mfs and __import__('importlib.machinery');m = has_mfs and sys.modules.setdefault('zope', importlib.util.module_from_spec(importlib.machinery.PathFinder.find_spec('zope', [os.path.dirname(p)])));m = m or sys.modules.setdefault('zope', types.ModuleType('zope'));mp = (m or []) and m.__dict__.setdefault('__path__',[]);(p not in mp) and mp.append(p)
@@ -1,13 +0,0 @@
1
- zope.hookable-6.0-py3.9-nspkg.pth,sha256=v_t1oIorEnrHsL8_S45xOGNzLyFVAQCg1XkrPrk0VV8,530
2
- zope/hookable/__init__.py,sha256=pb0kMg3D0-cDl4VLrYtYpaV499J8DpITbW01Wxc3_SA,2190
3
- zope/hookable/_zope_hookable.c,sha256=3N5DrcP1lhrczu0yDqUshuuZ8GoCkWpf67lYzvkS8ao,7431
4
- zope/hookable/_zope_hookable.cp39-win_amd64.pyd,sha256=F32pPs3zPTZlCDpqBoGCewgoGL5V2qALgYDyR0eNwrE,13824
5
- zope/hookable/tests/__init__.py,sha256=Z9EJNKBQorYcdV6oaIRTRgF41SMRZEEoLltZCKyVPI8,47
6
- zope/hookable/tests/test_compile_flags.py,sha256=91siNUs2kotDUYpVV1vAZ_opWhZ50X4_DYkIiNMh6h0,1289
7
- zope/hookable/tests/test_hookable.py,sha256=Y7G2Z9CeZ4JBxaQSXi2AUvIN3ELP49T3_M9vBS2oQAk,6205
8
- zope.hookable-6.0.dist-info/LICENSE.txt,sha256=PmcdsR32h1FswdtbPWXkqjg-rKPCDOo_r1Og9zNdCjw,2070
9
- zope.hookable-6.0.dist-info/METADATA,sha256=xr9vKUXHxn6H02gmzIem7QXg0W137AyhoG93IToZ6Tc,6035
10
- zope.hookable-6.0.dist-info/WHEEL,sha256=2xSj8c4s_gFbWpcImYQptdXS3JLuzC2uK5Om8I_SEKg,100
11
- zope.hookable-6.0.dist-info/namespace_packages.txt,sha256=QpUHvpO4wIuZDeEgKY8qZCtD-tAukB0fn_f6utzlb98,5
12
- zope.hookable-6.0.dist-info/top_level.txt,sha256=QpUHvpO4wIuZDeEgKY8qZCtD-tAukB0fn_f6utzlb98,5
13
- zope.hookable-6.0.dist-info/RECORD,,
@@ -1 +0,0 @@
1
- zope