summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #26754: PyUnicode_FSDecoder() accepted a filename argument encoded asSerhiy Storchaka2016-06-184-0/+44
| | | | an iterable of integers. Now only strings and byte-like objects are accepted.
* Issue #27343: Fixed error message for conflicting initializers of ↵Serhiy Storchaka2016-06-181-3/+3
| | | | ctypes.Structure.
* Issue #27048: Prevents distutils failing on Windows when environment ↵Steve Dower2016-06-172-4/+20
| | | | variables contain non-ASCII characters
* Issue #27238: Got rid of bare excepts in the turtle module. Original patchSerhiy Storchaka2016-06-141-9/+9
| | | | by Jelle Zijlstra.
* Issue #27123: When an exception is raised within the context beingGregory P. Smith2016-06-142-0/+31
| | | | | | | managed by a contextlib.ExitStack() and one of the exit stack generators catches and raises it in a chain, do not re-raise the original exception when exiting, let the new chained one through. This avoids the PEP 479 bug described in issue25782.
* Issue #16182: One more check for set_pre_input_hook()Martin Panter2016-06-141-1/+1
|
* Mark tests as skipped when a SQLite version is not supportedBerker Peksag2016-06-144-16/+9
|
* Remove empty setUp and tearDown methods from sqlite3 testsBerker Peksag2016-06-142-18/+0
| | | | | They are not used as base classes by another tests so they can safely be removed.
* Issue #26386: Fixed ttk.TreeView selection operations with item id'sSerhiy Storchaka2016-06-142-1/+54
| | | | containing spaces.
* Issue #16182: set_pre_input_hook() may not exist; document, and update testMartin Panter2016-06-141-7/+15
|
* Issue #16182: Attempted workarounds for Apple EditlineMartin Panter2016-06-141-5/+13
|
* Issue #27245: IDLE: Cleanly delete custom themes and key bindings.Terry Jan Reedy2016-06-141-2/+6
| | | | | Previously, when IDLE was started from a console or by import, a cascade of warnings was emitted. Patch by Serhiy Storchaka.
* Issue #22636: Handle OSError from subprocess, e.g. if command not foundMartin Panter2016-06-141-19/+35
|
* Issue #22636: avoid using a shell in the ctypes.util moduleMartin Panter2016-06-142-44/+82
| | | | | | | | | | | | | Replace os.popen() with subprocess.Popen. Based on patch by Victor Stinner. If the "gcc", "cc" or "objdump" command is not available, the code was supposed to raise an OSError exception. But there was a bug in the code. The shell code returns the exit code 10 if the required command is missing, and the code tries to check for the status 10. The problem is that os.popen() doesn't return the exit code directly, but a status which should be processed by os.WIFEXITED() and os.WEXITSTATUS(). In practice, the exception was never raised. The OSError exception was not documented and ctypes.util.find_library() is expected to return None if the library is not found.
* Issue #16182: Fix readline begidx, endidx, and use locale encodingMartin Panter2016-06-141-4/+137
| | | | Based on patch by Serhiy Storchaka.
* Issue #27136: Change test to use ::1 for better OS X Tiger compatibilityMartin Panter2016-06-131-4/+4
|
* Replace more boilerplate code with modern unittest features in sqlite3 testsBerker Peksag2016-06-133-13/+6
|
* Merge 3.5.2rc1 with current 3.5 branch.Larry Hastings2016-06-1316-266/+169
|\
| * Modernize sqlite3 testsBerker Peksag2016-06-126-257/+62
| | | | | | | | | | Update current tests that use old pattern with assertRaises to make them more maintainable.
| * Issue #27289: Prevent test_urllib2net failures due to EOFError raised by ftplibBerker Peksag2016-06-121-1/+2
| |
| * Issue #25455: Clean up reference loops created in tests for recursiveSerhiy Storchaka2016-06-121-12/+36
| | | | | | | | functools.partial objects.
| * Issue #27190: Raise NotSupportedError if sqlite3 is older than 3.3.1Berker Peksag2016-06-121-0/+6
| | | | | | | | Patch by Dave Sawyer.
| * Issue #27188: Fix various sqlite3 documentation errorsBerker Peksag2016-06-121-0/+12
| | | | | | | | | | | | | | | | | | | | | | * Connection.execute* methods don't create intermediate cursor objects * Fix description of seq_of_parameters parameter * Clarify that Warning is sqlite3.Warning * sql_script parameter of Cursor.executescript() doesn't accept bytes * Add missing tests * Fix various markup errors Initial patch by Dave Sawyer.
| * Issue #25455: Fixed a crash in repr of recursive functools.partial objects.Serhiy Storchaka2016-06-121-0/+37
| |
| * Merge headsSerhiy Storchaka2016-06-122-3/+4
| |\
| | * Fix typos and English grammar in documentation and code commentMartin Panter2016-06-121-1/+1
| | |
| | * Fix buggy RE “\parrot_example.py”, uncovered by Issue #27030Martin Panter2016-06-121-2/+3
| | |
| * | Issue #25455: Fixed a crash in repr of ElementTree.Element with recursive tag.Serhiy Storchaka2016-06-121-1/+7
| | |
| * | Issue #27286: Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode. CallingSerhiy Storchaka2016-06-123-1/+11
| |/ | | | | | | | | function with generalized unpacking (PEP 448) and conflicting keyword names could cause undefined behavior.
| * Issue #16484: Fix pydoc link and test on Windows, by Kaushik NadikuditiMartin Panter2016-06-122-3/+4
| |
* | Regenerated pydoc topics for 3.5.2rc1.Larry Hastings2016-06-121-20/+20
|/
* Issue #14209: pkgutil.iter_zipimport_modules ignores the prefix for packagesŁukasz Langa2016-06-122-4/+80
| | | | Patch by James Pickering.
* Issue #27194: superfluous truncate calls in tarfile.py slow down extractionŁukasz Langa2016-06-111-2/+2
| | | | Patch by Jason Fried.
* merge 3.4Benjamin Peterson2016-06-111-0/+5
|\
| * raise an error when STARTTLS failsBenjamin Peterson2016-06-111-0/+5
| |
* | Issue #21386: Implement missing IPv4Address.is_global propertyBerker Peksag2016-06-112-0/+10
| | | | | | | | | | | | It was documented since 07a5610bae9d. Initial patch by Roger Luethi.
* | Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-2/+4
| | | | | | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* | Issue #22970: asyncio: Fix inconsistency cancelling Condition.wait.Yury Selivanov2016-06-112-1/+32
| | | | | | | | Patch by David Coles.
* | Issue #27223: aio: Fix _read_ready and _write_ready to respect _conn_lost.Yury Selivanov2016-06-112-17/+24
| | | | | | | | Patch by Łukasz Langa.
* | Issue #5124: NEWS entries.Terry Jan Reedy2016-06-111-0/+4
| |
* | Issue #5124: Paste with selection should always replace.Terry Jan Reedy2016-06-112-1/+85
| | | | | | | | | | This is how paste work on Windows, Mac, modern Linux apps, and ttk widgets. The exception was X11 tk widgets. Original patch by Serhiy Storchake.
* | Issue #20900: distutils register command now decodes HTTP responses correctlyBerker Peksag2016-06-103-4/+18
| | | | | | | | Initial patch by ingrid.
* | Issue #27243: Fix __aiter__ protocolYury Selivanov2016-06-095-23/+88
| |
* | Issue #27066: Fixed SystemError if a custom opener (for open()) returnsBarry Warsaw2016-06-081-0/+16
| | | | | | | | a negative number without setting an exception.
* | Sync typing.py with upstream.Guido van Rossum2016-06-082-4/+76
| | | | | | | | | | | | | | | | | | (Upstream is https://github.com/python/typing) - Add TYPE_CHECKING (false at runtime, true in type checkers) (upstream #230). - Avoid error on Union[xml.etree.cElementTree.Element, str] (upstream #229). - Repr of Tuple[()] should be 'Tuple[()]' (upstream #231). - Add NewType() (upstream #189).
* | asyncio: Remove asyncio.timeout() context manager.Yury Selivanov2016-06-082-240/+0
| | | | | | | | | | | | | | It will probably be added back in Python 3.6, once its compatibility issues are resolved; see [1] for more details. [1] https://mail.python.org/pipermail/async-sig/2016-June/000045.html
* | Issue #27136: Fix DNS static resolution; don't use it in getaddrinfoYury Selivanov2016-06-086-163/+116
| | | | | | | | Patch by A. Jesse Jiryu Davis
* | Issue #25738: Don’t send message body for 205 Reset ContentMartin Panter2016-06-082-10/+64
| | | | | | | | Patch by Susumu Koshiba.
* | Issue #21313: Tolerate truncated buildinfo in sys.versionMartin Panter2016-06-082-4/+27
| |
* | Fixed #27251: corrected string/bytes handling in credentials.Vinay Sajip2016-06-072-3/+4
| |