]>
granicus.if.org Git - python/log
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.
Serhiy Storchaka [Wed, 6 Apr 2016 06:45:48 +0000 (09:45 +0300)]
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
Martin Panter [Wed, 6 Apr 2016 06:37:17 +0000 (06:37 +0000)]
Issue #26257: Eliminate buffer_tests.py and fix ByteArrayAsStringTest
ByteArrayAsStringTest.fixtype() was converting test data to bytes, not byte-
array, therefore many of the test cases inherited in this class were not
actually being run on the bytearray type.
The tests in buffer_tests.py were redundant with methods in string_tests
.MixinStrUnicodeUserStringTest and string_tests.CommonTest. These methods are
now moved into string_tests.BaseTest, where they will also get run for bytes
and bytearray.
This change also moves test_additional_split(), test_additional_rsplit(), and
test_strip() from CommonTest to BaseTest, meaning these tests are now run for
bytes and bytearray. I plan to eliminate redundancies with existing tests in
test_bytes.py soon.
Guido van Rossum [Tue, 5 Apr 2016 21:57:03 +0000 (14:57 -0700)]
Merge typing.py 3.5->3.6 (Text, ItemsView).
Guido van Rossum [Tue, 5 Apr 2016 21:54:25 +0000 (14:54 -0700)]
Add Text=str. Make ItemsView derive from AbstractSet, not Set (which is the concrete set).
Guido van Rossum [Tue, 5 Apr 2016 15:35:22 +0000 (08:35 -0700)]
Merge upstream typing.py changes from 3.5 branch.
Guido van Rossum [Tue, 5 Apr 2016 15:28:52 +0000 (08:28 -0700)]
Many changes from the upstream repo (https://github.com/python/typing).
This syncs to rev
7b43ada77821d23e55e3a4b35f6055a59b9e1ad7 there.
Summary:
- Add typing.DefaultDict (as a generic variant of collections.defaultdict).
- Use collections.Reversible if it exists (only relevant for Python 3.6).
- Revamped generic class behavior to conform to updated PEP 484.
- Improve speed of Generic.__new__.
- Make sure __init__ is called for new Generic instances. Fix issue #26391.
- Refactor async support to be compatible with 3.2, 3.3, 3.4.
- Remove 'io' and 're' from __all__ (they still exist, just not
included by "import *"). Fix issue #26234.
- Change @overload -- you can now use it outside stubs (you still
cannot call the decorated function though).
Martin Panter [Tue, 5 Apr 2016 10:17:38 +0000 (10:17 +0000)]
Issue #6953: Merge readline doc from 3.5
Martin Panter [Tue, 5 Apr 2016 07:37:22 +0000 (07:37 +0000)]
Issue #6953: Rearrange and expand Readline module documentation
* Group functions into six new subsections
* Document the underlying Readline function or variable accessed
* get_history_length() returns the history file limit
* clear_history() is conditionally compiled in
* Clarify zero and one bases for history item indexes
* parse_and_bind() uses its argument directly as an init line
* Change "command line" to "line buffer" for consistency
* read_init_file() also executes the file
* read_history_file() replaces the previous history
* write_history_file() overwrites any existing file
* Differentiate history file lines from history list items, which could be
multi-line
* Add more information about completion, also addressing Issue #10796
* libedit (Editline) may be used on any platform; detection is OS X specific
Martin Panter [Tue, 5 Apr 2016 06:20:32 +0000 (06:20 +0000)]
Merge typo fixes from 3.5
Martin Panter [Tue, 5 Apr 2016 06:19:42 +0000 (06:19 +0000)]
Fix typos in documentation and comments
Guido van Rossum [Mon, 4 Apr 2016 17:59:29 +0000 (10:59 -0700)]
Add collections.Reversible. Patch by Ivan Levkivskyi. Fixes issue #25987.
Martin Panter [Sun, 3 Apr 2016 08:04:35 +0000 (08:04 +0000)]
Issue #23735: Merge sighandler_t fix from 3.5
Martin Panter [Sun, 3 Apr 2016 08:00:49 +0000 (08:00 +0000)]
Issue #23735: Avoid sighandler_t Gnu-ism
Martin Panter [Sun, 3 Apr 2016 03:19:27 +0000 (03:19 +0000)]
Issue #23735: Merge Readline resize handling from 3.5
Martin Panter [Sun, 3 Apr 2016 02:54:58 +0000 (02:54 +0000)]
Issue #23735: Add SIGWINCH handler for Readline 6.3+ support, by Eric Price
Martin Panter [Sun, 3 Apr 2016 02:12:54 +0000 (02:12 +0000)]
Issue #25951: Fix SSLSocket.sendall() to return None, by Aviv Palivoda
Martin Panter [Sun, 3 Apr 2016 01:28:53 +0000 (01:28 +0000)]
Issue #26586: Simple enhancements to BaseHTTPRequestHandler by Xiang Zhang
Martin Panter [Sun, 3 Apr 2016 01:28:49 +0000 (01:28 +0000)]
Issue #26586: Merge excessive HTTP header handling from 3.5
Martin Panter [Sun, 3 Apr 2016 00:45:46 +0000 (00:45 +0000)]
Issue #26586: Handle excessive header fields in http.server, by Xiang Zhang
Berker Peksag [Sat, 2 Apr 2016 01:48:46 +0000 (04:48 +0300)]
Issue #26679: Fix description of KEY_PPAGE and KEY_NPAGE constants
Patch by Robert Bachmann and SilentGhost.
Berker Peksag [Sat, 2 Apr 2016 01:48:27 +0000 (04:48 +0300)]
Issue #26679: Fix description of KEY_PPAGE and KEY_NPAGE constants
Patch by Robert Bachmann and SilentGhost.
Berker Peksag [Sat, 2 Apr 2016 01:32:26 +0000 (04:32 +0300)]
Issue #26688: Fix module name in mock docs
Patch by Ashley Anderson.
Berker Peksag [Sat, 2 Apr 2016 01:32:06 +0000 (04:32 +0300)]
Issue #26688: Fix module name in mock docs
Patch by Ashley Anderson.
Martin Panter [Fri, 1 Apr 2016 23:20:52 +0000 (23:20 +0000)]
Issue #26678: Merge datetime doc fixes from 3.5
Vinay Sajip [Fri, 1 Apr 2016 22:13:48 +0000 (23:13 +0100)]
Merged documentation update from 3.5.
Vinay Sajip [Fri, 1 Apr 2016 22:13:01 +0000 (23:13 +0100)]
Added a cookbook recipe for a logging context manager.
Martin Panter [Fri, 1 Apr 2016 21:48:24 +0000 (21:48 +0000)]
Issue #26678: Fix indexing of datetime.tzinfo and timezone classes
Also fix links to the “tzinfo” class and attributes.
Victor Stinner [Fri, 1 Apr 2016 19:43:54 +0000 (21:43 +0200)]
Merge 3.5 (asyncio)
Victor Stinner [Fri, 1 Apr 2016 19:43:39 +0000 (21:43 +0200)]
asyncio: Don't log ConnectionAbortedError
Issue #26509: In fatal error handlers, don't log ConnectionAbortedError which
occur on Windows.
Victor Stinner [Fri, 1 Apr 2016 19:40:14 +0000 (21:40 +0200)]
Merge 3.5 (asyncio)
Victor Stinner [Fri, 1 Apr 2016 19:39:09 +0000 (21:39 +0200)]
asyncio: allow None as wait timeout
Fix GH#325: Allow to pass None as a timeout value to disable timeout logic.
Change written by Andrew Svetlov and merged by Guido van Rossum.
Victor Stinner [Fri, 1 Apr 2016 19:37:41 +0000 (21:37 +0200)]
asyncio: sync overlapped.c with GitHub
On Python 3.3, use aliases:
* PyMem_RawMalloc = PyMem_Malloc
* PyMem_RawFree = PyMem_Free
These aliases are not need in Python 3.5, but this change makes synchronization
of code base simpler.
Martin Panter [Fri, 1 Apr 2016 06:55:55 +0000 (06:55 +0000)]
Issue #26676: Add missing XMLPullParser to ElementTree.__all__
Ned Deily [Thu, 31 Mar 2016 23:20:03 +0000 (19:20 -0400)]
Revert back to 3.6.0, buildbots do not want chocolate for 04-01
Victor Stinner [Thu, 31 Mar 2016 21:30:53 +0000 (23:30 +0200)]
Python 8: no pep8, no chocolate!
Martin Panter [Thu, 31 Mar 2016 21:06:06 +0000 (21:06 +0000)]
Issue #22854: Merge test fix from 3.5
Martin Panter [Thu, 31 Mar 2016 21:05:31 +0000 (21:05 +0000)]
Issue #22854: Fix logic for skipping test
Serhiy Storchaka [Thu, 31 Mar 2016 12:31:20 +0000 (15:31 +0300)]
Remove redundant leading zeroes in PEP references.
Serhiy Storchaka [Thu, 31 Mar 2016 12:30:54 +0000 (15:30 +0300)]
Remove redundant leading zeroes in PEP references.
Martin Panter [Thu, 31 Mar 2016 11:17:08 +0000 (11:17 +0000)]
Issue #22854: Merge Windows pipe skipping from 3.5
Martin Panter [Thu, 31 Mar 2016 10:31:30 +0000 (10:31 +0000)]
Issue #22854: Skip pipe seek tests on Windows
Martin Panter [Thu, 31 Mar 2016 10:31:30 +0000 (10:31 +0000)]
Issue #22854: Skip pipe seekable() tests on Windows
Martin Panter [Thu, 31 Mar 2016 08:25:59 +0000 (08:25 +0000)]
Issue #22854: Merge UnsupportedOperation fixes from 3.5
Martin Panter [Thu, 31 Mar 2016 07:21:56 +0000 (07:21 +0000)]
Issue #22854: Clarify documentation about UnsupportedOperation and add tests
Also change BufferedReader.writable() and BufferedWriter.readable() to always
return False.
Serhiy Storchaka [Wed, 30 Mar 2016 18:11:16 +0000 (21:11 +0300)]
Issue #26492: Exhausted iterator of array.array now conforms with the behavior
of iterators of other mutable sequences: it lefts exhausted even if iterated
array is extended.
Serhiy Storchaka [Wed, 30 Mar 2016 18:01:45 +0000 (21:01 +0300)]
Issue #26492: Added additional tests for exhausted iterators of mutable sequences.
Serhiy Storchaka [Wed, 30 Mar 2016 18:01:26 +0000 (21:01 +0300)]
Issue #26492: Added additional tests for exhausted iterators of mutable sequences.
Serhiy Storchaka [Wed, 30 Mar 2016 17:41:15 +0000 (20:41 +0300)]
Issue #26494: Fixed crash on iterating exhausting iterators.
Affected classes are generic sequence iterators, iterators of str, bytes,
bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding
views and os.scandir() iterator.
Serhiy Storchaka [Wed, 30 Mar 2016 17:40:02 +0000 (20:40 +0300)]
Issue #26494: Fixed crash on iterating exhausting iterators.
Affected classes are generic sequence iterators, iterators of str, bytes,
bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding
views and os.scandir() iterator.
Berker Peksag [Wed, 30 Mar 2016 13:29:01 +0000 (16:29 +0300)]
Fix typo in xml.dom.pulldom.rst
Reported by Matthew Cole on docs@p.o.
Berker Peksag [Wed, 30 Mar 2016 13:28:43 +0000 (16:28 +0300)]
Fix typo in xml.dom.pulldom.rst
Reported by Matthew Cole on docs@p.o.
Victor Stinner [Wed, 30 Mar 2016 06:51:15 +0000 (08:51 +0200)]
Issue #26295: Enhanc test_regrtest.test_tools_script_run_tests()
Pass all regrtest options, not only --testdir.
Victor Stinner [Wed, 30 Mar 2016 06:38:05 +0000 (08:38 +0200)]
Issue #26295: Fix test_regrtest.test_tools_buildbot_test()
Pass also --testdir option.
Victor Stinner [Wed, 30 Mar 2016 00:33:52 +0000 (02:33 +0200)]
Issue #26295: test_regrtest now uses a temporary directory
test_forever() stores its state into the builtins module since the test module
is reloaded at each run.
Remove also warning to detect leaked tests of a previous run.
Victor Stinner [Wed, 30 Mar 2016 00:32:52 +0000 (02:32 +0200)]
Issue #26295: When using "python3 -m test --testdir=TESTDIR", regrtest doesn't
add "test." prefix to test module names.
regrtest also prepends testdir to sys.path.
Victor Stinner [Wed, 30 Mar 2016 00:20:34 +0000 (02:20 +0200)]
Merge 3.5 (test_urllibnet)
Victor Stinner [Wed, 30 Mar 2016 00:19:01 +0000 (02:19 +0200)]
test_urllibnet: set timeout on test_fileno()
Use the default timeout of 30 seconds to avoid blocking forever.
Victor Stinner [Tue, 29 Mar 2016 23:29:05 +0000 (01:29 +0200)]
doctest now supports packages
Issue #26641: doctest.DocFileTest and doctest.testfile() now support packages
(module splitted into multiple directories) for the package parameter.
Victor Stinner [Tue, 29 Mar 2016 23:15:48 +0000 (01:15 +0200)]
Merge 3.5 (test_unittest)
Victor Stinner [Tue, 29 Mar 2016 23:15:28 +0000 (01:15 +0200)]
Fix ResourceWarning in test_unittest when interrupted
Victor Stinner [Tue, 29 Mar 2016 11:46:53 +0000 (13:46 +0200)]
Null merge 3.5