]>
granicus.if.org Git - python/log
Martin Panter [Fri, 15 Apr 2016 02:27:11 +0000 (02:27 +0000)]
Issue #15984: Merge PyUnicode doc from 3.5
Martin Panter [Fri, 15 Apr 2016 00:56:21 +0000 (00:56 +0000)]
Issue #15984: Correct PyUnicode_FromObject() and _FromEncodedObject() docs
Martin Panter [Fri, 15 Apr 2016 02:14:19 +0000 (02:14 +0000)]
Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
This affects documentation, code comments, and a debugging messages.
Steven D'Aprano [Fri, 15 Apr 2016 00:06:18 +0000 (10:06 +1000)]
Fix missing parens.
Steven D'Aprano [Fri, 15 Apr 2016 00:04:24 +0000 (10:04 +1000)]
Improve tests with more modern assert* methods and subTests.
Steven D'Aprano [Thu, 14 Apr 2016 15:55:14 +0000 (01:55 +1000)]
run Tools/reindent.py on secrets.py to satisfy the checkwhitespace hook
Steven D'Aprano [Thu, 14 Apr 2016 15:51:31 +0000 (01:51 +1000)]
Add secrets module and tests.
Zachary Ware [Thu, 14 Apr 2016 15:22:58 +0000 (10:22 -0500)]
Closes #26706: Merge with 3.5
Zachary Ware [Thu, 14 Apr 2016 15:22:12 +0000 (10:22 -0500)]
Issue #26706: Update OpenSSL version in PCbuild/readme.txt
Thanks to Shaun Walbridge for noticing.
Berker Peksag [Thu, 14 Apr 2016 13:49:21 +0000 (16:49 +0300)]
Fix unused variable 'libver' warning in Modules/_ssl.c
It can be seen on various buildbots like 3.x.cea-indiana-amd64
and 3.x.murray-snowleopard:
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Modules/_ssl.c:2227: warning: unused variable 'libver'
/Users/buildbot/buildarea/3.x.murray-snowleopard/build/Modules/_ssl.c:2227: warning: unused variable ‘libver’
Berker Peksag [Thu, 14 Apr 2016 13:48:48 +0000 (16:48 +0300)]
Fix unused variable 'libver' warning in Modules/_ssl.c
It can be seen on various buildbots like 3.x.cea-indiana-amd64
and 3.x.murray-snowleopard:
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Modules/_ssl.c:2227: warning: unused variable 'libver'
/Users/buildbot/buildarea/3.x.murray-snowleopard/build/Modules/_ssl.c:2227: warning: unused variable ‘libver’
Serhiy Storchaka [Thu, 14 Apr 2016 09:36:11 +0000 (12:36 +0300)]
fs_unicode_converter is no longer used.
Serhiy Storchaka [Thu, 14 Apr 2016 09:30:54 +0000 (12:30 +0300)]
Issues #26716, #26057: Regenerate Argument Clinic code.
Serhiy Storchaka [Thu, 14 Apr 2016 09:28:01 +0000 (12:28 +0300)]
Issue #26716: Regenerate Argument Clinic code.
Ethan Furman [Thu, 14 Apr 2016 06:55:40 +0000 (23:55 -0700)]
Issue26748: Enum classes should evaluate as True
Ethan Furman [Thu, 14 Apr 2016 06:53:45 +0000 (23:53 -0700)]
Issue26748: Enum classes should evaluate as True
Ethan Furman [Thu, 14 Apr 2016 06:52:09 +0000 (23:52 -0700)]
Issue26748: Enum classes should evaluate as True
Serhiy Storchaka [Wed, 13 Apr 2016 12:37:23 +0000 (15:37 +0300)]
Issue #26057: Got rid of nonneeded use of PyUnicode_FromObject().
Serhiy Storchaka [Wed, 13 Apr 2016 12:28:53 +0000 (15:28 +0300)]
Issue #26718: super.__init__ no longer leaks memory if called multiple times.
NOTE: A direct call of super.__init__ is not endorsed!
Serhiy Storchaka [Wed, 13 Apr 2016 12:27:33 +0000 (15:27 +0300)]
Issue #26718: super.__init__ no longer leaks memory if called multiple times.
NOTE: A direct call of super.__init__ is not endorsed!
Senthil Kumaran [Wed, 13 Apr 2016 06:15:44 +0000 (23:15 -0700)]
merge 3.5.
[minor] - Correct the docstring of locale.str. Patch by poleto.
Senthil Kumaran [Wed, 13 Apr 2016 06:14:14 +0000 (23:14 -0700)]
[minor] - Correct the docstring of locale.str. Patch by poleto.
Martin Panter [Wed, 13 Apr 2016 03:31:33 +0000 (03:31 +0000)]
Issue #25496: Merge tarfile doc from 3.5
Martin Panter [Wed, 13 Apr 2016 03:24:06 +0000 (03:24 +0000)]
Issue #25496: Document compresslevel defaults to 9, by Hamza T Khan
Steve Dower [Wed, 13 Apr 2016 03:11:45 +0000 (20:11 -0700)]
Closes #26624: Adds validation of ucrtbase[d].dll version with warning for old versions.
Steve Dower [Wed, 13 Apr 2016 03:11:25 +0000 (20:11 -0700)]
Closes #26624: Adds validation of ucrtbase[d].dll version with warning for old versions.
Martin Panter [Wed, 13 Apr 2016 00:36:52 +0000 (00:36 +0000)]
Issue #26404: Add context manager to socketserver, by Aviv Palivoda
Victor Stinner [Tue, 12 Apr 2016 20:38:22 +0000 (22:38 +0200)]
Merge 3.5 (os.urandom)
Victor Stinner [Tue, 12 Apr 2016 20:34:58 +0000 (22:34 +0200)]
configure: fix HAVE_GETRANDOM_SYSCALL check
syscall() function requires #include <unistd.h>.
Victor Stinner [Tue, 12 Apr 2016 20:28:49 +0000 (22:28 +0200)]
Fix os.urandom() on Solaris 11.3
Issue #26735: Fix os.urandom() on Solaris 11.3 and newer when reading more than
1,024 bytes: call getrandom() multiple times with a limit of 1024 bytes per
call.
Victor Stinner [Tue, 12 Apr 2016 16:46:10 +0000 (18:46 +0200)]
Update pygettext.py to get ride of imp
Issue #26639: Replace imp with importlib in Tools/i18n/pygettext.py.
Remove _get_modpkg_path(), replaced with importlib.util.find_spec().
Victor Stinner [Tue, 12 Apr 2016 16:33:54 +0000 (18:33 +0200)]
Merge 3.5
Victor Stinner [Tue, 12 Apr 2016 16:33:41 +0000 (18:33 +0200)]
Issue #26647: Fix typo in test_grammar
Patch written by Demur Rumed.
Victor Stinner [Tue, 12 Apr 2016 16:17:06 +0000 (18:17 +0200)]
Issue #26647: Cleanup modulefinder
Use directly dis.opmap[name] rather than dis.opname.index(name).
Patch written by Demur Rumed.
Victor Stinner [Tue, 12 Apr 2016 16:15:26 +0000 (18:15 +0200)]
Issue #26647: Cleanup opcode
Simplify code to build opcode.opname. Patch written by Demur Rumed.
Georg Brandl [Tue, 12 Apr 2016 05:52:22 +0000 (07:52 +0200)]
merge with 3.5
Georg Brandl [Tue, 12 Apr 2016 05:51:41 +0000 (07:51 +0200)]
Clarify greedy-qualifier example, avoid HTML.
Serhiy Storchaka [Tue, 12 Apr 2016 05:47:08 +0000 (08:47 +0300)]
Issue #26733: Fixed formatting line numbers in test_dis.
Based on patch by Xiang Zhang.
Serhiy Storchaka [Tue, 12 Apr 2016 05:46:28 +0000 (08:46 +0300)]
Issue #26733: Fixed formatting line numbers in test_dis.
Based on patch by Xiang Zhang.
Serhiy Storchaka [Mon, 11 Apr 2016 14:33:27 +0000 (17:33 +0300)]
Issue #25910: Fixed more links in the docs.
Serhiy Storchaka [Mon, 11 Apr 2016 14:32:33 +0000 (17:32 +0300)]
Issue #25910: Fixed more links in the docs.
Victor Stinner [Mon, 11 Apr 2016 14:23:37 +0000 (16:23 +0200)]
Merge 3.5
Victor Stinner [Mon, 11 Apr 2016 14:23:22 +0000 (16:23 +0200)]
typing doc: add versionadded 3.5
Berker Peksag [Mon, 11 Apr 2016 10:50:04 +0000 (13:50 +0300)]
Add a versionchanged directive to document addition of the new 'namereplace' error handler.
Reported by Robert on docs@p.o.
Berker Peksag [Mon, 11 Apr 2016 10:49:46 +0000 (13:49 +0300)]
Add a versionchanged directive to document addition of the new 'namereplace' error handler.
Reported by Robert on docs@p.o.
Serhiy Storchaka [Mon, 11 Apr 2016 09:39:18 +0000 (12:39 +0300)]
Null merge
Serhiy Storchaka [Mon, 11 Apr 2016 09:39:07 +0000 (12:39 +0300)]
Merge heads
Serhiy Storchaka [Mon, 11 Apr 2016 09:38:54 +0000 (12:38 +0300)]
Merge heads
Serhiy Storchaka [Mon, 11 Apr 2016 09:34:07 +0000 (12:34 +0300)]
Issue #25910: Fixed dead links in the docs.
Berker Peksag [Mon, 11 Apr 2016 09:23:25 +0000 (12:23 +0300)]
Fix typos in mock and exceptions docs
The default value of __len__ is 0, not 1:
>>> from unittest.mock import MagicMock
>>> mock = MagicMock()
>>> len(mock)
0
Reported by Alex on docs@p.o.
Remove the remaining VMSError reference. VMS support is gone.
Berker Peksag [Mon, 11 Apr 2016 09:23:04 +0000 (12:23 +0300)]
Fix typos in mock and exceptions docs
The default value of __len__ is 0, not 1:
>>> from unittest.mock import MagicMock
>>> mock = MagicMock()
>>> len(mock)
0
Reported by Alex on docs@p.o.
Remove the remaining VMSError reference. VMS support is gone.
Serhiy Storchaka [Mon, 11 Apr 2016 09:18:56 +0000 (12:18 +0300)]
Issue #25910: Fixed dead links in the docs.
Serhiy Storchaka [Mon, 11 Apr 2016 06:57:37 +0000 (09:57 +0300)]
Issue #26200: Restored more safe usages of Py_SETREF.
Serhiy Storchaka [Mon, 11 Apr 2016 06:53:37 +0000 (09:53 +0300)]
Issue #26200: Restored more safe usages of Py_SETREF.
Martin Panter [Mon, 11 Apr 2016 02:45:22 +0000 (02:45 +0000)]
Issue #14456: Merge signal doc fix from 3.5
Martin Panter [Mon, 11 Apr 2016 02:44:34 +0000 (02:44 +0000)]
Issue #14456: Remove contradiction about blocking signals from bad merge
Martin Panter [Mon, 11 Apr 2016 00:40:08 +0000 (00:40 +0000)]
Issue #26585: Eliminate _quote_html() and use html.escape(quote=False)
Patch by Xiang Zhang.
Martin Panter [Mon, 11 Apr 2016 00:38:12 +0000 (00:38 +0000)]
Issue #26685: Raise OSError if closing a socket fails
Serhiy Storchaka [Sun, 10 Apr 2016 15:12:01 +0000 (18:12 +0300)]
Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
in places where Py_DECREF was used.
Serhiy Storchaka [Sun, 10 Apr 2016 15:05:40 +0000 (18:05 +0300)]
Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
in places where Py_DECREF was used.
Serhiy Storchaka [Sun, 10 Apr 2016 12:46:30 +0000 (15:46 +0300)]
Issue #26623: TypeError message for JSON unserializible object now contains
object's type name, not object's representation.
Based on patch by Mahmoud Lababidi.
Serhiy Storchaka [Sun, 10 Apr 2016 11:44:59 +0000 (14:44 +0300)]
Issue #17339: Improved TypeError message in bytes constructor.
Serhiy Storchaka [Sun, 10 Apr 2016 11:43:04 +0000 (14:43 +0300)]
Issue #26719: More efficient formatting of ints and floats in json.
Serhiy Storchaka [Sun, 10 Apr 2016 11:41:19 +0000 (14:41 +0300)]
Issue #26719: More efficient formatting of ints and floats in json.
Serhiy Storchaka [Sun, 10 Apr 2016 11:35:21 +0000 (14:35 +0300)]
Issue #25339: PYTHONIOENCODING now has priority over locale in setting the
error handler for stdin and stdout.
Serhiy Storchaka [Sun, 10 Apr 2016 11:34:13 +0000 (14:34 +0300)]
Issue #25339: PYTHONIOENCODING now has priority over locale in setting the
error handler for stdin and stdout.
Martin Panter [Sun, 10 Apr 2016 09:16:23 +0000 (09:16 +0000)]
Issue #26712: Merge string_tests cleanup from 3.5
Martin Panter [Sun, 10 Apr 2016 08:48:51 +0000 (08:48 +0000)]
Remove relics of str8 (became bytes) and buffer (bytearray) type tests
Remove redundant tests now that str is unicode.
Martin Panter [Sun, 10 Apr 2016 08:45:26 +0000 (08:45 +0000)]
Issue #26712: Unify (r)split, (l/r)strip tests into string_tests
This eliminates a few redundant test cases.
Martin Panter [Sun, 10 Apr 2016 02:41:25 +0000 (02:41 +0000)]
Issue #25609: Double back-ticks to avoid “make check” buildbot failure
Martin Panter [Sat, 9 Apr 2016 14:05:19 +0000 (14:05 +0000)]
Issue #21069: Merge test_fileno() from 3.5
Martin Panter [Sat, 9 Apr 2016 14:03:17 +0000 (14:03 +0000)]
Issue #21069: Move test_fileno() from test_urllibnet and rewrite it
* No longer attempts to close already freed socket file descriptor
* Use socket object to be compatible with Windows
* Do not use a timeout to avoid complication with non-blocking mode
* Use internal localhost server rather than depending on a third party
* Avoid trouble with buffered HTTP data by testing tunnelled CONNECT data
Martin Panter [Sat, 9 Apr 2016 12:51:41 +0000 (12:51 +0000)]
Issue #26609: Merge HTTP tests from 3.5
Victor Stinner [Sat, 9 Apr 2016 09:33:53 +0000 (11:33 +0200)]
Merge 3.5: fcntl doc
Victor Stinner [Sat, 9 Apr 2016 09:32:58 +0000 (11:32 +0200)]
Update fcntl doc: replace IOError with OSError
Issue #26716. IOError is a deprecated alias to OSError since Python 3.3.
Berker Peksag [Sat, 9 Apr 2016 06:08:26 +0000 (09:08 +0300)]
Issue #17264: Fix cross refs and a markup error in extending/building.rst
Berker Peksag [Sat, 9 Apr 2016 06:08:05 +0000 (09:08 +0300)]
Issue #17264: Fix cross refs and a markup error in extending/building.rst
Berker Peksag [Sat, 9 Apr 2016 05:00:53 +0000 (08:00 +0300)]
Issue #16329: Add .webm to mimetypes.types_map
Patch by Giampaolo Rodola'.
Berker Peksag [Sat, 9 Apr 2016 05:00:20 +0000 (08:00 +0300)]
Issue #16329: Add .webm to mimetypes.types_map
Patch by Giampaolo Rodola'.
Martin Panter [Sat, 9 Apr 2016 04:56:10 +0000 (04:56 +0000)]
Issue #26609: Fix HTTP server tests to request an absolute URL path
Berker Peksag [Sat, 9 Apr 2016 04:53:00 +0000 (07:53 +0300)]
Issue #13952: Add .csv to mimetypes.types_map
Patch by Geoff Wilson.
Berker Peksag [Sat, 9 Apr 2016 04:52:05 +0000 (07:52 +0300)]
Issue #13952: Add .csv to mimetypes.types_map
Patch by Geoff Wilson.
Berker Peksag [Sat, 9 Apr 2016 04:34:39 +0000 (07:34 +0300)]
Issue #26687: Use Py_RETURN_NONE macro in sqlite3 module
Brett Cannon [Fri, 8 Apr 2016 22:08:01 +0000 (15:08 -0700)]
Merge w/ 3.5 for issue #26587
Brett Cannon [Fri, 8 Apr 2016 22:06:54 +0000 (15:06 -0700)]
Issue #26587: Remove an incorrect statement from the docs
Brett Cannon [Fri, 8 Apr 2016 22:04:28 +0000 (15:04 -0700)]
Issue #26587: Allow .pth files to specify file paths as well as
directories.
Thanks to Wolfgang Langner for the bug report and initial version of
the patch.
Brett Cannon [Fri, 8 Apr 2016 19:29:05 +0000 (12:29 -0700)]
Issue #26668: Remove the redundant Lib/test/test_importlib/regrtest.py
Brett Cannon [Fri, 8 Apr 2016 19:16:16 +0000 (12:16 -0700)]
Normalize whitespace
Brett Cannon [Fri, 8 Apr 2016 19:15:27 +0000 (12:15 -0700)]
Issue #25609: Introduce contextlib.AbstractContextManager and
typing.ContextManager.
Serhiy Storchaka [Fri, 8 Apr 2016 12:00:33 +0000 (15:00 +0300)]
Issue #26709: Fixed Y2038 problem in loading binary PLists.
Serhiy Storchaka [Fri, 8 Apr 2016 12:00:02 +0000 (15:00 +0300)]
Issue #26709: Fixed Y2038 problem in loading binary PLists.
Serhiy Storchaka [Fri, 8 Apr 2016 05:48:20 +0000 (08:48 +0300)]
Issue #26671: Fixed tests for changed error messages.
Martin Panter [Fri, 8 Apr 2016 00:16:33 +0000 (00:16 +0000)]
Issue #26257: Merge buffer_tests cleanup from 3.5
Serhiy Storchaka [Wed, 6 Apr 2016 20:02:46 +0000 (23:02 +0300)]
Issue #26671: Fixed #ifdef indentation.
Serhiy Storchaka [Wed, 6 Apr 2016 20:02:25 +0000 (23:02 +0300)]
Backed out changeset
8dc144e47252
Serhiy Storchaka [Wed, 6 Apr 2016 19:55:31 +0000 (22:55 +0300)]
Issue #26671: Fixed #ifdef indentation.
Steve Dower [Wed, 6 Apr 2016 19:36:23 +0000 (12:36 -0700)]
Adds version info to all signed binaries on Windows
Steve Dower [Wed, 6 Apr 2016 19:35:24 +0000 (12:35 -0700)]
Adds version info to all signed binaries on Windows.
Serhiy Storchaka [Wed, 6 Apr 2016 19:17:52 +0000 (22:17 +0300)]
Issue #26671: Enhanced path_converter.
Exceptions raised during converting argument of correct type are no longer
overridded with TypeError. Some error messages are now more detailed.
Serhiy Storchaka [Wed, 6 Apr 2016 06:50:03 +0000 (09:50 +0300)]
Issue #22570: Renamed Py_SETREF to Py_XSETREF.