Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Fix test_time for adjusted/adjustable changes | Victor Stinner | 2012-06-12 | 1 | -6/+2 | |
| | | | ||||||
| * | | PEP 418: Rename adjusted attribute to adjustable in time.get_clock_info() result | Victor Stinner | 2012-06-12 | 6 | -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 structseq | Victor Stinner | 2012-06-12 | 2 | -62/+31 | |
| | | | ||||||
| * | | Fixed a typo in time_localtime() | Alexander Belopolsky | 2012-06-12 | 1 | -1/+1 | |
| | | | ||||||
| * | | 1) Fix signature of _mpd_qpow_uint(): contrary to the comment base is constant. | Stefan Krah | 2012-06-12 | 1 | -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 Oudkerk | 2012-06-11 | 3 | -7/+7 | |
| | | | | | | | | | | | | method | |||||
* | | | Update importlib.h by touching Lib/importlib/_bootstrap.py. | Brett Cannon | 2012-06-11 | 1 | -1850/+1850 | |
| | | | ||||||
* | | | Make a test easier to read. | Brett Cannon | 2012-06-11 | 1 | -4/+3 | |
|/ / | ||||||
* | | Dummy merge | Richard Oudkerk | 2012-06-11 | 0 | -0/+0 | |
|\ \ | |/ | ||||||
| * | Issue #10133: Make multiprocessing deallocate buffer if socket read fails. | Richard Oudkerk | 2012-06-11 | 2 | -13/+19 | |
| | | | | | | | | Patch by Hallvard B Furuseth. | |||||
* | | Close #13857: Added textwrap.indent() function (initial patch by Ezra | Nick Coghlan | 2012-06-11 | 6 | -7/+201 | |
| | | | | | | | | Berch) | |||||
* | | merge | Raymond Hettinger | 2012-06-11 | 5 | -37/+74 | |
|\ \ | ||||||
| * | | 1) Replace long-winded abort() construct by assert(). | Stefan Krah | 2012-06-11 | 1 | -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 Quinlan | 2012-06-11 | 1 | -2/+2 | |
| | | | ||||||
| * | | unittest.mock minor doc update | Michael Foord | 2012-06-10 | 1 | -1/+1 | |
| | | | ||||||
| * | | Adding patch.stopall method to unittest.mock | Michael Foord | 2012-06-10 | 3 | -4/+44 | |
| | | | ||||||
* | | | Fix indentation of method and attribute examples. | Raymond Hettinger | 2012-06-11 | 1 | -19/+17 | |
|/ / | ||||||
* | | Expand examples for ChainMap(). Improve markup. | Raymond Hettinger | 2012-06-10 | 1 | -38/+74 | |
| | | ||||||
* | | 1) State restrictions for the transform length. | Stefan Krah | 2012-06-10 | 1 | -5/+10 | |
| | | | | | | | | | | 2) Switch argument order to match the function signature of mpd_calloc() (cosmetic change, since the order is irrelevant). | |||||
* | | Small cleanup and optimization | Raymond Hettinger | 2012-06-10 | 1 | -2/+2 | |
| | | ||||||
* | | Note that the _asdict() method is outdated | Raymond Hettinger | 2012-06-10 | 1 | -474/+475 | |
| | | ||||||
* | | Minor reformatting (wrap fat lines, etc.) and create an __main__ file | Raymond Hettinger | 2012-06-10 | 2 | -51/+53 | |
| | | ||||||
* | | Fix exception when calling reset_mock on a mock created with autospec | Michael Foord | 2012-06-09 | 3 | -0/+18 | |
| | | ||||||
* | | Add one extra comparison to the _mpd_shortmul() case to avoid repetitive code. | Stefan Krah | 2012-06-09 | 1 | -16/+8 | |
| | | ||||||
* | | Now that Defects are Exception subclasses, call super. | R David Murray | 2012-06-09 | 1 | -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 Krah | 2012-06-08 | 1 | -4/+17 | |
| | | ||||||
* | | Relax datetime.timestamp() test around DST change | Alexander Belopolsky | 2012-06-08 | 1 | -1/+1 | |
| | | ||||||
* | | Relax datetime.timestamp() test around DST change | Alexander Belopolsky | 2012-06-08 | 1 | -3/+3 | |
| | | ||||||
* | | Merge. | Stefan Krah | 2012-06-08 | 5 | -12/+130 | |
|\ \ | ||||||
| * | | Issue #2736: Added datetime.timestamp() method. | Alexander Belopolsky | 2012-06-08 | 5 | -12/+130 | |
| | | | ||||||
* | | | 1) List relative error for _mpd_qln10(). | Stefan Krah | 2012-06-08 | 1 | -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.IPv6Network | Hynek Schlawack | 2012-06-08 | 1 | -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, #12510 | Terry Jan Reedy | 2012-06-08 | 3 | -75/+137 | |
|\ \ | |/ | ||||||
| * | Issue #12510: Revise and triple # of calltip tests, with an eye to unittest | Terry Jan Reedy | 2012-06-07 | 3 | -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 Oudkerk | 2012-06-07 | 4 | -6/+55 | |
|\ \ | |/ | ||||||
| * | Issue #13854: Properly handle non-integer, non-string arg to SystemExit | Richard Oudkerk | 2012-06-06 | 3 | -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 correctly | Richard Oudkerk | 2012-06-06 | 3 | -3/+19 | |
| | | | | | | | | Initial patch by mouad | |||||
* | | Issue #11823: disassembly now shows argument counts on calls with keyword args | Alexander Belopolsky | 2012-06-07 | 4 | -4/+17 | |
| | | ||||||
* | | 1) The overflow detection in mpd_qln() has a surprising number of case splits. | Stefan Krah | 2012-06-07 | 1 | -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.2 | Nick Coghlan | 2012-06-07 | 1 | -0/+7 | |
|\ \ | |/ | ||||||
| * | Nudge readers towards a more accurate mental model for loop else clauses | Nick Coghlan | 2012-06-07 | 1 | -0/+7 | |
| | | ||||||
* | | Rearrange code to beat an optimizer bug affecting Release x64 on windows | Kristján Valur Jónsson | 2012-06-06 | 1 | -12/+10 | |
| | | | | | | | | with VS2010sp1 | |||||
* | | 1) Add error analysis comments to mpd_qln10() and _mpd_qln(). | Stefan Krah | 2012-06-06 | 1 | -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 Stinner | 2012-06-05 | 1 | -2/+5 | |
| | | | | | | | | preferred locale encoding | |||||
* | | Signal condition variables with the mutex held. Destroy condition variables | Kristján Valur Jónsson | 2012-06-05 | 2 | -10/+14 | |
| | | | | | | | | before their mutexes. | |||||
* | | Fixes issue #15000: support the odd x32 abi on posixsubprocess's system call. | Gregory P. Smith | 2012-06-05 | 2 | -0/+12 | |
|\ \ | |/ | ||||||
| * | Fixes issue #15000: support the odd x32 abi on posixsubprocess's system call. | Gregory P. Smith | 2012-06-05 | 2 | -0/+9 | |
| | | ||||||
* | | Add test for multiprocessing.Conditon.wait() and changset 3baeb5e13dd2 | Richard Oudkerk | 2012-06-05 | 1 | -0/+28 | |
| | | ||||||
* | | Close #11022: TextIOWrapper doesn't call locale.setlocale() anymore | Victor Stinner | 2012-06-05 | 8 | -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 coverage | Hynek Schlawack | 2012-06-05 | 2 | -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. |