Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-117467: Add preserving of mailbox owner on flush (GH-117510) | Tony Mountifield | 2024-04-04 | 1 | -3/+7 |
| | | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | #gh-75705: Set unixfrom envelope in mailbox._mboxMMDF (GH-107117) | Matthieu Caneill | 2024-02-06 | 1 | -2/+3 |
| | |||||
* | gh-66515: Fix locking of an MH mailbox without ".mh_sequences" file (GH-113482) | Serhiy Storchaka | 2024-01-10 | 1 | -2/+17 |
| | | | | | Guarantee that it either open an existing ".mh_sequences" file or create a new ".mh_sequences" file, but do not replace existing ".mh_sequences" file. | ||||
* | gh-66515: mailbox.MH now supports folders withou the ".mh_sequences" file ↵ | Serhiy Storchaka | 2023-12-26 | 1 | -3/+6 |
| | | | | | | (GH-804) (for example Claws Mail IMAP-cache folders). | ||||
* | bpo-21360: mailbox.Maildir now ignores files with a leading dot (GH-11833) | Zackery Spytz | 2023-12-25 | 1 | -0/+2 |
| | | | | | | The maildir format specification states that files with a leading dot should be ignored. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | gh-90890: New methods to access mailbox.Maildir message info and flags (#103905) | Stephen Gildea | 2023-11-11 | 1 | -0/+50 |
| | | | | | | | | | | | | | | | New methods to access mailbox.Maildir message info and flags: get_info, set_info, get_flags, set_flags, add_flag, remove_flag. These methods speed up accessing a message's info and/or flags and are useful when it is not necessary to access the message's contents, as when iterating over a Maildir to find messages with specific flags. --------- * Add more str type checking * modernize to f-strings instead of % Co-authored-by: Gregory P. Smith <greg@krypto.org> | ||||
* | bpo-45975: Simplify some while-loops with walrus operator (GH-29347) | Nick Drozd | 2022-11-26 | 1 | -4/+1 |
| | |||||
* | bpo-39481: PEP 585 for dataclasses, mailbox, contextvars (GH-19425) | Ethan Smith | 2020-04-14 | 1 | -0/+5 |
| | |||||
* | bpo-31522: mailbox.get_string: pass `from_` parameter to `get_bytes` (#9857) | Cheryl Sabella | 2018-10-19 | 1 | -1/+1 |
| | | | This allows *from_* to be successfully set to a non-default value when calling mbox.get_string. | ||||
* | bpo-29762: More use "raise from None". (#569) | Serhiy Storchaka | 2017-04-05 | 1 | -3/+3 |
| | | | This hides unwanted implementation details from tracebacks. | ||||
* | Issue #28764: Fix a test_mailbox failure on Android API 24 when run as a ↵ | Xavier de Gaye | 2016-12-12 | 1 | -9/+12 |
| | | | | non-root user. | ||||
* | Issue #27107: Add exception classes to mailbox.__all__, by Jacek Kołodziej | Martin Panter | 2016-06-06 | 1 | -3/+4 |
| | |||||
* | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
| | |||||
* | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 1 | -7/+13 |
|\ | | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured. | ||||
| * | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 1 | -4/+8 |
| | | | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured. | ||||
* | | PEP 479: Use the return-keyword instead of raising StopIteration inside a ↵ | Raymond Hettinger | 2014-11-23 | 1 | -1/+1 |
| | | | | | | | | generators. | ||||
* | | Issue #22823: Use set literals instead of creating a set from a list | Raymond Hettinger | 2014-11-09 | 1 | -2/+2 |
|/ | |||||
* | Issue #22369: Change "context manager protocol" to "context management ↵ | Serhiy Storchaka | 2014-09-10 | 1 | -1/+1 |
| | | | | protocol". | ||||
* | Issue #20729: Restored the use of lazy iterkeys()/itervalues()/iteritems() | Serhiy Storchaka | 2014-08-13 | 1 | -7/+7 |
| | | | | in the mailbox module. This is partial rollback of changeset f340cb045bf9. | ||||
* | Issue #20976: pyflakes: Remove unused imports | Victor Stinner | 2014-03-20 | 1 | -1/+0 |
| | |||||
* | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 1 | -2/+0 |
|\ | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts. | ||||
| * | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 1 | -2/+0 |
| | | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script. | ||||
* | | Merge #19037: adjust file times *before* moving maildir files into place. | R David Murray | 2013-09-18 | 1 | -5/+13 |
|\ \ | |/ | |||||
| * | #19037: adjust file times *before* moving maildir files into place. | R David Murray | 2013-09-18 | 1 | -5/+13 |
| | | | | | | | | | | This avoids race conditions when other programs are monitoring the maildir directory. Patch by janzert. | ||||
* | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 1 | -1/+1 |
| | | |||||
* | | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 1 | -1/+1 |
| | | | | | | | | ModuleNotFoundError. | ||||
* | | modernize some modules' code by replacing ↵ | Giampaolo Rodola' | 2013-02-12 | 1 | -27/+14 |
| | | | | | | | | OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.) | ||||
* | | modernize some modules' code by using with statement around open() | Giampaolo Rodola' | 2013-02-12 | 1 | -14/+4 |
| | | |||||
* | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -8/+8 |
| | | |||||
* | | #16135: Removal of OS/2 support (Python code partial cleanup) | Jesus Cea | 2012-10-05 | 1 | -4/+2 |
| | | |||||
* | | #16135: Removal of OS/2 support (Remove OS2 and OS/2 references) | Jesus Cea | 2012-10-05 | 1 | -3/+0 |
| | | |||||
* | | utilize yield from | Philip Jenvey | 2012-10-01 | 1 | -2/+1 |
|/ | |||||
* | #15222: Merge 3.2 | Petri Lehtinen | 2012-09-25 | 1 | -6/+38 |
|\ | |||||
| * | #15222: Insert blank line after each message in mbox mailboxes | Petri Lehtinen | 2012-09-25 | 1 | -6/+38 |
| | | |||||
* | | #11062: Fix universal newline support in Babyl._install_message() | Petri Lehtinen | 2012-08-16 | 1 | -3/+10 |
|\ \ | |/ | |||||
| * | #11062: Fix universal newline support in Babyl._install_message() | Petri Lehtinen | 2012-08-16 | 1 | -3/+10 |
| | | | | | | | | | | When adding a message from a binary file, \r\n was translated to \r\r\n in the message body. | ||||
* | | #11062: Fix adding a message from file to Babyl mailbox | Petri Lehtinen | 2012-08-15 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #11062: Fix adding a message from file to Babyl mailbox | Petri Lehtinen | 2012-08-15 | 1 | -1/+1 |
| | | |||||
* | | #5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush() | Petri Lehtinen | 2012-06-29 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | #5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush() | Petri Lehtinen | 2012-06-29 | 1 | -0/+3 |
| | | |||||
* | | #9559: Don't call _pre_mailbox_hook more than once | Petri Lehtinen | 2012-06-29 | 1 | -2/+5 |
|\ \ | |/ | |||||
| * | #9559: Don't call _pre_mailbox_hook more than once | Petri Lehtinen | 2012-06-29 | 1 | -2/+5 |
| | | |||||
* | | #9559: Append data to single-file mailbox files if messages are only added | Petri Lehtinen | 2012-06-28 | 1 | -3/+15 |
|\ \ | |/ | | | | | | | | | If messages were only added, a new file is no longer created and renamed over the old file when flush() is called on an mbox, MMDF or Babyl mailbox. | ||||
| * | #9559: Append data to single-file mailbox files if messages are only added | Petri Lehtinen | 2012-06-28 | 1 | -3/+15 |
| | | | | | | | | | | | | If messages were only added, a new file is no longer created and renamed over the old file when flush() is called on an mbox, MMDF or Babyl mailbox. | ||||
* | | #15036: Make a repeated changes and flushes work with single-file mailboxes | Petri Lehtinen | 2012-06-15 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | #15036: Make a repeated changes and flushes work with single-file mailboxes | Petri Lehtinen | 2012-06-15 | 1 | -0/+1 |
| | | |||||
* | | #12537: in mailbox avoid depending on knowledge of email package internals | R David Murray | 2012-04-09 | 1 | -3/+12 |
| | | | | | | | | | | | | | | | | | | | | | | Previously mailbox was copying a list of attributes from one message object to another in order to "copy the message data". This means that any time new attributes were added to email.message.Message, mailbox broke. Now instead it copies all attributes from the source object to the target object, skipping any mailbox-object-specific attributes to produce the same clean initial state it was previously getting by copying only the "known" attributes. David Lam assisted in the development of this patch. | ||||
* | | Fix Maildir initialization so that maildir contents are read correctly. | Petri Lehtinen | 2011-11-05 | 1 | -5/+3 |
|\ \ | |/ | | | | | Closes #13254. | ||||
| * | Fix Maildir initialization so that maildir contents are read correctly. | Petri Lehtinen | 2011-11-05 | 1 | -5/+3 |
| | | | | | | | | Closes #13254. | ||||
* | | Close #12454: The mailbox module is now using ASCII, instead of the locale | Victor Stinner | 2011-10-17 | 1 | -5/+2 |
|/ | | | | encoding, to read and write MH mailboxes (.mh_sequences files). |