Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | merge 3.2 | Martin v. Löwis | 2012-06-03 | 3 | -3/+3 |
|\ \ | |/ | |||||
| * | PEP 3131: support non-ASCII characters in auto-completion of identifiers. | Martin v. Löwis | 2012-06-03 | 2 | -2/+2 |
| | | |||||
| * | Do not try to insert control characters. | Martin v. Löwis | 2012-06-03 | 1 | -1/+1 |
| | | |||||
* | | Drop unused constant. | Martin v. Löwis | 2012-06-03 | 1 | -3/+0 |
| | | |||||
* | | Merge 3.2: issue #14937. | Martin v. Löwis | 2012-06-03 | 3 | -3/+22 |
|\ \ | |/ | |||||
| * | Issue #14937: Perform auto-completion of filenames in strings even for ↵ | Martin v. Löwis | 2012-06-03 | 3 | -2/+24 |
| | | | | | | | | non-ASCII filenames. | ||||
* | | merge heads | Senthil Kumaran | 2012-06-03 | 1 | -15/+17 |
|\ \ | |||||
| * \ | Merge with 3.2 #12510 | Terry Jan Reedy | 2012-06-03 | 1 | -15/+17 |
| |\ \ | | |/ | |||||
| | * | Issue 12510: Expand 2 bare excepts. Improve comments. Change deceptive name | Terry Jan Reedy | 2012-06-03 | 1 | -15/+17 |
| | | | | | | | | | | | | | | | | | | 'name' to 'expression' as the latter is what the string actually represents. The bug in this issue was only catching NameError and AttributeError when evaluating an expression that was not necessarily a name. | ||||
* | | | Issue 14989: http.server --cgi option can enable the CGI http server. | Senthil Kumaran | 2012-06-03 | 1 | -7/+15 |
|/ / | |||||
* | | Issue #14987: Add a missing import statement | Brett Cannon | 2012-06-03 | 1 | -0/+1 |
| | | |||||
* | | Merge with 3.2 #10365 | Terry Jan Reedy | 2012-06-03 | 1 | -16/+13 |
|\ \ | |/ | |||||
| * | Issue 10365: Add and replace comments; condense defaulted attribute access. | Terry Jan Reedy | 2012-06-03 | 1 | -16/+13 |
| | | | | | | | | Code patch by Roger Serwy. | ||||
* | | #1079: Fix parsing of encoded words. | R David Murray | 2012-06-02 | 4 | -19/+109 |
| | | | | | | | | | | | | | | | | | | This is a behavior change: before this leading and trailing spaces were stripped from ASCII parts, now they are preserved. Without this fix we didn't parse the examples in the RFC correctly, so I think breaking backward compatibility here is justified. Patch by Ralf Schlatterbeck. | ||||
* | | Issue #14926: merge with 3.2 | Sandro Tosi | 2012-06-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #14926: fix docstring highlight | Sandro Tosi | 2012-06-02 | 1 | -1/+1 |
| | | |||||
* | | Issue #14814: minor spelling fixes | Sandro Tosi | 2012-06-02 | 1 | -4/+4 |
| | | |||||
* | | Fix sporadic failure of test_time.test_process_time() on Windows | Victor Stinner | 2012-06-01 | 1 | -2/+5 |
| | | | | | | | | Use a threshold of 20 ms instead of 10 ms. | ||||
* | | #14814: Fix errror message creation in ipaddress.collapse_addresses | Hynek Schlawack | 2012-06-01 | 2 | -5/+12 |
| | | |||||
* | | Close #14969: Improve the handling of exception chaining in contextlib.ExitStack | Nick Coghlan | 2012-06-01 | 2 | -14/+31 |
| | | |||||
* | | #14814: Remove 2.x's new-style classes syntax from ipaddress | Hynek Schlawack | 2012-06-01 | 1 | -3/+3 |
| | | |||||
* | | Issue #14007: implement doctype() method calling in XMLParser of _elementtree. | Eli Bendersky | 2012-06-01 | 1 | -1/+18 |
| | | | | | | | | Includes exposing a doctype handler from expat through pyexpat. | ||||
* | | Issue #14007: make XMLParser a real subclassable type exported from ↵ | Eli Bendersky | 2012-06-01 | 1 | -0/+29 |
| | | | | | | | | _elementtree. +cleanups | ||||
* | | #14814: Remove stale __hex__ method from ipaddress | Hynek Schlawack | 2012-05-31 | 1 | -3/+0 |
| | | | | | | | | Obsolete 2.x method. | ||||
* | | Don't use metaclasses when class decorators can do the job. | R David Murray | 2012-05-31 | 6 | -67/+66 |
| | | | | | | | | | | Thanks to Nick Coghlan for pointing out that I'd forgotten about class decorators. | ||||
* | | Issue #14962: merge | Ned Deily | 2012-05-31 | 1 | -0/+5 |
|\ \ | |/ |