shift functions to a DictProxy class

This commit is contained in:
holger krekel
2023-10-21 01:40:58 +02:00
parent 9d175316ff
commit 31e08832a6
5 changed files with 79 additions and 73 deletions

View File

@@ -11,4 +11,3 @@ conn.login(f"imapcapa", "pass")
status, res = conn.capability()
for capa in sorted(res[0].decode().split()):
print(capa)

View File

@@ -5,7 +5,7 @@ import imaplib
domain = os.environ.get("CHATMAIL_DOMAIN", "c3.testrun.org")
NUM_CONNECTIONS=10
NUM_CONNECTIONS = 10
conns = []
@@ -16,7 +16,7 @@ for i in range(NUM_CONNECTIONS):
conns.append(conn)
tlsdone = time.time()
duration = tlsdone-start
duration = tlsdone - start
print(f"{duration}: TLS connections opening TLS connections")
for i, conn in enumerate(conns):