]>
granicus.if.org Git - python/log
Senthil Kumaran [Sat, 18 Jun 2016 18:21:50 +0000 (11:21 -0700)]
issue27021 - Document SC_IOV_MAX limitation imposed by OS on os.writev.
Patch contributed Марк Коренберг.
Serhiy Storchaka [Sat, 18 Jun 2016 10:53:36 +0000 (13:53 +0300)]
Issue #26754: PyUnicode_FSDecoder() accepted a filename argument encoded as
an iterable of integers. Now only strings and byte-like objects are accepted.
Martin Panter [Sat, 18 Jun 2016 03:57:31 +0000 (03:57 +0000)]
Issue #24314: Fix doc links for general attributes like __name__, __dict__
Serhiy Storchaka [Sat, 18 Jun 2016 06:58:24 +0000 (09:58 +0300)]
Issue #27343: Fixed error message for conflicting initializers of ctypes.Structure.
Steve Dower [Fri, 17 Jun 2016 16:32:38 +0000 (09:32 -0700)]
Issue #27048: Prevents distutils failing on Windows when environment variables contain non-ASCII characters
Serhiy Storchaka [Fri, 17 Jun 2016 08:11:07 +0000 (11:11 +0300)]
ctypes: the type of b_size is Py_ssize_t.
Victor Stinner [Thu, 16 Jun 2016 21:53:47 +0000 (23:53 +0200)]
py_getrandom(): use long type for the syscall() result
Issue #27278. It should fix a conversion warning.
In practice, the Linux kernel doesn't return more than 32 MB per call to the
getrandom() syscall.
Serhiy Storchaka [Thu, 16 Jun 2016 19:08:46 +0000 (22:08 +0300)]
Issue #27330: Fixed possible leaks in the ctypes module.
Zachary Ware [Wed, 15 Jun 2016 22:13:28 +0000 (17:13 -0500)]
Issue #26930: Update Windows build to OpenSSL 1.0.2h
Ned Deily [Wed, 15 Jun 2016 22:06:32 +0000 (18:06 -0400)]
Issue #27327: fix doc typo, noted by Jakub Wilk.
Serhiy Storchaka [Wed, 15 Jun 2016 17:06:07 +0000 (20:06 +0300)]
Issue #27301: Fixed incorrect return codes for errors in compile.c.
Berker Peksag [Wed, 15 Jun 2016 15:12:49 +0000 (18:12 +0300)]
Make faq/general.rst gender-inclusive, patch by Sam Hathaway.
Georg Brandl [Wed, 15 Jun 2016 06:58:00 +0000 (08:58 +0200)]
merge with 3.4
Georg Brandl [Wed, 15 Jun 2016 06:57:32 +0000 (08:57 +0200)]
Docs: add html-stable autobuild variant
Martin Panter [Wed, 15 Jun 2016 00:24:34 +0000 (00:24 +0000)]
Issue #27311: Fix ZipFile.writestr data argument name.
Patch by John Hagen.
Serhiy Storchaka [Tue, 14 Jun 2016 19:52:04 +0000 (22:52 +0300)]
Issue #27238: Got rid of bare excepts in the turtle module. Original patch
by Jelle Zijlstra.
Gregory P. Smith [Tue, 14 Jun 2016 16:27:44 +0000 (09:27 -0700)]
issue27122: fix typo in the news file, wrong issue #. not issue27123.
Gregory P. Smith [Tue, 14 Jun 2016 16:19:20 +0000 (09:19 -0700)]
Issue #27123: When an exception is raised within the context being
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.
Victor Stinner [Tue, 14 Jun 2016 14:35:49 +0000 (16:35 +0200)]
cleanup random.c
Casting Py_ssize_t to Py_ssize_t is useless.
Victor Stinner [Tue, 14 Jun 2016 14:31:35 +0000 (16:31 +0200)]
Fix os.urandom() using getrandom() on Linux
Issue #27278: Fix os.urandom() implementation using getrandom() on Linux.
Truncate size to INT_MAX and loop until we collected enough random bytes,
instead of casting a directly Py_ssize_t to int.
Victor Stinner [Tue, 14 Jun 2016 13:04:44 +0000 (15:04 +0200)]
Issue #25843: Fix the NEWS entry
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.