summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18393: Remove use of deprecated API on OSXRonald Oussoren2013-07-151-63/+1
| | | | | | | | | | | | The "Gestalt" function on OSX is deprecated (starting with OSX 10.8), remove its usage from the stdlib. The patch removes a number of private functions and a private module, but does not change the public API. The removed code was effectively dead, the platform module has used other code to fetch the OSX version for years and could only use on the Gestalt-based code as a fallback. That fallback can only trigger on broken OSX installs (that is, someone has removed parts of the system install)
* Merge: Closes #18464: fix typo in test name.R David Murray2013-07-151-1/+1
|\
| * Closes #18464: fix typo in test name.R David Murray2013-07-151-1/+1
| |
* | Close issue 17482: don't overwrite __wrapped__Nick Coghlan2013-07-152-4/+14
| |
* | mergeRaymond Hettinger2013-07-142-2/+2
|\ \ | |/
| * Issue #18432: Fix unintended API change in the sched moduleRaymond Hettinger2013-07-142-2/+2
| |
* | Merge with 3.3Terry Jan Reedy2013-07-131-1/+4
|\ \ | |/
| * Issue #18365: convert buildbot errors to skips.Terry Jan Reedy2013-07-131-1/+4
| |
* | Merge with 3.3Terry Jan Reedy2013-07-133-8/+88
|\ \ | |/
| * Issue #18279: Add tests for idlelib/RstripExtension.py. Original patch byTerry Jan Reedy2013-07-133-8/+88
| | | | | | | | | | Phil Webster. With that available, modify RstripExtension.py to stop deleting null slices, which caused a file to be marked as changed when it was not.
* | Merge: #18437: fix comment typo.R David Murray2013-07-131-1/+1
|\ \ | |/
| * #18437: fix comment typo.R David Murray2013-07-131-1/+1
| |
* | Merge with 3.3Terry Jan Reedy2013-07-132-8/+7
|\ \ | |/
| * Issue #18365: normalize whitespaceTerry Jan Reedy2013-07-132-8/+7
| |
* | Merge with 3.3Terry Jan Reedy2013-07-132-5/+449
|\ \ | |/
| * Issue #18365: Add mock Text class and test thereof versus tk.Text.Terry Jan Reedy2013-07-132-5/+449
| | | | | | | | Based on patches by Todd.Rovito and Phil Webster.
| * Merged upstream changes.Vinay Sajip2013-07-123-3/+70
| |\
* | \ Merged upstream changes.Vinay Sajip2013-07-123-3/+70
|\ \ \
| * \ \ Merge: #18431: Decode encoded words in atoms in new email parser.R David Murray2013-07-123-3/+70
| |\ \ \ | | | |/ | | |/|
| | * | #18431: Decode encoded words in atoms in new email parser.R David Murray2013-07-123-3/+70
| | | | | | | | | | | | | | | | | | | | | | | | There is more to be done here in terms of accepting RFC invalid input that some mailers accept, but this covers the valid RFC places where encoded words can occur in structured headers.
* | | | Closes #18435: Merged fix from 3.3.Vinay Sajip2013-07-121-7/+2
|\ \ \ \ | |/ / / |/| | / | | |/ | |/|
| * | Issue #18435: Replaced simple attribute container class Context with ↵Vinay Sajip2013-07-121-7/+2
| |/ | | | | | | types.SimpleNamespace.
* | Issue #18342: Use the repr of a module name for ``from ... importBrett Cannon2013-07-121-0/+8
| | | | | | | | | | | | | | | | ...`` when an ImportError occurs. Other cases had already been switched over to using the repr. Thanks to Tomasz Maćkowiak for the patch.
* | Issue #18415: Normalize what type of quotes are used with stringBrett Cannon2013-07-121-30/+30
| | | | | | | | | | | | | | constants in importlib._bootstrap. Along the way clean up from string interpolation to use the repr explicitly. Initial patch by Madison May.
* | Merge: #18044: Fix parsing of encoded words of the form =?utf8?q?=XX...?=R David Murray2013-07-114-40/+58
|\ \ | |/
| * #18044: Fix parsing of encoded words of the form =?utf8?q?=XX...?=R David Murray2013-07-114-40/+58
| | | | | | | | | | | | | | | | | | | | The problem was I was only checking for decimal digits after the third '?', not for *hex* digits :(. This changeset also fixes a couple of comment typos, deletes an unused function relating to encoded word parsing, and removed an invalid 'if' test from the folding function that was revealed by the tests written to validate this issue.
* | Issue #17872: Fix a segfault in marshal.load() when input stream returnsSerhiy Storchaka2013-07-111-0/+12
|\ \ | |/ | | | | more bytes than requested.
| * Issue #17872: Fix a segfault in marshal.load() when input stream returnsSerhiy Storchaka2013-07-111-0/+12
| | | | | | | | more bytes than requested.
* | Issue #18101: Tcl.split() now process strings nested in a tuple as itSerhiy Storchaka2013-07-111-0/+60
|\ \ | |/ | | | | | | | | do with byte strings. Added tests for Tcl.split() and Tcl.splitline().
| * Issue #18101: Tcl.split() now process strings nested in a tuple as itSerhiy Storchaka2013-07-111-0/+60
| | | | | | | | | | | | do with byte strings. Added tests for Tcl.split() and Tcl.splitline().
* | Issue #18338: `python --version` now prints version string to stdout, andSerhiy Storchaka2013-07-111-2/+4
| | | | | | | | not to stderr. Patch by Berker Peksag and Michael Dickens.
* | Merge #17987: properly document support.captured_xxx.R David Murray2013-07-112-9/+27
|\ \ | |/
| * #17987: properly document support.captured_xxx.R David Murray2013-07-112-9/+27
| | | | | | | | Patch by Dmi Baranov.
* | #18116: getpass no longer always falls back to stdin.R David Murray2013-07-102-52/+66
| | | | | | | | | | | | | | | | Also fixes a resource warning that occurred when the fallback is taken. Patch by Serhiy Storchaka. (We couldn't figure out how to write tests for this.)
* | Issue #18308: don't take the scope ID into account when comparing IPv6Charles-François Natali2013-07-091-1/+5
|\ \ | |/ | | | | addresses.
| * Issue #18308: don't take the scope ID into account when comparing IPv6Charles-François Natali2013-07-091-1/+5
| | | | | | | | addresses.
* | Add a spacing saving heuristic to deque's extend methodsRaymond Hettinger2013-07-091-2/+2
| |
* | Merge str.center tests from 3.3.Ezio Melotti2013-07-081-0/+9
|\ \ | |/
| * Add a couple of tests for str.center with non-ASCII chars.Ezio Melotti2013-07-081-0/+9
| |
* | #18106: refactor tests to use subtests and proper assert methods. Patch by ↵Ezio Melotti2013-07-071-35/+42
| | | | | | | | Vajrasky Kok.
* | #17198: merge with 3.3.Ezio Melotti2013-07-072-2/+21
|\ \ | |/
| * #17198: Fix a NameError in the dbm module. Patch by Valentina Mukhamedzhanova.Ezio Melotti2013-07-072-2/+21
| |
* | Merge #18013: Fix cgi.FieldStorage to parse the W3C sample form.Florent Xicluna2013-07-072-1/+47
|\ \ | |/
| * Issue #18013: Fix cgi.FieldStorage to parse the W3C sample form.Florent Xicluna2013-07-072-1/+47
| |
* | #18020: improve html.escape speed by an order of magnitude. Patch by Matt ↵Ezio Melotti2013-07-071-7/+6
| | | | | | | | Bryant.
* | (3.3->default) Cleanup of documentation change from #17860Ronald Oussoren2013-07-071-0/+3
|\ \ | |/ | | | | Reformulated the textual change, and applied it to the docstring as well.
| * Cleanup of documentation change from #17860Ronald Oussoren2013-07-071-0/+3
| | | | | | | | Reformulated the textual change, and applied it to the docstring as well.
* | merge for issue #18351.Brett Cannon2013-07-062-6/+40
|\ \ | |/
| * Issue #18351: Fix various issues withBrett Cannon2013-07-062-7/+41
| | | | | | | | | | | | | | | | | | importlib._bootstrap._get_sourcefile(). Thanks to its only use by the C API, it was never properly tested until now. Thanks to Neal Norwitz for discovering the bug and Madison May for the patch.
* | Issue #18364: Stop using the ImportError._not_found hack.Brett Cannon2013-07-061-9/+4
| | | | | | | | | | | | The private attribute was leaking out of importlib and led to at least one person noticing it. Switch to another hack which won't leak outside of importlib and is nearly as robust.