summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Fix test_time for adjusted/adjustable changesVictor Stinner2012-06-121-6/+2
| | |
| * | PEP 418: Rename adjusted attribute to adjustable in time.get_clock_info() resultVictor Stinner2012-06-126-37/+30
| | | | | | | | | | | | | | | | | | | | | | | | Fix also its value on Windows and Linux according to its documentation: "adjustable" indicates if the clock *can be* adjusted, not if it is or was adjusted. In most cases, it is not possible to indicate if a clock is or was adjusted.
| * | time.get_clock_info() uses a namespace instead of structseqVictor Stinner2012-06-122-62/+31
| | |
| * | Fixed a typo in time_localtime()Alexander Belopolsky2012-06-121-1/+1
| | |
| * | 1) Fix signature of _mpd_qpow_uint(): contrary to the comment base is constant.Stefan Krah2012-06-121-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | 2) Abort the loop for all specials, not only infinity. 3) Make the function more general and distinguish between zero clamping and folding down the exponent. The latter case is currently handled by setting context->clamp to 0 before calling the function.
| * | Issue #3518: Remove references to non-existent BaseManager.from_address()Richard Oudkerk2012-06-113-7/+7
| | | | | | | | | | | | method
* | | Update importlib.h by touching Lib/importlib/_bootstrap.py.Brett Cannon2012-06-111-1850/+1850
| | |
* | | Make a test easier to read.Brett Cannon2012-06-111-4/+3
|/ /
* | Dummy mergeRichard Oudkerk2012-06-110-0/+0
|\ \ | |/
| * Issue #10133: Make multiprocessing deallocate buffer if socket read fails.Richard Oudkerk2012-06-112-13/+19
| | | | | | | | Patch by Hallvard B Furuseth.
* | Close #13857: Added textwrap.indent() function (initial patch by EzraNick Coghlan2012-06-116-7/+201
| | | | | | | | Berch)
* | mergeRaymond Hettinger2012-06-115-37/+74
|\ \
| * | 1) Replace long-winded abort() construct by assert().Stefan Krah2012-06-111-31/+28
| | | | | | | | | | | | | | | 2) Remove micro optimization (inline checking for NaN before calling mpd_qcheck_nans()) that probably has no benefit in this case.
| * | #15015: Fix accessing an non-existing attribute.Brian Quinlan2012-06-111-2/+2
| | |
| * | unittest.mock minor doc updateMichael Foord2012-06-101-1/+1
| | |
| * | Adding patch.stopall method to unittest.mockMichael Foord2012-06-103-4/+44
| | |
* | | Fix indentation of method and attribute examples.Raymond Hettinger2012-06-111-19/+17
|/ /
* | Expand examples for ChainMap(). Improve markup.Raymond Hettinger2012-06-101-38/+74
| |
* | 1) State restrictions for the transform length.Stefan Krah2012-06-101-5/+10
| | | | | | | | | | 2) Switch argument order to match the function signature of mpd_calloc() (cosmetic change, since the order is irrelevant).
* | Small cleanup and optimizationRaymond Hettinger2012-06-101-2/+2
| |
* | Note that the _asdict() method is outdatedRaymond Hettinger2012-06-101-474/+475
| |
* | Minor reformatting (wrap fat lines, etc.) and create an __main__ fileRaymond Hettinger2012-06-102-51/+53
| |
* | Fix exception when calling reset_mock on a mock created with autospecMichael Foord2012-06-093-0/+18
| |
* | Add one extra comparison to the _mpd_shortmul() case to avoid repetitive code.Stefan Krah2012-06-091-16/+8
| |
* | Now that Defects are Exception subclasses, call super.R David Murray2012-06-091-0/+5
| | | | | | | | | | | | | | | | The behavior of MessageDefect is legacy behavior. The chances anyone is actually using the undocumented 'line' attribute is low, but it costs little to retain backward compatibility. Although one of the costs is having to restore normal exception behavior in HeaderDefect. On the other hand, I'll probably add some specialized behavior there later.
* | Enumerate all cases in the overflow detection strategy in mpd_qlog10().Stefan Krah2012-06-081-4/+17
| |
* | Relax datetime.timestamp() test around DST changeAlexander Belopolsky2012-06-081-1/+1
| |
* | Relax datetime.timestamp() test around DST changeAlexander Belopolsky2012-06-081-3/+3
| |
* | Merge.Stefan Krah2012-06-085-12/+130
|\ \
| * | Issue #2736: Added datetime.timestamp() method.Alexander Belopolsky2012-06-085-12/+130
| | |
* | | 1) List relative error for _mpd_qln10().Stefan Krah2012-06-081-9/+29
|/ / | | | | | | | | | | | | 2) Add rigorous error analysis to _mpd_qlog10 (ACL2 proofs exist). 3) Use the relative error as a basis for the interval generation in the correction loop (same as in _mpd_qln()).
* | #14814: Remove redundant code from ipaddress.IPv6NetworkHynek Schlawack2012-06-081-13/+1
| | | | | | | | | | | | The strict checks and netmask computing don't make sense if constructed with a ALL_ONES mask based on addresses. Also fix a bug due to mis-indentation of a return statement in the same code block.
* | Merge from 3.2, #12510Terry Jan Reedy2012-06-083-75/+137
|\ \ | |/
| * Issue #12510: Revise and triple # of calltip tests, with an eye to unittestTerry Jan Reedy2012-06-073-76/+138
| | | | | | | | | | | | use. Make the get_entity 'method' a module function as it did not use 'self'. Delete buggy _find_constructor function that is not needed, at least in 3.x. Revise get_argspec so all tests pass. Add and fix NEWS entries.
* | Merge fixes for #13854 and #12157.Richard Oudkerk2012-06-074-6/+55
|\ \ | |/
| * Issue #13854: Properly handle non-integer, non-string arg to SystemExitRichard Oudkerk2012-06-063-3/+36
| | | | | | | | | | Previously multiprocessing only expected int or str. It also wrongly used an exit code of 1 when the argument was a string instead of zero.
| * Issue #12157: pool.map() does not handle empty iterable correctlyRichard Oudkerk2012-06-063-3/+19
| | | | | | | | Initial patch by mouad
* | Issue #11823: disassembly now shows argument counts on calls with keyword argsAlexander Belopolsky2012-06-074-4/+17
| |
* | 1) The overflow detection in mpd_qln() has a surprising number of case splits.Stefan Krah2012-06-071-7/+19
| | | | | | | | | | | | | | List all of them in the comment. 2) Use the recently stated relative error of _mpd_qln() to generate the interval for the exact value of ln(x). See also the comment in mpd_qexp().
* | Merge from 3.2Nick Coghlan2012-06-071-0/+7
|\ \ | |/
| * Nudge readers towards a more accurate mental model for loop else clausesNick Coghlan2012-06-071-0/+7
| |
* | Rearrange code to beat an optimizer bug affecting Release x64 on windowsKristján Valur Jónsson2012-06-061-12/+10
| | | | | | | | with VS2010sp1
* | 1) Add error analysis comments to mpd_qln10() and _mpd_qln().Stefan Krah2012-06-061-31/+96
| | | | | | | | 2) Simplify the precision adjustment code for values in [0.900, 1.15].
* | Close #6203: Document that Python 3 sets LC_CTYPE at startup to the user's ↵Victor Stinner2012-06-051-2/+5
| | | | | | | | preferred locale encoding
* | Signal condition variables with the mutex held. Destroy condition variablesKristján Valur Jónsson2012-06-052-10/+14
| | | | | | | | before their mutexes.
* | Fixes issue #15000: support the odd x32 abi on posixsubprocess's system call.Gregory P. Smith2012-06-052-0/+12
|\ \ | |/
| * Fixes issue #15000: support the odd x32 abi on posixsubprocess's system call.Gregory P. Smith2012-06-052-0/+9
| |
* | Add test for multiprocessing.Conditon.wait() and changset 3baeb5e13dd2Richard Oudkerk2012-06-051-0/+28
| |
* | Close #11022: TextIOWrapper doesn't call locale.setlocale() anymoreVictor Stinner2012-06-058-27/+82
| | | | | | | | | | | | | | | | | | | | open() and io.TextIOWrapper are now calling locale.getpreferredencoding(False) instead of locale.getpreferredencoding() in text mode if the encoding is not specified. Don't change temporary the locale encoding using locale.setlocale(), use the current locale encoding instead of the user preferred encoding. Explain also in open() documentation that locale.getpreferredencoding(False) is called if the encoding is not specified.
* | #14814: ipaddress: refactor dup code, minor janitoring, bump coverageHynek Schlawack2012-06-052-140/+207
| | | | | | | | | | | | | | | | - remove duplicate netmask/hostmask code - make two ifs more pythonic - remove packed property for networks - some minor pep8 stuff - Test coverage is now at 97%, the rest are mostly unreachable safeguards.