Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | | Issue #14711: os.stat_float_times() has been deprecated. | Victor Stinner | 2012-06-04 | 4 | -4/+16 |
| | | |||||
* | | Add a function lzma.open(), to match gzip.open() and bz2.open(). | Nadeem Vawda | 2012-06-04 | 4 | -4/+180 |
| | | |||||
* | | Allow LZMAFile to accept modes with a "b" suffix. | Nadeem Vawda | 2012-06-04 | 4 | -9/+30 |
| | | |||||
* | | Simplify usage of LZMAFile's fileobj support, like with BZ2File. | Nadeem Vawda | 2012-06-04 | 5 | -143/+133 |
| | | |||||
* | | Add a function bz2.open(), to match gzip.open(). | Nadeem Vawda | 2012-06-04 | 4 | -16/+184 |
| | | |||||
* | | Clarify acceptable values for BZ2File.__init__'s mode argument. | Nadeem Vawda | 2012-06-04 | 2 | -5/+7 |
| | | |||||
* | | Make BZ2File's fileobj support easier to use. | Nadeem Vawda | 2012-06-04 | 5 | -31/+49 |
| | | | | | | | | | | The fileobj argument was added during the 3.3 development cycle, so this change does not break backward compatibility with 3.2. | ||||
* | | Add fileobj support to gzip.open(). | Nadeem Vawda | 2012-06-04 | 4 | -10/+38 |
| | | |||||
* | | Issue #14993: Use standard "unsigned char" instead of a unsigned char bitfield | Victor Stinner | 2012-06-04 | 3 | -17/+15 |
| | | |||||
* | | #8739: fix omission of DEBUGSTREAM reset in new test in test_smtpd. | R David Murray | 2012-06-04 | 1 | -0/+2 |
| | | | | | | | | | | This clears up an error in detected by refleak mode that showed up when test_smtplib was run after test_smtpd in the same refleak run. | ||||
* | | Prevent handle leak if CreateProcess() fails in multiprocessing | Richard Oudkerk | 2012-06-04 | 1 | -25/+27 |
| | | |||||
* | | Fix potential NameError in multiprocessing.Condition.wait() | Richard Oudkerk | 2012-06-04 | 1 | -2/+1 |
| | | |||||
* | | Make Finalize reserve a reference to os.getpid in case called at shutdown | Richard Oudkerk | 2012-06-04 | 1 | -2/+2 |
| | | |||||
* | | Add namespaceobject.h and namespaceobject.c to pythoncore.vcxproj | Richard Oudkerk | 2012-06-04 | 1 | -1/+3 |
| | | |||||
* | | #14814: Remove dead code from ipaddress | Hynek Schlawack | 2012-06-04 | 2 | -38/+23 |
| | | | | | | | | | | _BaseNetwork contained (faulty) methods for creating string representations. I've fixed them and put them to use by eliminating identical overrides. | ||||
* | | Whitespace normalization | Barry Warsaw | 2012-06-04 | 1 | -1/+1 |
| | | |||||
* | | PEP 421 requires that .name be lower case. | Barry Warsaw | 2012-06-04 | 1 | -0/+4 |
| | | |||||
* | | A few documentation improvements, spurred on by Brett's review. | Barry Warsaw | 2012-06-04 | 1 | -10/+13 |
| | |