]>
granicus.if.org Git - python/log
Martin Panter [Tue, 14 Jun 2016 11:29:31 +0000 (11:29 +0000)]
Issue #16182: One more check for set_pre_input_hook()
Berker Peksag [Tue, 14 Jun 2016 11:19:02 +0000 (14:19 +0300)]
Mark tests as skipped when a SQLite version is not supported
Berker Peksag [Tue, 14 Jun 2016 10:25:11 +0000 (13:25 +0300)]
Remove empty setUp and tearDown methods from sqlite3 tests
They are not used as base classes by another tests so they
can safely be removed.
Berker Peksag [Tue, 14 Jun 2016 09:51:07 +0000 (12:51 +0300)]
Delete outdated paragraph about OptimizedUnicode again
sqlite3.OptimizedUnicode is an alias for str in Python 3 and
its behavior is already tested in CheckOptimizedUnicode in
Lib/sqlite3/test/factory.py.
sqlite3.OptimizedUnicode was undocumented in
0fc10a33eb4c and
probably added back with the result of a bad merge.
Serhiy Storchaka [Tue, 14 Jun 2016 09:33:31 +0000 (12:33 +0300)]
Issue #26386: Fixed ttk.TreeView selection operations with item id's
containing spaces.
Martin Panter [Tue, 14 Jun 2016 08:45:43 +0000 (08:45 +0000)]
Issue #16182: set_pre_input_hook() may not exist; document, and update test
Benjamin Peterson [Tue, 14 Jun 2016 06:41:40 +0000 (23:41 -0700)]
merge 3.4
Benjamin Peterson [Tue, 14 Jun 2016 06:41:19 +0000 (23:41 -0700)]
sync ordering of stddef.h includes with expat 2.1.1
Martin Panter [Tue, 14 Jun 2016 05:45:31 +0000 (05:45 +0000)]
Issue #16182: Attempted workarounds for Apple Editline
Terry Jan Reedy [Tue, 14 Jun 2016 04:53:25 +0000 (00:53 -0400)]
Issue #27245: IDLE: Cleanly delete custom themes and key bindings.
Previously, when IDLE was started from a console or by import, a cascade
of warnings was emitted. Patch by Serhiy Storchaka.
Martin Panter [Tue, 14 Jun 2016 04:08:30 +0000 (04:08 +0000)]
Issue #22636: Handle OSError from subprocess, e.g. if command not found
Martin Panter [Tue, 14 Jun 2016 01:27:11 +0000 (01:27 +0000)]
Issue #22636: avoid using a shell in the ctypes.util module
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.
Martin Panter [Tue, 14 Jun 2016 01:16:16 +0000 (01:16 +0000)]
Issue #16182: Fix readline begidx, endidx, and use locale encoding
Based on patch by Serhiy Storchaka.
Ned Deily [Tue, 14 Jun 2016 00:22:53 +0000 (20:22 -0400)]
Issue #27310: remove vestigial import in IDLE.app
Martin Panter [Mon, 13 Jun 2016 03:17:47 +0000 (03:17 +0000)]
Issue #27136: Change test to use ::1 for better OS X Tiger compatibility
Berker Peksag [Mon, 13 Jun 2016 21:48:35 +0000 (00:48 +0300)]
Issue #27306: Fix typo in tarfile documentation
Patch by Gareth Rees.
Berker Peksag [Mon, 13 Jun 2016 21:42:50 +0000 (00:42 +0300)]
Replace more boilerplate code with modern unittest features in sqlite3 tests
Larry Hastings [Mon, 13 Jun 2016 19:55:11 +0000 (12:55 -0700)]
Forward-merge from 3.4 to 3.5.
Larry Hastings [Mon, 13 Jun 2016 03:26:28 +0000 (20:26 -0700)]
Merge 3.5.2rc1 with current 3.5 branch.
Larry Hastings [Mon, 13 Jun 2016 03:22:18 +0000 (20:22 -0700)]
Post-release fixups for Python 3.5.2rc1.
Berker Peksag [Sun, 12 Jun 2016 19:34:49 +0000 (22:34 +0300)]
Modernize sqlite3 tests
Update current tests that use old pattern with assertRaises
to make them more maintainable.
Berker Peksag [Sun, 12 Jun 2016 16:17:49 +0000 (19:17 +0300)]
Fix typo in _sqlite/module.h
Berker Peksag [Sun, 12 Jun 2016 13:34:38 +0000 (16:34 +0300)]
Issue #15657: Delete incorrect statement from PyMethodDef documentation
Berker Peksag [Sun, 12 Jun 2016 13:27:48 +0000 (16:27 +0300)]
Issue #27289: Prevent test_urllib2net failures due to EOFError raised by ftplib
Serhiy Storchaka [Sun, 12 Jun 2016 12:45:14 +0000 (15:45 +0300)]
Issue #25455: Clean up reference loops created in tests for recursive
functools.partial objects.
Berker Peksag [Sun, 12 Jun 2016 11:09:51 +0000 (14:09 +0300)]
Issue #27190: Raise NotSupportedError if sqlite3 is older than 3.3.1
Patch by Dave Sawyer.
Berker Peksag [Sun, 12 Jun 2016 10:41:47 +0000 (13:41 +0300)]
Issue #27188: Fix various sqlite3 documentation errors
* 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.
Berker Peksag [Sun, 12 Jun 2016 09:25:43 +0000 (12:25 +0300)]
Use exc role for ValueError in multiprocessing.rst
Berker Peksag [Sun, 12 Jun 2016 09:19:13 +0000 (12:19 +0300)]
Issue #27221: Delete an outdated paragraph about pickle support of Process
Initial patch by Jelle Zijlstra.
Serhiy Storchaka [Sun, 12 Jun 2016 08:44:06 +0000 (11:44 +0300)]
Issue #25455: Fixed a crash in repr of recursive functools.partial objects.
Serhiy Storchaka [Sun, 12 Jun 2016 06:47:57 +0000 (09:47 +0300)]
Merge heads
Serhiy Storchaka [Sun, 12 Jun 2016 06:43:55 +0000 (09:43 +0300)]
Issue #25455: Fixed a crash in repr of ElementTree.Element with recursive tag.
Serhiy Storchaka [Sun, 12 Jun 2016 06:22:01 +0000 (09:22 +0300)]
Issue #27286: Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode. Calling
function with generalized unpacking (PEP 448) and conflicting keyword names
could cause undefined behavior.
Martin Panter [Sun, 12 Jun 2016 06:14:03 +0000 (06:14 +0000)]
Fix typos and English grammar in documentation and code comment
Martin Panter [Sun, 12 Jun 2016 06:07:35 +0000 (06:07 +0000)]
Fix buggy RE “\parrot_example.py”, uncovered by Issue #27030
Larry Hastings [Sun, 12 Jun 2016 05:25:43 +0000 (22:25 -0700)]
Added tag v3.4.5rc1 for changeset
3631bb4a2490
Larry Hastings [Sun, 12 Jun 2016 05:24:03 +0000 (22:24 -0700)]
Release bump for 3.4.5rc1.
Larry Hastings [Sun, 12 Jun 2016 05:22:07 +0000 (22:22 -0700)]
Regenerate pydoc topics for 3.4.5rc1.
Martin Panter [Sun, 12 Jun 2016 04:24:06 +0000 (04:24 +0000)]
Issue #16484: Fix pydoc link and test on Windows, by Kaushik Nadikuditi
Larry Hastings [Sun, 12 Jun 2016 03:55:23 +0000 (20:55 -0700)]
Added tag v3.5.2rc1 for changeset
68feec6488b2
Larry Hastings [Sun, 12 Jun 2016 03:55:08 +0000 (20:55 -0700)]
Updated header for README for 3.5.2rc1.
Larry Hastings [Sun, 12 Jun 2016 03:51:22 +0000 (20:51 -0700)]
Release bump for 3.5.2rc1.
Larry Hastings [Sun, 12 Jun 2016 03:40:26 +0000 (20:40 -0700)]
Regenerated pydoc topics for 3.5.2rc1.
Martin Panter [Sun, 12 Jun 2016 01:46:50 +0000 (01:46 +0000)]
Issue #24136: Document generalized unpacking, PEP 448
Based on patches by Konstantin Molchanov and Neil Girdhar.
Łukasz Langa [Sun, 12 Jun 2016 01:02:46 +0000 (18:02 -0700)]
Issue #14209: pkgutil.iter_zipimport_modules ignores the prefix for packages
Patch by James Pickering.
Łukasz Langa [Sat, 11 Jun 2016 23:42:36 +0000 (16:42 -0700)]
Issue #27194: superfluous truncate calls in tarfile.py slow down extraction
Patch by Jason Fried.
Benjamin Peterson [Sat, 11 Jun 2016 20:33:17 +0000 (13:33 -0700)]
merge 3.4 (#26556)
Benjamin Peterson [Sat, 11 Jun 2016 20:28:56 +0000 (13:28 -0700)]
upgrade expt to 2.1.1 (closes #26556)
Benjamin Peterson [Sat, 11 Jun 2016 20:18:56 +0000 (13:18 -0700)]
merge 3.4
Benjamin Peterson [Sat, 11 Jun 2016 20:16:42 +0000 (13:16 -0700)]
raise an error when STARTTLS fails
Berker Peksag [Sat, 11 Jun 2016 19:40:41 +0000 (22:40 +0300)]
Fix typo and silence a Sphinx warning in Doc/glossary.rst
Berker Peksag [Sat, 11 Jun 2016 19:38:33 +0000 (22:38 +0300)]
Silence 'make suspicious' warnings
Berker Peksag [Sat, 11 Jun 2016 19:11:47 +0000 (22:11 +0300)]
Issue #21386: Implement missing IPv4Address.is_global property
It was documented since
07a5610bae9d .
Initial patch by Roger Luethi.
Terry Jan Reedy [Sat, 11 Jun 2016 19:02:54 +0000 (15:02 -0400)]
Issue #22558: Add remaining doc links to source code for Python-coded modules.
Reformat header above separator line (added if missing) to a common format.
Patch by Yoni Lavi.
Yury Selivanov [Sat, 11 Jun 2016 16:00:07 +0000 (12:00 -0400)]
Issue #22970: asyncio: Fix inconsistency cancelling Condition.wait.
Patch by David Coles.
Yury Selivanov [Sat, 11 Jun 2016 15:19:47 +0000 (11:19 -0400)]
Issue #27223: aio: Fix _read_ready and _write_ready to respect _conn_lost.
Patch by Łukasz Langa.
Terry Jan Reedy [Sat, 11 Jun 2016 08:31:22 +0000 (04:31 -0400)]
Issue #5124: NEWS entries.
Terry Jan Reedy [Sat, 11 Jun 2016 06:06:26 +0000 (02:06 -0400)]
Issue #5124: Paste with selection should always replace.
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.
Berker Peksag [Fri, 10 Jun 2016 20:00:52 +0000 (23:00 +0300)]
Issue #20900: distutils register command now decodes HTTP responses correctly
Initial patch by ingrid.
doko@ubuntu.com [Fri, 10 Jun 2016 16:23:35 +0000 (18:23 +0200)]
- Issue #17500, and https://github.com/python/pythondotorg/issues/945: Remove
unused and outdated icons.
Berker Peksag [Fri, 10 Jun 2016 11:26:07 +0000 (14:26 +0300)]
Issue #27280: Fix typo in IPv6Network documentation
Patch by Arthur Carcano.
Tommy Beadle [Thu, 2 Jun 2016 19:41:20 +0000 (15:41 -0400)]
Issue #24617: Add comment for os.mkdir about mode quirks
Martin Panter [Fri, 10 Jun 2016 08:07:11 +0000 (08:07 +0000)]
Fix typo and move comment to appropriate condition
Martin Panter [Fri, 10 Jun 2016 00:27:46 +0000 (00:27 +0000)]
Issue #8491: Add link to Gnu Readline configuration documentation
Tommy Beadle [Thu, 2 Jun 2016 23:26:51 +0000 (19:26 -0400)]
[Issue 15476] Make "code object" its own entry in the index
Yury Selivanov [Thu, 9 Jun 2016 19:08:31 +0000 (15:08 -0400)]
Issue #27243: Fix __aiter__ protocol
Serhiy Storchaka [Thu, 9 Jun 2016 13:02:15 +0000 (16:02 +0300)]
Issue #26305: Argument Clinic now escapes braces. No need to double them.
Barry Warsaw [Wed, 8 Jun 2016 21:55:49 +0000 (17:55 -0400)]
Fix a comment.
Barry Warsaw [Wed, 8 Jun 2016 21:47:26 +0000 (17:47 -0400)]
Issue #27066: Fixed SystemError if a custom opener (for open()) returns
a negative number without setting an exception.
Guido van Rossum [Wed, 8 Jun 2016 18:30:48 +0000 (11:30 -0700)]
Omnibus news entry for updates to typing.py.
Guido van Rossum [Wed, 8 Jun 2016 18:19:11 +0000 (11:19 -0700)]
Sync typing.py with upstream.
(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).
Yury Selivanov [Wed, 8 Jun 2016 17:58:15 +0000 (13:58 -0400)]
asyncio: Remove line about asyncio.timeout() from the NEWS file
Yury Selivanov [Wed, 8 Jun 2016 17:57:03 +0000 (13:57 -0400)]
asyncio: Remove asyncio.timeout() context manager.
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
Yury Selivanov [Wed, 8 Jun 2016 16:55:29 +0000 (12:55 -0400)]
asyncio: Update whatsnew/3.5.2
Yury Selivanov [Wed, 8 Jun 2016 16:48:15 +0000 (12:48 -0400)]
Issue #27136: Update asyncio docs
Yury Selivanov [Wed, 8 Jun 2016 16:33:31 +0000 (12:33 -0400)]
Issue #27136: Fix DNS static resolution; don't use it in getaddrinfo
Patch by A. Jesse Jiryu Davis
Martin Panter [Wed, 8 Jun 2016 12:44:30 +0000 (12:44 +0000)]
Issue #23275: Backport target list assignment documentation fixes
Berker Peksag [Wed, 8 Jun 2016 11:56:56 +0000 (14:56 +0300)]
Issue #21593: Clarify that re.search() returns the first match
Martin Panter [Wed, 8 Jun 2016 08:29:13 +0000 (08:29 +0000)]
Issue #25738: Don’t send message body for 205 Reset Content
Patch by Susumu Koshiba.
Martin Panter [Wed, 8 Jun 2016 06:12:22 +0000 (06:12 +0000)]
Issue #21313: Tolerate truncated buildinfo in sys.version
Vinay Sajip [Tue, 7 Jun 2016 20:19:55 +0000 (21:19 +0100)]
Fixed #27251: corrected string/bytes handling in credentials.
Terry Jan Reedy [Tue, 7 Jun 2016 19:33:53 +0000 (15:33 -0400)]
Items for NEWS and idlelib/NEWS.txt.
Victor Stinner [Tue, 7 Jun 2016 09:21:42 +0000 (11:21 +0200)]
os.urandom() doesn't block on Linux anymore
Issue #26839: On Linux, os.urandom() now calls getrandom() with GRND_NONBLOCK
to fall back on reading /dev/urandom if the urandom entropy pool is not
initialized yet. Patch written by Colm Buckley.
Martin Panter [Tue, 7 Jun 2016 01:07:32 +0000 (01:07 +0000)]
Issue #27229: Comment in middle of shell command fails on BSD and OS X
Martin Panter [Tue, 7 Jun 2016 00:27:17 +0000 (00:27 +0000)]
Issue #27229: Fix in-tree cross-build rule, by Xavier de Gaye
Ned Deily [Mon, 6 Jun 2016 00:38:48 +0000 (17:38 -0700)]
Issue #26014: Update 3.x packaging documentation:
- "See also" links to the new docs are now provided in the legacy pages
- links to setuptools documentation have been updated
(original patch by Susan Sun)
Martin Panter [Sun, 5 Jun 2016 10:48:34 +0000 (10:48 +0000)]
Issue #27164: Allow decompressing raw Deflate streams with predefined zdict
Based on patch by Xiang Zhang.
Serhiy Storchaka [Sun, 5 Jun 2016 07:48:36 +0000 (10:48 +0300)]
Issue #27225: Fixed a reference leak in type_new when setting __new__ fails.
Patch by Xiang Zhang.
Serhiy Storchaka [Sun, 5 Jun 2016 07:32:57 +0000 (10:32 +0300)]
Issue #21916: Added more tests for the turtle module.
Original patch by Jelle Zijlstra.
Martin Panter [Sun, 5 Jun 2016 06:28:55 +0000 (06:28 +0000)]
Issue #24291: Avoid WSGIRequestHandler doing partial writes
If the underlying send() method indicates a partial write, such as when the
call is interrupted to handle a signal, the server would silently drop the
remaining data.
Also add deprecated support for SimpleHandler.stdout.write() doing partial
writes.
Senthil Kumaran [Sun, 5 Jun 2016 05:22:26 +0000 (22:22 -0700)]
issue27202 - Fix the mistake in changesets
70af472451cb (3.5) and
2bb806539ca6 (3.6)
exclude_patterns in Sphinx conf.py will exclude the .rsts from the build. It
was incorrect exclude 2.x rsts in that. This fix contributed again Jelle
Zijlstra, excludes doctests in whatsnew/2.7.rst from being exercised by using
doctests skip option.
Berker Peksag [Sun, 5 Jun 2016 04:47:44 +0000 (21:47 -0700)]
Issue #17888: Add a note about contributing to Python docs
Patch by Terry Chia and Laura Rupprecht.
Senthil Kumaran [Sun, 5 Jun 2016 03:52:57 +0000 (20:52 -0700)]
issue27202 - Exclude 2.x release notes from python3 make doctests.
Patch contributed by Jelle Zijlstra.
Senthil Kumaran [Sun, 5 Jun 2016 03:07:34 +0000 (20:07 -0700)]
Issue27203 - Fix doctests Doc/faq/programming.rst.
Patch contributed by Jelle Zijlstra.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sun, 5 Jun 2016 02:57:47 +0000 (02:57 +0000)]
Move the BrokenPipeError tests to the POSIXProcessTestCase class
instead of the generic ProcessTestCase class as they are posix
specific.
Ned Deily [Sun, 5 Jun 2016 00:21:21 +0000 (17:21 -0700)]
Issue #26930: Update OS X 32-bit-only installer builds to use OpenSSL 1.0.2h.
doko@ubuntu.com [Sat, 4 Jun 2016 22:41:58 +0000 (00:41 +0200)]
- Issue #26884: Fix linking extension modules for cross builds.
Patch by Xavier de Gaye.
Serhiy Storchaka [Sat, 4 Jun 2016 20:30:45 +0000 (23:30 +0300)]
Merge heads
Serhiy Storchaka [Sat, 4 Jun 2016 20:27:26 +0000 (23:27 +0300)]
Issue #21916: Added tests for the turtle module.
Patch by ingrid, Gregory Loyse and Jelle Zijlstra.
Terry Jan Reedy [Sat, 4 Jun 2016 20:15:58 +0000 (16:15 -0400)]
Issue #24759: Add 'private' notice for idlelib.idle_test.