summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarius Gedminas <marius@gedmin.as>2018-08-08 18:15:01 +0300
committerMarius Gedminas <marius@gedmin.as>2018-08-08 18:15:01 +0300
commit9f9b4106a10557dcdd621a67be7cb90e5d17e98f (patch)
treef994e1a28ad73a1f0326e4f7cc348dda242ed481 /docs
parent70a4b661f56280e0950bd368a953cab2e0b31679 (diff)
downloadzope-security-9f9b4106a10557dcdd621a67be7cb90e5d17e98f.tar.gz
Fix test failure on Python 3.7
ABCMeta._abc_invalidation_counter is no more. The test passes if we don't touch it, so we're all good? There are no more hidden caches we need to worry about? Anybody want to dig into this deeper?
Diffstat (limited to 'docs')
-rw-r--r--docs/proxy.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/proxy.rst b/docs/proxy.rst
index 2b01ee0..17c9f53 100644
--- a/docs/proxy.rst
+++ b/docs/proxy.rst
@@ -343,12 +343,14 @@ In this case, the workarounds described :ref:`above <isinstance-and-proxies>` al
.. pure-python platforms to make sure that we get where
.. we expect to be when we construct LogRecord; otherwise
.. the ProxyMetaclass may be in the negative cache, bypassing
-.. the issubclass() calls we expect
+.. the issubclass() calls we expect.
+.. Note that ABCMeta._abc_invalidation_counter is gone in Python 3.7
.. doctest::
:hide:
- >>> ABCMeta._abc_invalidation_counter += 1
+ >>> if hasattr(ABCMeta, '_abc_invalidation_counter'):
+ ... ABCMeta._abc_invalidation_counter += 1
logging
~~~~~~~