Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #13841: Make child processes exit using sys.exit() on Windows | Richard Oudkerk | 2012-06-14 | 5 | -55/+52 |
| | |||||
* | merge 3.2 | Martin v. Löwis | 2012-06-14 | 1 | -1/+1 |
|\ | |||||
| * | Issue #14937: Fix typo. Patch by Roger Serwy. | Martin v. Löwis | 2012-06-14 | 1 | -1/+1 |
| | | |||||
* | | Issue #1667546: On platforms supporting tm_zone and tm_gmtoff fields | Alexander Belopolsky | 2012-06-14 | 3 | -6/+58 |
| | | | | | | | | | | | | in struct tm, time.struct_time objects returned by time.gmtime(), time.localtime() and time.strptime() functions now have tm_zone and tm_gmtoff attributes. Original patch by Paul Boddie. | ||||
* | | 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 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | | Issue #3518: Remove references to non-existent BaseManager.from_address() | Richard Oudkerk | 2012-06-11 | 1 | -4/+0 |
| | | | | | | | | method | ||||
* | | Close #13857: Added textwrap.indent() function (initial patch by Ezra | Nick Coghlan | 2012-06-11 | 2 | -3/+158 |
| | | | | | | | | Berch) | ||||
* | | #15015: Fix accessing an non-existing attribute. | Brian Quinlan | 2012-06-11 | 1 | -2/+2 |
| | | |||||
* | | Adding patch.stopall method to unittest.mock | Michael Foord | 2012-06-10 | 2 | -2/+38 |
| | | |||||
* | | Small cleanup and optimization | Raymond Hettinger | 2012-06-10 | 1 | -2/+2 |
| | | |||||
* | | 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 |
| | | |||||
* | | 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. | ||||
* | | 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 |
| | | |||||
* | | Issue #2736: Added datetime.timestamp() method. | Alexander Belopolsky | 2012-06-08 | 2 | -1/+46 |
| | | |||||
* | | #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 | 2 | -70/+131 |
|\ \ | |/ | |||||
| * | Issue #12510: Revise and triple # of calltip tests, with an eye to unittest | Terry Jan Reedy | 2012-06-07 | 2 | -70/+131 |
| | | | | | | | | | | | | 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 | 3 | -6/+49 |
|\ \ | |/ | |||||
| * | Issue #13854: Properly handle non-integer, non-string arg to SystemExit | Richard Oudkerk | 2012-06-06 | 2 | -3/+33 |
| | | | | | | | | | | 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 | 2 | -3/+16 |
| | | | | | | | | Initial patch by mouad | ||||
| * | Revert the modification of e.strerror in 3.2 as that kind of change could | Gregory P. Smith | 2012-06-03 | 1 | -3/+0 |
| | | | | | | | | break someone's over specified test that depends on the exact error message. | ||||
* | | Issue #11823: disassembly now shows argument counts on calls with keyword args | Alexander Belopolsky | 2012-06-07 | 3 | -4/+15 |
| | | |||||
* | | 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 | 3 | -19/+60 |
| | | | | | | | | | | | | | | | | | | | | 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 | 1 | -2/+6 |
| | | |||||
* | | Add a function lzma.open(), to match gzip.open() and bz2.open(). | Nadeem Vawda | 2012-06-04 | 2 | -2/+149 |
| | | |||||
* | | Allow LZMAFile to accept modes with a "b" suffix. | Nadeem Vawda | 2012-06-04 | 2 | -6/+23 |
| | | |||||
* | | Simplify usage of LZMAFile's fileobj support, like with BZ2File. | Nadeem Vawda | 2012-06-04 | 3 | -132/+120 |
| | | |||||
* | | Add a function bz2.open(), to match gzip.open(). | Nadeem Vawda | 2012-06-04 | 2 | -14/+150 |
| | | |||||
* | | Clarify acceptable values for BZ2File.__init__'s mode argument. | Nadeem Vawda | 2012-06-04 | 1 | -2/+2 |
| | | |||||
* | | Make BZ2File's fileobj support easier to use. | Nadeem Vawda | 2012-06-04 | 3 | -24/+37 |
| | | | | | | | | | | 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 | 2 | -1/+25 |
| | | |||||
* | | #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 |
| | | |||||
* | | #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 |
| | | |||||
* | | Trunk merge. | Barry Warsaw | 2012-06-04 | 5 | -22/+65 |
|\ \ | |||||
| * | | #14814: Use correct comparison for IP addresses | Hynek Schlawack | 2012-06-04 | 2 | -1/+2 |
| | | | | | | | | | | | | | | | ipaddress._BaseV4.is_unspecified() compared IP addresses using "in" which fails. | ||||
| * | | Separate key creation logic from the sequence class that memoizes its hash ↵ | Raymond Hettinger | 2012-06-04 | 1 | -19/+24 |
| | | | | | | | | | | | | value. | ||||
| * | | Fixes Issue #14992: os.makedirs(path, exist_ok=True) would raise an OSError | Gregory P. Smith | 2012-06-03 | 2 | -2/+39 |
| |\ \ | | |/ | | | | | | | | | | | | | when the path existed and had the S_ISGID mode bit set when it was not explicitly asked for. This is no longer an exception as mkdir cannot control if the OS sets that bit for it or not. | ||||
| | * | Fixes Issue #14992: os.makedirs(path, exist_ok=True) would raise an OSError | Gregory P. Smith | 2012-06-03 | 2 | -8/+48 |
| | | | | | | | | | | | | | | | | | | when the path existed and had the S_ISGID mode bit set when it was not explicitly asked for. This is no longer an exception as mkdir cannot control if the OS sets that bit for it or not. | ||||
* | | | Eric Snow's implementation of PEP 421. | Barry Warsaw | 2012-06-03 | 3 | -1/+161 |
|/ / | | | | | | | Issue 14673: Add sys.implementation | ||||
* | | #2658: Add test for issue fixed by fix for #1079. | R David Murray | 2012-06-03 | 1 | -0/+10 |
| | |