Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | Adding unittest.mock documentation | Michael Foord | 2012-03-25 | 8 | -5/+3516 | |
| | | | | | ||||||
* | | | | | unittest.mock: a mock created by patch with a spec as the list argument will ↵ | Michael Foord | 2012-03-25 | 2 | -1/+28 | |
| | | | | | | | | | | | | | | | | | | | | be callable if __call__ is in the spec | |||||
* | | | | | merge with 3.2 | Georg Brandl | 2012-03-25 | 3 | -0/+348 | |
|\ \ \ \ \ | | |/ / / | |/| | | | ||||||
| * | | | | Add missing files for new doc theme. | Georg Brandl | 2012-03-25 | 3 | -0/+348 | |
| | | | | | ||||||
* | | | | | merge heads | Georg Brandl | 2012-03-25 | 1 | -2/+0 | |
|\ \ \ \ \ | ||||||
| * | | | | | unittest.mock: remove another piece of Python 2 specific code | Michael Foord | 2012-03-25 | 1 | -2/+0 | |
| | | | | | | ||||||
* | | | | | | merge with 3.2 | Georg Brandl | 2012-03-25 | 4 | -4/+9 | |
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / / | ||||||
| * | | | | Switch to new "lighter" doc design. | Georg Brandl | 2012-03-25 | 4 | -4/+9 | |
| | | | | | ||||||
* | | | | | Remove more Python 2 code from unittest.mock (obsolete function attributes) | Michael Foord | 2012-03-25 | 1 | -14/+0 | |
| | | | | | ||||||
* | | | | | Minor changes to the unittest.mock.mock_open helper | Michael Foord | 2012-03-25 | 1 | -5/+4 | |
| | | | | | ||||||
* | | | | | Addition of docstrings to unittest.mock helpers | Michael Foord | 2012-03-25 | 1 | -2/+20 | |
| | | | | | ||||||
* | | | | | unittest.mock: set file_spec on first use | Michael Foord | 2012-03-25 | 1 | -2/+6 | |
| | | | | | ||||||
* | | | | | Support subclassing unittest.mock._patch and fix various obscure bugs around ↵ | Michael Foord | 2012-03-25 | 2 | -32/+151 | |
| | | | | | | | | | | | | | | | | | | | | patcher spec arguments | |||||
* | | | | | Merge | Michael Foord | 2012-03-25 | 2 | -2/+9 | |
|\ \ \ \ \ | ||||||
| * | | | | | Raise MemoryError instead of InvalidOperation/MallocError for compatibility | Stefan Krah | 2012-03-25 | 2 | -2/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with decimal.py. The standard specifies InsufficientStorage (MallocError) as a sub-condition of InvalidOperation. This allows a calculation to continue with NaN results when allocation fails. | |||||
* | | | | | | unittest.mock.MagicMock objects are now unorderable by default | Michael Foord | 2012-03-25 | 3 | -9/+28 | |
|/ / / / / | ||||||
* | | | | | Remove extra spaces in doc example. | Andrew Svetlov | 2012-03-25 | 1 | -3/+3 | |
| | | | | | ||||||
* | | | | | Issue #14200 — now displayhook for IDLE works in non-subprocess mode as ↵ | Andrew Svetlov | 2012-03-25 | 3 | -21/+22 | |
| | | | | | | | | | | | | | | | | | | | | well as subprecess. | |||||
* | | | | | merge with 3.2 | Georg Brandl | 2012-03-25 | 1 | -3/+3 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | Closes #14401: fix typos in curses howto. | Georg Brandl | 2012-03-25 | 1 | -3/+3 | |
| | | | | | ||||||
* | | | | | Issue #13902: Fix a random test_threading failure on FreeBSD 6 buildbots (due | Charles-François Natali | 2012-03-24 | 1 | -0/+1 | |
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | to a known bug in pthread implementation on FreeBSD < 7). | |||||
| * | | | | Issue #13902: Fix a random test_threading failure on FreeBSD 6 buildbots (due | Charles-François Natali | 2012-03-24 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | to a known bug in pthread implementation on FreeBSD < 7). | |||||
* | | | | | Issue #14349: Fix the doc of the MAKE_FUNCTION opcode in Doc/library/dis.rst to | Eli Bendersky | 2012-03-24 | 1 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | correctly list the stack params it expects. | |||||
* | | | | | merge 3.2 | Martin v. Löwis | 2012-03-24 | 1 | -1/+1 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | Issue #14400: Fix typo. | Martin v. Löwis | 2012-03-24 | 1 | -1/+1 | |
| |/ / / | ||||||
* | | | | Issue #14154: Reimplement the bigmem test memory watchdog as a subprocess. | Charles-François Natali | 2012-03-24 | 3 | -240/+38 | |
| | | | | ||||||
* | | | | Fix indentation. | Georg Brandl | 2012-03-24 | 1 | -24/+24 | |
| | | | | ||||||
* | | | | Issue #7652: Enable linking of _decimal.so against an installed libmpdec. | Stefan Krah | 2012-03-23 | 4 | -40/+78 | |
| | | | | ||||||
* | | | | Merge. | Stefan Krah | 2012-03-23 | 1 | -5/+9 | |
|\ \ \ \ | ||||||
| * \ \ \ | Null merge for backported fix. | Vinay Sajip | 2012-03-23 | 0 | -0/+0 | |
| |\ \ \ \ | | |/ / / | ||||||
| | * | | | Closes #14314: backported fix. | Vinay Sajip | 2012-03-23 | 1 | -1/+2 | |
| | | | | | ||||||
| * | | | | attempt to fix asyncore buildbot failure | Giampaolo Rodola' | 2012-03-23 | 1 | -5/+9 | |
| |\ \ \ \ | | |/ / / | ||||||
| | * | | | attempt to fix asyncore buildbot failure | Giampaolo Rodola' | 2012-03-23 | 1 | -3/+7 | |
| | | | | | ||||||
* | | | | | Fix formatting after removing tabs. | Stefan Krah | 2012-03-23 | 2 | -4/+8 | |
| | | | | | ||||||
* | | | | | Whitespace. | Stefan Krah | 2012-03-23 | 2 | -102/+102 | |
|/ / / / | ||||||
* | | | | Use the same exception hierarchy as decimal.py. FloatOperation now also | Stefan Krah | 2012-03-23 | 4 | -22/+107 | |
| | | | | | | | | | | | | | | | | | | | | inherits from TypeError. Cleanup in module initialization to make repeated import failures robust. | |||||
* | | | | Merge with 3.2 | Kristján Valur Jónsson | 2012-03-23 | 1 | -1/+1 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Fix typo when "PyObject*" was changed to "identifier" | Kristján Valur Jónsson | 2012-03-23 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | merge | Giampaolo Rodola' | 2012-03-23 | 4 | -12/+33 | |
|\ \ \ \ | ||||||
| * | | | | Issue #13782: streamline argument type-checking in ET.Element | Eli Bendersky | 2012-03-23 | 4 | -12/+33 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | append, extend and insert now consistently type-check their argument in both the C and Python implementations, and raise TypeError for non-Element argument. Added tests | |||||
* | | | | | fix failing asyncore test as per http://bugs.python.org/issue10340#msg156586 | Giampaolo Rodola' | 2012-03-23 | 1 | -10/+12 | |
|/ / / / | ||||||
* | | | | #14380: Make actual default match docs, fix __init__ order. | R David Murray | 2012-03-23 | 2 | -9/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Éric pointed out that given that the default was documented as None, someone would reasonably pass that to get the default behavior. In fixing the code to use None, I noticed that the change to _charset was being done after it had already been passed to MIMENonMultipart. The change to the test verifies that the order is now correct. | |||||
* | | | | #14380: Have MIMEText defaults to utf-8 when passed non-ASCII unicode | R David Murray | 2012-03-23 | 5 | -4/+31 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously it would just accept the unicode, which would wind up as unicode in the transfer-encoded message object, which is just wrong. Patch by Jeff Knupp. | |||||
* | | | | Merge with 3.2 (Issue #14387) | Kristján Valur Jónsson | 2012-03-22 | 1 | -0/+2 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Issue #14387 : undefine 'small' so that it doesn't clash with Windows headers. | Kristján Valur Jónsson | 2012-03-22 | 1 | -0/+2 | |
| | | | | ||||||
* | | | | Fix indentation. | Georg Brandl | 2012-03-22 | 1 | -2/+3 | |
| | | | | ||||||
* | | | | Issue #14382: Ensure new unittest.test.testmock is installed. | Ned Deily | 2012-03-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | (Original patch by Vinay Sajip) | |||||
* | | | | merge 3.2 | Benjamin Peterson | 2012-03-22 | 0 | -0/+0 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | issue 10340 - forgot to update Misc/NEWS | Giampaolo Rodola' | 2012-03-22 | 1 | -0/+4 | |
| | | | | ||||||
* | | | | fix #10340: properly handle EINVAL on OSX and also avoid to call ↵ | Giampaolo Rodola' | 2012-03-22 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | handle_connect() in case of a disconnetected socket which is not meant to connect. |