%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/twisted/mail/__pycache__/ |
Current File : //usr/lib/python3/dist-packages/twisted/mail/__pycache__/maildir.cpython-312.pyc |
� Ϫ�fLl � � � d Z ddlZddlZddlZddlZddlmZ ddlmZ ddl m Z ddlmZm Z mZ ddlmZ ddlmZmZmZ dd lmZmZmZ dd lmZ ddlmZ ddlmZmZ d Z G d� d� Z! e!e� jD Z#d� Z$ G d� dejJ � Z& e ejN � G d� d� � Z( e ejR � G d� d� � Z* G d� dejV � Z, e ejZ � G d� d� � Z. e ej^ � G d� de(� � Z0 e ejb � G d� d� � Z2y)z Maildir-style mailbox support. � N)�md5)�IO)�implementer)�checkers�credentials�portal)�UnauthorizedLogin)�defer� interfaces�reactor)�mail�pop3�smtp��dirdbm)�basic)�failure�logz�From: Twisted.mail Internals Subject: An Error Occurred An internal server error has occurred. Please contact the server administrator. c � � e Zd ZdZdZ ej � Z ej � j dd� j dd� Zd� Zd� Z y ) �_MaildirNameGeneratoraK A utility class to generate a unique maildir name. @type n: L{int} @ivar n: A counter used to generate unique integers. @type p: L{int} @ivar p: The ID of the current process. @type s: L{bytes} @ivar s: A representation of the hostname. @ivar _clock: See C{clock} parameter of L{__init__}. r �/z\057�:z\072c � � || _ y)z� @type clock: L{IReactorTime <interfaces.IReactorTime>} provider @param clock: A reactor which will be used to learn the current time. N)�_clock)�self�clocks �6/usr/lib/python3/dist-packages/twisted/mail/maildir.py�__init__z_MaildirNameGenerator.__init__8 s � � ��� c � � | j dz | _ | j j � }t t |� � }dt |t |� z dz � fz }|� d|� d| j � d| j � d| j � � S )a� Generate a string which is intended to be unique across all calls to this function (across all processes, reboots, etc). Strings returned by earlier calls to this method will compare less than strings returned by later calls as long as the clock provided doesn't go backwards. @rtype: L{bytes} @return: A unique string. � z%07dg �cAz.M�P�Q�.)�nr �seconds�str�int�p�s)r �tr&