summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Issue #14711: os.stat_float_times() has been deprecated.Victor Stinner2012-06-044-4/+16
| |
* | Add a function lzma.open(), to match gzip.open() and bz2.open().Nadeem Vawda2012-06-044-4/+180
| |
* | Allow LZMAFile to accept modes with a "b" suffix.Nadeem Vawda2012-06-044-9/+30
| |
* | Simplify usage of LZMAFile's fileobj support, like with BZ2File.Nadeem Vawda2012-06-045-143/+133
| |
* | Add a function bz2.open(), to match gzip.open().Nadeem Vawda2012-06-044-16/+184
| |
* | Clarify acceptable values for BZ2File.__init__'s mode argument.Nadeem Vawda2012-06-042-5/+7
| |
* | Make BZ2File's fileobj support easier to use.Nadeem Vawda2012-06-045-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 Vawda2012-06-044-10/+38
| |
* | Issue #14993: Use standard "unsigned char" instead of a unsigned char bitfieldVictor Stinner2012-06-043-17/+15
| |
* | #8739: fix omission of DEBUGSTREAM reset in new test in test_smtpd.R David Murray2012-06-041-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 multiprocessingRichard Oudkerk2012-06-041-25/+27
| |
* | Fix potential NameError in multiprocessing.Condition.wait()Richard Oudkerk2012-06-041-2/+1
| |
* | Make Finalize reserve a reference to os.getpid in case called at shutdownRichard Oudkerk2012-06-041-2/+2
| |
* | Add namespaceobject.h and namespaceobject.c to pythoncore.vcxprojRichard Oudkerk2012-06-041-1/+3
| |
* | #14814: Remove dead code from ipaddressHynek Schlawack2012-06-042-38/+23
| | | | | | | | | | _BaseNetwork contained (faulty) methods for creating string representations. I've fixed them and put them to use by eliminating identical overrides.
* | Whitespace normalizationBarry Warsaw2012-06-041-1/+1
| |
* | PEP 421 requires that .name be lower case.Barry Warsaw2012-06-041-0/+4
| |
* | A few documentation improvements, spurred on by Brett's review.Barry Warsaw2012-06-041-10/+13
| |