Lines Matching refs:Policy
0 """Policy framework for the email package.
12 'Policy',
20 """Policy Object basic framework.
24 managed by the Policy object. The constructor will then allow
42 """Create new Policy, possibly overriding some defaults.
112 class Policy(_PolicyBase, metaclass=abc.ABCMeta):
117 Policy objects as parameters. A Policy object contains a set of values and
123 Any valid attribute may be overridden when a Policy is created by passing
124 it as a keyword argument to the constructor. Policy objects are immutable,
125 but a new Policy object can be created with only certain values changed by
126 calling the Policy instance with keyword arguments. Policy objects can
127 also be added, producing a new Policy object in which the non-default
170 """Based on policy, either raise defect or call register_defect.
192 part of the Policy API so that Policy subclasses can implement custom
252 according to the policy controls. The value passed in by the email
264 header according to the policy controls. The value passed in by the
272 class Compat32(Policy):
275 This particular policy is the backward compatibility Policy. It