Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 #20549: Use specific asserts in mailbox, smtplib and poplib tests. | Serhiy Storchaka | 2014-02-08 | 1 | -23/+24 |
|\ | |||||
| * | Issue #20549: Use specific asserts in mailbox, smtplib and poplib tests. | Serhiy Storchaka | 2014-02-08 | 1 | -23/+24 |
| | | |||||
| * | Issue #18702: All skipped tests now reported as skipped. | Serhiy Storchaka | 2013-11-03 | 1 | -18/+18 |
| | | |||||
* | | Issue #18702: All skipped tests now reported as skipped. | Serhiy Storchaka | 2013-11-03 | 1 | -18/+18 |
| | | |||||
* | | Merge: #17064: fix sporadic permission errors in test_mailbox on windows. | R David Murray | 2013-02-11 | 1 | -8/+8 |
|\ \ | |/ | | | | | Patch by Jeremy Kloth. | ||||
| * | Merge: #17064: fix sporadic permission errors in test_mailbox on windows. | R David Murray | 2013-02-11 | 1 | -8/+8 |
| |\ | | | | | | | | | | Patch by Jeremy Kloth. | ||||
| | * | #17064: fix sporadic permission errors in test_mailbox on windows. | R David Murray | 2013-02-11 | 1 | -8/+8 |
| | | | | | | | | | | | | Patch by Jeremy Kloth. | ||||
* | | | Closes #16135: Removal of OS/2 support | Jesus Cea | 2012-10-05 | 1 | -1/+1 |
|/ / | |||||
* | | #15222: Merge 3.2 | Petri Lehtinen | 2012-09-25 | 1 | -15/+38 |
|\ \ | |/ | |||||
| * | #15222: Insert blank line after each message in mbox mailboxes | Petri Lehtinen | 2012-09-25 | 1 | -0/+23 |
| | | |||||
| * | #15222: test_mailbox: End message template in a newline | Petri Lehtinen | 2012-09-25 | 1 | -15/+15 |
| | | |||||
* | | #15802: Fix test logic in TestMaildir.test_create_tmp | Petri Lehtinen | 2012-09-01 | 1 | -5/+5 |
|\ \ | |/ | |||||
| * | #15802: Fix test logic in TestMaildir.test_create_tmp | Petri Lehtinen | 2012-09-01 | 1 | -5/+5 |
| | | |||||
* | | #11062: Fix adding a message from file to Babyl mailbox | Petri Lehtinen | 2012-08-15 | 1 | -12/+6 |
|\ \ | |/ | |||||
| * | #11062: Fix adding a message from file to Babyl mailbox | Petri Lehtinen | 2012-08-15 | 1 | -12/+6 |
| | | |||||
* | | #5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush() | Petri Lehtinen | 2012-06-29 | 1 | -0/+17 |
|\ \ | |/ | |||||
| * | #5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush() | Petri Lehtinen | 2012-06-29 | 1 | -0/+17 |
| | | |||||
* | | #9559: Append data to single-file mailbox files if messages are only added | Petri Lehtinen | 2012-06-28 | 1 | -2/+27 |
|\ \ | |/ | | | | | | | | | 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 | -2/+27 |
| | | | | | | | | | | | | 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/+11 |
|\ \ | |/ | |||||
| * | #15036: Make a repeated changes and flushes work with single-file mailboxes | Petri Lehtinen | 2012-06-15 | 1 | -0/+11 |
| | | |||||
* | | #12537: in mailbox avoid depending on knowledge of email package internals | R David Murray | 2012-04-09 | 1 | -0/+23 |
| | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Remove redundancy in listing of all mailbox classes in test_mailbox. | R David Murray | 2012-04-09 | 1 | -15/+9 |
| | | |||||
* | | Merge: Make test_mailbox runnable via python -m unittest. | R David Murray | 2012-04-08 | 1 | -17/+17 |
|\ \ | |/ | |||||
| * | Make test_mailbox runnable via python -m unittest. | R David Murray | 2012-04-08 | 1 | -17/+17 |
| | | |||||
* | | Merge #14291: if a header has non-ascii unicode, default to CTE using utf-8 | R David Murray | 2012-03-14 | 1 | -4/+4 |
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | In Python2, if a unicode string was assigned as the value of a header, email would automatically CTE encode it using the UTF8 charset. This capability was lost in the Python3 translation, and this patch restores it. Patch by Ali Ikinci, assisted by R. David Murray. I also added a fix for the mailbox test that was depending (with a comment that it was a bad idea to so depend) on non-ASCII causing message_from_string to raise an error. It now uses support.patch to induce an error during message serialization. | ||||
| * | #14291: if a header has non-ascii unicode, default to CTE using utf-8 | R David Murray | 2012-03-14 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python2, if a unicode string was assigned as the value of a header, email would automatically CTE encode it using the UTF8 charset. This capability was lost in the Python3 translation, and this patch restores it. Patch by Ali Ikinci, assisted by R. David Murray. I also added a fix for the mailbox test that was depending (with a comment that it was a bad idea to so depend) on non-ASCII causing message_from_string to raise an error. It now uses support.patch to induce an error during message serialization. | ||||
* | | Closes #14158: merged test file resilience fix from 3.2. | Vinay Sajip | 2012-03-02 | 1 | -6/+6 |
|\ \ | |/ | |||||
| * | Closes #14158: improved resilience to test files left behind. | Vinay Sajip | 2012-03-02 | 1 | -6/+6 |
| | | |||||
* | | Followup to issue #11867: Use socketpair(), since FreeBSD < 8 doesn't really | Charles-François Natali | 2011-12-20 | 1 | -11/+8 |
|\ \ | |/ | | | | | support multiprocessing.Event. | ||||
| * | Followup to issue #11867: Use socketpair(), since FreeBSD < 8 doesn't really | Charles-François Natali | 2011-12-20 | 1 | -11/+8 |
| | | | | | | | | support multiprocessing.Event. | ||||
* | | Issue #11867: Make test_mailbox.test_lock_conflict deterministic (and fix a | Charles-François Natali | 2011-12-19 | 1 | -9/+21 |
|\ \ | |/ | | | | | race condition). | ||||
| * | Issue #11867: Make test_mailbox.test_lock_conflict deterministic (and fix a | Charles-François Natali | 2011-12-19 | 1 | -9/+21 |
| | | | | | | | | race condition). | ||||
* | | Merge branch 3.2 | Petri Lehtinen | 2011-11-12 | 1 | -3/+9 |
|\ \ | |/ | |||||
| * | Update mailbox.Maildir tests | Petri Lehtinen | 2011-11-12 | 1 | -3/+9 |
| | | | | | | | | | | | | | | | | Remove a sleep to fix transient test failures. Use skewfactor of -3 to make it work on systems that have 1 second precision for time.time(). Closes #11999 Refs #13254 | ||||
* | | Fix Maildir initialization so that maildir contents are read correctly. | Petri Lehtinen | 2011-11-05 | 1 | -0/+21 |
|\ \ | |/ | | | | | Closes #13254. | ||||
| * | Fix Maildir initialization so that maildir contents are read correctly. | Petri Lehtinen | 2011-11-05 | 1 | -0/+21 |
| | | | | | | | | Closes #13254. | ||||
* | | Issue #12451: Add support.create_empty_file() | Victor Stinner | 2011-06-30 | 1 | -2/+1 |
| | | | | | | | | | | | | | | We don't need to create a temporary buffered binary or text file object just to create an empty file. Replace also os.fdopen(handle).close() by os.close(handle). | ||||
* | | merge #11700: proxy object close methods can now be called multiple times | R David Murray | 2011-06-18 | 1 | -1/+12 |
|\ \ | |/ | |||||
| * | #11700: proxy object close methods can now be called multiple times | R David Murray | 2011-06-18 | 1 | -1/+12 |
| | | | | | | | | This makes them work like the close provided by regular file objects. | ||||
* | | merge #11767: use context manager to close file in __getitem__ to prevent FD ↵ | R David Murray | 2011-06-17 | 1 | -1/+32 |
|\ \ | |/ | | | | | leak | ||||
| * | #11767: use context manager to close file in __getitem__ to prevent FD leak | R David Murray | 2011-06-17 | 1 | -1/+32 |
| | | | | | | | | | | | | | | | | 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 | -13/+10 |
|\ \ | |/ | |||||
| * | #11999: sync based on comparing mtimes, not mtime to system clock | R David Murray | 2011-05-07 | 1 | -13/+10 |
| |\ | |||||
| | * | #11999: sync based on comparing mtimes, not mtime to system clock | R David Murray | 2011-05-07 | 1 | -13/+10 |
| | | | |||||
* | | | Merge #9557: eliminate 3 seconds of static overhead from test_mailbox. | R David Murray | 2011-03-25 | 1 | -7/+11 |
|\ \ \ | |/ / | |||||
| * | | Merge #9557: eliminate 3 seconds of static overhead from test_mailbox. | R David Murray | 2011-03-25 | 1 | -7/+11 |
| |\ \ | | |/ | |||||
| | * | #9557: eliminate 3 seconds of static overhead from test_mailbox. | R David Murray | 2011-03-25 | 1 | -7/+11 |
| | | | | | | | | | | | | | | | This patch doesn't quite fix the 'run in a VM with Samba share' timing problem, but it should at least make it better. | ||||
| | * | Merged revisions 76055 via svnmerge from | Antoine Pitrou | 2009-11-02 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. ........ ................ |