summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Relax datetime.timestamp() test around DST changeAlexander Belopolsky2012-06-081-1/+1
|
* Relax datetime.timestamp() test around DST changeAlexander Belopolsky2012-06-081-3/+3
|
* Issue #2736: Added datetime.timestamp() method.Alexander Belopolsky2012-06-082-1/+46
|
* #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-082-70/+131
|\
| * Issue #12510: Revise and triple # of calltip tests, with an eye to unittestTerry Jan Reedy2012-06-072-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 Oudkerk2012-06-073-6/+49
|\ \ | |/
| * Issue #13854: Properly handle non-integer, non-string arg to SystemExitRichard Oudkerk2012-06-062-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 correctlyRichard Oudkerk2012-06-062-3/+16
| | | | | | | | Initial patch by mouad
| * Revert the modification of e.strerror in 3.2 as that kind of change couldGregory P. Smith2012-06-031-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 argsAlexander Belopolsky2012-06-073-4/+15
| |
* | 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-053-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 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-041-2/+6
| |
* | Add a function lzma.open(), to match gzip.open() and bz2.open().Nadeem Vawda2012-06-042-2/+149
| |
* | Allow LZMAFile to accept modes with a "b" suffix.Nadeem Vawda2012-06-042-6/+23
| |
* | Simplify usage of LZMAFile's fileobj support, like with BZ2File.Nadeem Vawda2012-06-043-132/+120
| |
* | Add a function bz2.open(), to match gzip.open().Nadeem Vawda2012-06-042-14/+150
| |
* | Clarify acceptable values for BZ2File.__init__'s mode argument.Nadeem Vawda2012-06-041-2/+2
| |
* | Make BZ2File's fileobj support easier to use.Nadeem Vawda2012-06-043-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 Vawda2012-06-042-1/+25
| |
* | #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
| |
* | #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
| |
* | Trunk merge.Barry Warsaw2012-06-045-22/+65
|\ \
| * | #14814: Use correct comparison for IP addressesHynek Schlawack2012-06-042-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 Hettinger2012-06-041-19/+24
| | | | | | | | | | | | value.
| * | Fixes Issue #14992: os.makedirs(path, exist_ok=True) would raise an OSErrorGregory P. Smith2012-06-032-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 OSErrorGregory P. Smith2012-06-032-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 Warsaw2012-06-033-1/+161
|/ / | | | | | | Issue 14673: Add sys.implementation
* | #2658: Add test for issue fixed by fix for #1079.R David Murray2012-06-031-0/+10
| |
* | merge 3.2Martin v. Löwis2012-06-033-3/+3
|\ \ | |/
| * PEP 3131: support non-ASCII characters in auto-completion of identifiers.Martin v. Löwis2012-06-032-2/+2
| |
| * Do not try to insert control characters.Martin v. Löwis2012-06-031-1/+1
| |
* | Drop unused constant.Martin v. Löwis2012-06-031-3/+0
| |
* | Merge 3.2: issue #14937.Martin v. Löwis2012-06-033-3/+22
|\ \ | |/
| * Issue #14937: Perform auto-completion of filenames in strings even for ↵Martin v. Löwis2012-06-033-2/+24
| | | | | | | | non-ASCII filenames.
* | merge headsSenthil Kumaran2012-06-031-15/+17
|\ \
| * \ Merge with 3.2 #12510Terry Jan Reedy2012-06-031-15/+17
| |\ \ | | |/
| | * Issue 12510: Expand 2 bare excepts. Improve comments. Change deceptive nameTerry Jan Reedy2012-06-031-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 Kumaran2012-06-031-7/+15
|/ /
* | Issue #14987: Add a missing import statementBrett Cannon2012-06-031-0/+1
| |
* | Merge with 3.2 #10365Terry Jan Reedy2012-06-031-16/+13
|\ \ | |/
| * Issue 10365: Add and replace comments; condense defaulted attribute access.Terry Jan Reedy2012-06-031-16/+13
| | | | | | | | Code patch by Roger Serwy.
* | #1079: Fix parsing of encoded words.R David Murray2012-06-024-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.