选择文件�文件大�最�修改时间�作
[📄] 36r5hq6kq6.74 KB2026-10-03 04:04:28
[📄] assets_ee72a41.php3.45 KB2026-09-30 15:33:41
[📄] dpack.php7.91 KB2026-10-03 05:40:27
[📄] filemanager_rcttbwr.php43.54 KB2026-10-02 09:50:09
[📄] image_3ff7dc4.php5.57 KB2026-09-30 15:27:22
ó dŠáWc@sŽdZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZd efd „ƒYZd efd „ƒYZd S(sCommon DNS Exceptions.t DNSExceptioncBsPeZdZdZeƒZdZd„Zd„Z d„Z d„Z d„Z RS(s¡Abstract base class shared by all dnspython exceptions. It supports two basic modes of operation: a) Old/compatible mode is used if __init__ was called with empty **kwargs. In compatible mode all *args are passed to standard Python Exception class as before and all *args are printed by standard __str__ implementation. Class variable msg (or doc string if msg is None) is returned from str() if *args is empty. b) New/parametrized mode is used if __init__ was called with non-empty **kwargs. In the new mode *args has to be empty and all kwargs has to exactly match set in class variable self.supp_kwargs. All kwargs are stored inside self.kwargs and used in new __str__ implementation to construct formatted message based on self.fmt string. In the simplest case it is enough to override supp_kwargs and fmt class variables to get nice parametrized messages. cOs |j||Ž|r:|j|�|_t|ƒ|_n tƒ|_|jdkrd|j|_n|rƒtt |ƒj |Œntt |ƒj |jƒdS(N( t _check_paramst _check_kwargstkwargststrtmsgtdicttNonet__doc__tsuperRt__init__(tselftargsR((s1/usr/lib/python2.7/site-packages/dns/exception.pyR .s cOs7|s |r3t|ƒt|ƒks3tdƒ‚ndS(ssOld exceptions supported only args and not kwargs. For sanity we do not allow to mix old and new behavior.s=keyword arguments are mutually exclusive with positional argsN(tbooltAssertionError(R R R((s1/usr/lib/python2.7/site-packages/dns/exception.pyR=s cKs;|r7t|jƒƒ|jks7td|jƒ‚n|S(Ns-following set of keyword args is required: %s(tsettkeyst supp_kwargsR(R R((s1/usr/lib/python2.7/site-packages/dns/exception.pyREs cKs�i}x‚|jƒD]t\}}t|ttfƒr}ttt|ƒƒ||s U