Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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). | ||||
* | #11700: proxy object close methods can now be called multiple times | R David Murray | 2011-06-18 | 1 | -4/+10 |
| | | | | This makes them work like the close provided by regular file objects. | ||||
* | #11767: use context manager to close file in __getitem__ to prevent FD leak | R David Murray | 2011-06-17 | 1 | -1/+3 |
| | | | | | | | | All of the other methods in mailbox that create message objects take care to close the file descriptors they use, so it seems to make sense to have __getitem__ do so as well. Patch by Filip Gruszczyński. | ||||
* | #11999: sync based on comparing mtimes, not mtime to system clock | R David Murray | 2011-05-07 | 1 | -37/+39 |
|\ | |||||
| * | #11999: sync based on comparing mtimes, not mtime to system clock | R David Murray | 2011-05-07 | 1 | -36/+40 |
| | | |||||
| * | Merged revisions 83385-83389,83391 via svnmerge from | Georg Brandl | 2010-08-01 | 1 | -0/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.python.org/python/branches/py3k ........ r83385 | georg.brandl | 2010-08-01 08:42:45 +0200 (So, 01 Aug 2010) | 1 line #8773: mailbox.py does not need to be executable. ........ r83386 | georg.brandl | 2010-08-01 08:44:46 +0200 (So, 01 Aug 2010) | 1 line #8768: name test method properly so that it gets executed. ........ r83387 | georg.brandl | 2010-08-01 08:53:28 +0200 (So, 01 Aug 2010) | 1 line #8735: better explain semantics of *values* argument for parse(). ........ r83388 | georg.brandl | 2010-08-01 09:48:43 +0200 (So, 01 Aug 2010) | 1 line #7395: fix traceback in do_add() when no stats are loaded. Apply same fix for do_sort() and do_reverse(). ........ r83389 | georg.brandl | 2010-08-01 09:57:47 +0200 (So, 01 Aug 2010) | 1 line Small improvements to pstats browser: do not crash on reading invalid file, and actually do a reload when executing "read" as intended. ........ r83391 | georg.brandl | 2010-08-01 10:10:08 +0200 (So, 01 Aug 2010) | 1 line Add another news entry. ........ | ||||
| * | Merged revisions 76055 via svnmerge from | Antoine Pitrou | 2009-11-02 | 1 | -1/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r76055 | antoine.pitrou | 2009-11-02 12:36:51 +0100 (lun., 02 nov. 2009) | 13 lines Merged revisions 76034,76054 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r76034 | antoine.pitrou | 2009-11-01 22:29:33 +0100 (dim., 01 nov. 2009) | 3 lines This should finally fix #6896. Let's watch the buildbots. ........ r76054 | antoine.pitrou | 2009-11-02 12:34:27 +0100 (lun., 02 nov. 2009) | 3 lines Since r76034 was successful, add a NEWS entry for it. ........ ................ | ||||
* | | Merged revisions 88730 via svnmerge from | R. David Murray | 2011-03-03 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88730 | r.david.murray | 2011-03-03 13:03:36 -0500 (Thu, 03 Mar 2011) | 2 lines #11306: Treat EROFS like EACCES when making a 'file is read-only' decision ........ | ||||
* | | Fix #11116 fix on Windows (close file before removing in MH code) | R. David Murray | 2011-02-12 | 1 | -1/+8 |
| | | |||||
* | | #11116: roll back on error during add so mailbox isn't left corrupted. | R. David Murray | 2011-02-11 | 1 | -6/+18 |
| | |