Home | History | Annotate | Download | only in python2.7

Lines Matching defs:Flags

85 Flags = re.compile(r'.*FLAGS \((?P<flags>[^\)]*)\)')
118 (eg: the 'flags' argument to STORE) then enclose the string in
304 def append(self, mailbox, flags, date_time, message):
307 (typ, [data]) = <instance>.append(mailbox, flags, date_time, message)
314 if flags:
315 if (flags[0],flags[-1]) != ('(',')'):
316 flags = '(%s)' % flags
318 flags = None
324 return self._simple_command(name, mailbox, flags, date_time)
640 Mandated responses are ('FLAGS', 'EXISTS', 'RECENT', 'UIDVALIDITY'), so
641 other responses should be obtained via <instance>.response('FLAGS') etc.
714 def store(self, message_set, command, flags):
717 (typ, [data]) = <instance>.store(message_set, command, flags)
719 if (flags[0],flags[-1]) != ('(',')'):
720 flags = '(%s)' % flags # Avoid quoting the flags
721 typ, dat = self._simple_command('STORE', message_set, command, flags)
1373 """Convert IMAP4 flags response to python tuple."""
1375 mo = Flags.match(resp)
1379 return tuple(mo.group('flags').split())
1452 ('fetch', ('1', '(FLAGS INTERNALDATE RFC822)')),
1453 ('store', ('1', 'FLAGS', '(\Deleted)')),
1505 '(FLAGS INTERNALDATE RFC822.SIZE RFC822.HEADER RFC822.TEXT)'))