mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
parent
ecfeb7f095
commit
70a6b49821
246 changed files with 926 additions and 962 deletions
|
@ -192,7 +192,7 @@ class IMAP4:
|
|||
|
||||
if __debug__:
|
||||
if self.debug >= 3:
|
||||
self._mesg('CAPABILITIES: %s' % `self.capabilities`)
|
||||
self._mesg('CAPABILITIES: %r' % (self.capabilities,))
|
||||
|
||||
for version in AllowedVersions:
|
||||
if not version in self.capabilities:
|
||||
|
@ -972,7 +972,7 @@ class IMAP4:
|
|||
self.mo = cre.match(s)
|
||||
if __debug__:
|
||||
if self.mo is not None and self.debug >= 5:
|
||||
self._mesg("\tmatched r'%s' => %s" % (cre.pattern, `self.mo.groups()`))
|
||||
self._mesg("\tmatched r'%s' => %r" % (cre.pattern, self.mo.groups()))
|
||||
return self.mo is not None
|
||||
|
||||
|
||||
|
@ -1416,7 +1416,7 @@ if __name__ == '__main__':
|
|||
if M.state == 'AUTH':
|
||||
test_seq1 = test_seq1[1:] # Login not needed
|
||||
M._mesg('PROTOCOL_VERSION = %s' % M.PROTOCOL_VERSION)
|
||||
M._mesg('CAPABILITIES = %s' % `M.capabilities`)
|
||||
M._mesg('CAPABILITIES = %r' % (M.capabilities,))
|
||||
|
||||
for cmd,args in test_seq1:
|
||||
run(cmd, args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue