summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Adding unittest.mock documentationMichael Foord2012-03-258-5/+3516
| | | | |
* | | | | unittest.mock: a mock created by patch with a spec as the list argument will ↵Michael Foord2012-03-252-1/+28
| | | | | | | | | | | | | | | | | | | | be callable if __call__ is in the spec
* | | | | merge with 3.2Georg Brandl2012-03-253-0/+348
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Add missing files for new doc theme.Georg Brandl2012-03-253-0/+348
| | | | |
* | | | | merge headsGeorg Brandl2012-03-251-2/+0
|\ \ \ \ \
| * | | | | unittest.mock: remove another piece of Python 2 specific codeMichael Foord2012-03-251-2/+0
| | | | | |
* | | | | | merge with 3.2Georg Brandl2012-03-254-4/+9
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / /
| * | | | Switch to new "lighter" doc design.Georg Brandl2012-03-254-4/+9
| | | | |
* | | | | Remove more Python 2 code from unittest.mock (obsolete function attributes)Michael Foord2012-03-251-14/+0
| | | | |
* | | | | Minor changes to the unittest.mock.mock_open helperMichael Foord2012-03-251-5/+4
| | | | |
* | | | | Addition of docstrings to unittest.mock helpersMichael Foord2012-03-251-2/+20
| | | | |
* | | | | unittest.mock: set file_spec on first useMichael Foord2012-03-251-2/+6
| | | | |
* | | | | Support subclassing unittest.mock._patch and fix various obscure bugs around ↵Michael Foord2012-03-252-32/+151
| | | | | | | | | | | | | | | | | | | | patcher spec arguments
* | | | | MergeMichael Foord2012-03-252-2/+9
|\ \ \ \ \
| * | | | | Raise MemoryError instead of InvalidOperation/MallocError for compatibilityStefan Krah2012-03-252-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 defaultMichael Foord2012-03-253-9/+28
|/ / / / /
* | | | | Remove extra spaces in doc example.Andrew Svetlov2012-03-251-3/+3
| | | | |
* | | | | Issue #14200 — now displayhook for IDLE works in non-subprocess mode as ↵Andrew Svetlov2012-03-253-21/+22
| | | | | | | | | | | | | | | | | | | | well as subprecess.
* | | | | merge with 3.2Georg Brandl2012-03-251-3/+3
|\ \ \ \ \ | |/ / / /
| * | | | Closes #14401: fix typos in curses howto.Georg Brandl2012-03-251-3/+3
| | | | |
* | | | | Issue #13902: Fix a random test_threading failure on FreeBSD 6 buildbots (dueCharles-François Natali2012-03-241-0/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | to a known bug in pthread implementation on FreeBSD < 7).
| * | | | Issue #13902: Fix a random test_threading failure on FreeBSD 6 buildbots (dueCharles-François Natali2012-03-241-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 toEli Bendersky2012-03-241-3/+4
| | | | | | | | | | | | | | | | | | | | correctly list the stack params it expects.
* | | | | merge 3.2Martin v. Löwis2012-03-241-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | Issue #14400: Fix typo.Martin v. Löwis2012-03-241-1/+1
| |/ / /
* | | | Issue #14154: Reimplement the bigmem test memory watchdog as a subprocess.Charles-François Natali2012-03-243-240/+38
| | | |
* | | | Fix indentation.Georg Brandl2012-03-241-24/+24
| | | |
* | | | Issue #7652: Enable linking of _decimal.so against an installed libmpdec.Stefan Krah2012-03-234-40/+78
| | | |
* | | | Merge.Stefan Krah2012-03-231-5/+9
|\ \ \ \
| * \ \ \ Null merge for backported fix.Vinay Sajip2012-03-230-0/+0
| |\ \ \ \ | | |/ / /
| | * | | Closes #14314: backported fix.Vinay Sajip2012-03-231-1/+2
| | | | |
| * | | | attempt to fix asyncore buildbot failureGiampaolo Rodola'2012-03-231-5/+9
| |\ \ \ \ | | |/ / /
| | * | | attempt to fix asyncore buildbot failureGiampaolo Rodola'2012-03-231-3/+7
| | | | |
* | | | | Fix formatting after removing tabs.Stefan Krah2012-03-232-4/+8
| | | | |
* | | | | Whitespace.Stefan Krah2012-03-232-102/+102
|/ / / /
* | | | Use the same exception hierarchy as decimal.py. FloatOperation now alsoStefan Krah2012-03-234-22/+107
| | | | | | | | | | | | | | | | | | | | inherits from TypeError. Cleanup in module initialization to make repeated import failures robust.
* | | | Merge with 3.2Kristján Valur Jónsson2012-03-231-1/+1
|\ \ \ \ | |/ / /
| * | | Fix typo when "PyObject*" was changed to "identifier"Kristján Valur Jónsson2012-03-231-1/+1
| | | |
* | | | mergeGiampaolo Rodola'2012-03-234-12/+33
|\ \ \ \
| * | | | Issue #13782: streamline argument type-checking in ET.ElementEli Bendersky2012-03-234-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#msg156586Giampaolo Rodola'2012-03-231-10/+12
|/ / / /
* | | | #14380: Make actual default match docs, fix __init__ order.R David Murray2012-03-232-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 unicodeR David Murray2012-03-235-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ónsson2012-03-221-0/+2
|\ \ \ \ | |/ / /
| * | | Issue #14387 : undefine 'small' so that it doesn't clash with Windows headers.Kristján Valur Jónsson2012-03-221-0/+2
| | | |
* | | | Fix indentation.Georg Brandl2012-03-221-2/+3
| | | |
* | | | Issue #14382: Ensure new unittest.test.testmock is installed.Ned Deily2012-03-221-1/+1
| | | | | | | | | | | | | | | | (Original patch by Vinay Sajip)
* | | | merge 3.2Benjamin Peterson2012-03-220-0/+0
|\ \ \ \ | |/ / /
| * | | issue 10340 - forgot to update Misc/NEWSGiampaolo Rodola'2012-03-221-0/+4
| | | |
* | | | fix #10340: properly handle EINVAL on OSX and also avoid to call ↵Giampaolo Rodola'2012-03-221-0/+4
| | | | | | | | | | | | | | | | handle_connect() in case of a disconnetected socket which is not meant to connect.