]>
granicus.if.org Git - python/log
Serhiy Storchaka [Fri, 2 Dec 2016 06:42:43 +0000 (08:42 +0200)]
Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.
Original patch by Andreas Stührk.
Serhiy Storchaka [Wed, 7 Dec 2016 08:56:39 +0000 (10:56 +0200)]
Issue #28847: dbm.dumb now supports reading read-only files and no longer
writes the index file when it is not changed.
Serhiy Storchaka [Tue, 6 Dec 2016 11:43:46 +0000 (13:43 +0200)]
Fixed misplaced comment.
Benjamin Peterson [Tue, 6 Dec 2016 06:30:55 +0000 (22:30 -0800)]
rm unused import
Serhiy Storchaka [Mon, 5 Dec 2016 22:13:34 +0000 (00:13 +0200)]
Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.
Serhiy Storchaka [Sun, 4 Dec 2016 13:42:13 +0000 (15:42 +0200)]
Fixed mismatching title overline.
Serhiy Storchaka [Sun, 4 Dec 2016 08:20:55 +0000 (10:20 +0200)]
Fixed double hyphens that are rendered to literal en-dashes in the documenation.
Steve Dower [Sat, 3 Dec 2016 19:56:20 +0000 (11:56 -0800)]
Ensures intermediate directory is created before accessing it.
Steve Dower [Sat, 3 Dec 2016 19:18:53 +0000 (11:18 -0800)]
Issue #28846: Various installer fixes
Serhiy Storchaka [Fri, 2 Dec 2016 21:34:24 +0000 (23:34 +0200)]
Merge heads
Serhiy Storchaka [Fri, 2 Dec 2016 21:13:53 +0000 (23:13 +0200)]
Issue #21818: Fixed references to classes that have names matching with module
names.
doko@ubuntu.com [Thu, 1 Dec 2016 20:42:56 +0000 (21:42 +0100)]
- Import latest config.sub config.guess files
Guido van Rossum [Tue, 29 Nov 2016 17:46:21 +0000 (09:46 -0800)]
Issue #28790: Fix error when using Generic and __slots__ (Ivan L)
Łukasz Langa [Sat, 26 Nov 2016 22:00:39 +0000 (14:00 -0800)]
Fixes #24142: [configparser] always join multiline values to not leave the parser in an invalid state
Serhiy Storchaka [Sat, 26 Nov 2016 11:43:28 +0000 (13:43 +0200)]
Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges
in the documentation.
Berker Peksag [Fri, 25 Nov 2016 17:10:07 +0000 (20:10 +0300)]
Add missing square bracket in typing.get_type_hints()
Berker Peksag [Fri, 25 Nov 2016 16:46:57 +0000 (19:46 +0300)]
Issue #28738: Document SIGBREAK as an acceptable value on Windows
Patch by Wojtek Ruszczewski.
Guido van Rossum [Thu, 24 Nov 2016 19:56:00 +0000 (11:56 -0800)]
Issue #28773: Add typing.FrozenSet docs. (Manuel Krebber)
Steve Dower [Wed, 23 Nov 2016 18:23:47 +0000 (10:23 -0800)]
Issue #28783: Embedded and nuget packages incorrect reference missing bdist_wininst command.
Yury Selivanov [Mon, 21 Nov 2016 22:47:27 +0000 (17:47 -0500)]
Issue #28652: Partially rollback previous changes
Allow AF_UNIX in create_server & create_connection
Victor Stinner [Mon, 21 Nov 2016 15:44:01 +0000 (16:44 +0100)]
Issue #28688: Remove warnings.filters check from regrtest
Reloading the warnings module duplicates filters in warnings.filters. Fixing
the issue is tricky. It was decided to simply remove the check from Python 3.5,
since the bug only impacts Python unit tests, not real applications.
The check is kept in Python 3.6 and newer.
Martin Panter [Mon, 21 Nov 2016 13:36:36 +0000 (13:36 +0000)]
Fix indentation
Serhiy Storchaka [Mon, 21 Nov 2016 09:37:18 +0000 (11:37 +0200)]
Fixed the documentation of the structure PyMethodDef.
The fields ml_name and ml_doc are of type "const char *" rather of "char *".
Gregory P. Smith [Mon, 21 Nov 2016 08:11:47 +0000 (00:11 -0800)]
replace --with-optimizations references with --enable-optimizations in docs.
Martin Panter [Mon, 21 Nov 2016 00:15:20 +0000 (00:15 +0000)]
Change double hyphens (en dashes) to em (longer) dashes
Guido van Rossum [Mon, 21 Nov 2016 02:01:29 +0000 (18:01 -0800)]
Issue #28556: upstream improvements to docstrings and error messages by Ivan Levkivskyi (#331)
Martin Panter [Sun, 20 Nov 2016 07:58:35 +0000 (07:58 +0000)]
Issue #25659: Change assert to TypeError in from_buffer/_copy()
Based on suggestion by Eryk Sun.
Martin Panter [Sun, 20 Nov 2016 07:56:37 +0000 (07:56 +0000)]
Issue #10656: Fix out-of-tree building on AIX
The ld_so_aix script and python.exp file are created in the build directory.
Patch by Tristan Carel and Michael Haubenwallner.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sun, 20 Nov 2016 21:07:42 +0000 (21:07 +0000)]
Rename the new --with-optimiations flag to --enable-optimizations.
Serhiy Storchaka [Sun, 20 Nov 2016 18:04:54 +0000 (20:04 +0200)]
Issue #28666: Fix removing readonly directories on Windows.
Serhiy Storchaka [Sun, 20 Nov 2016 15:42:32 +0000 (17:42 +0200)]
Issue #28666: Now test.support.rmtree is able to remove unwritable or
unreadable directories on Windows too.
Serhiy Storchaka [Sun, 20 Nov 2016 15:20:19 +0000 (17:20 +0200)]
Issue #28750: Fixed docs of of unicode-escape an raw-unicode-escape C API.
Patch by Xiang Zhang.
Serhiy Storchaka [Sun, 20 Nov 2016 14:16:06 +0000 (16:16 +0200)]
Issue #28666: Now test.support.rmtree is able to remove unwritable or
unreadable directories.
Serhiy Storchaka [Sun, 20 Nov 2016 10:13:44 +0000 (12:13 +0200)]
Issue #19569: Suggested more appropriate replacements for deprecated Unicode
C API functions.
Serhiy Storchaka [Sun, 20 Nov 2016 06:47:21 +0000 (08:47 +0200)]
Issue #28715: Added error checks for PyUnicode_AsUTF8().
Steve Dower [Sun, 20 Nov 2016 03:03:54 +0000 (19:03 -0800)]
Issue #28732: Raise ValueError when argv[0] is empty.
Steve Dower [Sun, 20 Nov 2016 02:33:39 +0000 (18:33 -0800)]
Issue #28732: Fix crash in os.spawnv() with no elements in args
Prevents crashes in some other posixmodule.c functions
Guido van Rossum [Sat, 19 Nov 2016 18:32:41 +0000 (10:32 -0800)]
Issue #28556: two more small upstream changes by Ivan Levkivskyi (#329, #330)
Steve Dower [Thu, 17 Nov 2016 00:32:22 +0000 (16:32 -0800)]
Fixes incorrect path in nuget package build.
Serhiy Storchaka [Wed, 16 Nov 2016 14:12:34 +0000 (16:12 +0200)]
Fixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701).
Serhiy Storchaka [Wed, 16 Nov 2016 13:40:39 +0000 (15:40 +0200)]
Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.
The latter function is more readable, faster and doesn't raise exceptions.
Based on patch by Xiang Zhang.
Serhiy Storchaka [Wed, 16 Nov 2016 08:17:58 +0000 (10:17 +0200)]
Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
The latter function is more readable, faster and doesn't raise exceptions.
Donald Stufft [Wed, 16 Nov 2016 02:18:20 +0000 (21:18 -0500)]
Merge - upgrade pip/setuptools
Donald Stufft [Wed, 16 Nov 2016 02:17:43 +0000 (21:17 -0500)]
Upgrade pip to 9.0.1 and setuptools to 28.8.0
Yury Selivanov [Tue, 15 Nov 2016 20:26:34 +0000 (15:26 -0500)]
Issue #28704: Fix create_unix_server to support Path-like objects
Yury Selivanov [Tue, 15 Nov 2016 20:20:34 +0000 (15:20 -0500)]
Issue #28703: Fix asyncio.iscoroutinefunction to handle Mock objects.
Guido van Rossum [Tue, 15 Nov 2016 17:48:06 +0000 (09:48 -0800)]
Issue #28556: Allow keyword syntax for NamedTuple (Ivan Levkivskyi) (upstream #321)
Xavier de Gaye [Tue, 15 Nov 2016 15:57:52 +0000 (16:57 +0100)]
Issue 28668: Skip tests where instanciation of multiprocessing.Queue
would raise ImportError
Serhiy Storchaka [Mon, 14 Nov 2016 17:29:59 +0000 (19:29 +0200)]
Issue #28563: Make plural form selection more lenient and accepting
non-integer numbers. Django tests depend on this.
Serhiy Storchaka [Mon, 14 Nov 2016 17:25:56 +0000 (19:25 +0200)]
Issue #28563: Make plural form selection more lenient and accepting
non-integer numbers. Django tests depend on this.
Serhiy Storchaka [Mon, 14 Nov 2016 17:22:12 +0000 (19:22 +0200)]
Issue #28563: Make plural form selection more lenient and accepting
non-integer numbers. Django tests depend on this.
Martin Panter [Mon, 14 Nov 2016 04:26:36 +0000 (04:26 +0000)]
Issue #28000: Fix gethostbyname_r() usage on AIX with _LINUX_SOURCE_COMPAT
Patch by Matthieu S.
Martin Panter [Mon, 14 Nov 2016 01:58:57 +0000 (01:58 +0000)]
Issue #28016: Skip /dev/tty seekable() test on AIX
Martin Panter [Sun, 13 Nov 2016 23:25:06 +0000 (23:25 +0000)]
Issue #28678: Fix references to numeric_owner parameter
Xavier de Gaye [Sun, 13 Nov 2016 18:39:48 +0000 (19:39 +0100)]
Fix temporary file not deleted in test_socket
Ned Deily [Sat, 12 Nov 2016 21:35:48 +0000 (16:35 -0500)]
Issue #28676: Prevent missing 'getentropy' declaration warning on macOS.
Patch by Gareth Rees.
Serhiy Storchaka [Sat, 12 Nov 2016 20:47:16 +0000 (22:47 +0200)]
Fixed the documentation of parse_constant argument in json.load().
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.
Serhiy Storchaka [Sat, 12 Nov 2016 12:35:46 +0000 (14:35 +0200)]
Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
when decode astral characters.
Serhiy Storchaka [Sat, 12 Nov 2016 12:29:48 +0000 (14:29 +0200)]
Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
when decode astral characters.
Serhiy Storchaka [Sat, 12 Nov 2016 12:28:06 +0000 (14:28 +0200)]
Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
when decode astral characters.
Guido van Rossum [Fri, 11 Nov 2016 23:54:04 +0000 (15:54 -0800)]
Issue 28644: Document recent changes in typing.py (Ivan L)
Serhiy Storchaka [Fri, 11 Nov 2016 15:10:24 +0000 (17:10 +0200)]
Issue #28664: test_bz2 now works on non-Windows platforms without bunzip2
(e.g. on Android).
Serhiy Storchaka [Fri, 11 Nov 2016 10:05:01 +0000 (12:05 +0200)]
Issue #19398: Extra slash no longer added to sys.path components in case of
empty compile-time PYTHONPATH components. This fixes some tests in -S or -I
modes.
Serhiy Storchaka [Fri, 11 Nov 2016 09:42:47 +0000 (11:42 +0200)]
Issue #23839: Various caches now are cleared before running every test file.
Guido van Rossum [Thu, 10 Nov 2016 16:29:18 +0000 (08:29 -0800)]
Issue #28649: fix second issue with _ForwardRef (#328)
Guido van Rossum [Thu, 10 Nov 2016 16:24:06 +0000 (08:24 -0800)]
Issue #28649: fix first issue with _ForwardRef (#327)
Yury Selivanov [Wed, 9 Nov 2016 23:55:45 +0000 (18:55 -0500)]
Issue #28653: Fix a refleak in functools.lru_cache.
Serhiy Storchaka [Wed, 9 Nov 2016 21:49:02 +0000 (23:49 +0200)]
Issue #28649: Clear the typing module caches when search for reference leaks.
Guido van Rossum [Wed, 9 Nov 2016 21:23:04 +0000 (13:23 -0800)]
Issue #28649: typing-clear-caches.patch
Guido van Rossum [Wed, 9 Nov 2016 21:18:59 +0000 (13:18 -0800)]
Issue #28649: fix-typing-test-v2.diff
Guido van Rossum [Wed, 9 Nov 2016 21:12:51 +0000 (13:12 -0800)]
Issue #28556: More typing.py updates from upstream.
Yury Selivanov [Wed, 9 Nov 2016 20:47:00 +0000 (15:47 -0500)]
Issue #28652: Make loop methods reject socket kinds they do not support.
Yury Selivanov [Wed, 9 Nov 2016 14:42:14 +0000 (09:42 -0500)]
ssue #27942: Fix memory leak in codeobject.c
Andrew Kuchling [Wed, 9 Nov 2016 03:33:31 +0000 (22:33 -0500)]
Use http instead of https, due to certificate error
Andrew Kuchling [Wed, 9 Nov 2016 03:07:43 +0000 (22:07 -0500)]
Update URL for requests documentation after IRC request
Yury Selivanov [Wed, 9 Nov 2016 00:57:44 +0000 (19:57 -0500)]
Issue #28639: Fix inspect.isawaitable to always return bool
Patch by Justin Mayfield.
Yury Selivanov [Wed, 9 Nov 2016 00:19:28 +0000 (19:19 -0500)]
genobject: Remove unnecessary tp_free slots from aiter_wrapper and coro_wrapper
Yury Selivanov [Wed, 9 Nov 2016 00:16:01 +0000 (19:16 -0500)]
asyncio: Fix _format_coroutine for coroutine-like objects w/o __name__
Some built-in coroutine-like objects might not have __name__ or
__qualname__. A good example of such are 'asend', 'aclose' and
'athrow' coroutine methods of asynchronous generators.
Serhiy Storchaka [Tue, 8 Nov 2016 21:12:46 +0000 (23:12 +0200)]
Fixed possible abort in ceval loop if _PyUnicode_FromId() fails.
Every opcode should end with DISPATCH() or goto error.
Serhiy Storchaka [Tue, 8 Nov 2016 19:26:14 +0000 (21:26 +0200)]
Issue #28563: Fixed possible DoS and arbitrary code execution when handle
plural form selections in the gettext module. The expression parser now
supports exact syntax supported by GNU gettext.
Serhiy Storchaka [Tue, 8 Nov 2016 19:20:09 +0000 (21:20 +0200)]
Issue #28563: Fixed possible DoS and arbitrary code execution when handle
plural form selections in the gettext module. The expression parser now
supports exact syntax supported by GNU gettext.
Serhiy Storchaka [Tue, 8 Nov 2016 19:17:46 +0000 (21:17 +0200)]
Issue #28563: Fixed possible DoS and arbitrary code execution when handle
plural form selections in the gettext module. The expression parser now
supports exact syntax supported by GNU gettext.
Serhiy Storchaka [Tue, 8 Nov 2016 18:21:22 +0000 (20:21 +0200)]
Issue #28585: Restored docstring of os._isdir().
Yury Selivanov [Tue, 8 Nov 2016 00:00:46 +0000 (19:00 -0500)]
Issue #28613: Expose asyncio._get_running_loop() and _set_running_loop()
Yury Selivanov [Mon, 7 Nov 2016 21:00:50 +0000 (16:00 -0500)]
Issue #28634: Fix asyncio.isfuture() to support mocks
Yury Selivanov [Mon, 7 Nov 2016 20:35:25 +0000 (15:35 -0500)]
Issue #27392: Document loop.connect_accepted_socket()
Patch by Jim Fulton.
Berker Peksag [Mon, 7 Nov 2016 20:36:14 +0000 (23:36 +0300)]
Issue #28088: Don't include self in method signature
Also update versionadded directive to 3.5.3.
Benjamin Peterson [Sun, 6 Nov 2016 21:01:07 +0000 (13:01 -0800)]
make sure dict view types are initialized
Berker Peksag [Sun, 6 Nov 2016 18:15:01 +0000 (21:15 +0300)]
Issue #21864: Remove outdated section about exceptions from the tutorial
Move the still relevant parts of it to the previous
chapter, "Errors and Exceptions".
Serhiy Storchaka [Sun, 6 Nov 2016 16:44:42 +0000 (18:44 +0200)]
Issue #23996: Added _PyGen_SetStopIterationValue for safe raising
StopIteration with value. More safely handle non-normalized exceptions
in -_PyGen_FetchStopIterationValue.
Martin Panter [Sat, 5 Nov 2016 02:40:31 +0000 (02:40 +0000)]
Fix spacing after C++ in documentation
Martin Panter [Sat, 5 Nov 2016 01:11:36 +0000 (01:11 +0000)]
Issue #28485: Check for negative workers even without ProcessPoolExecutor
This matches the documentation, and passes the test suite when multithreading
is disabled.
Ned Deily [Fri, 4 Nov 2016 21:03:34 +0000 (17:03 -0400)]
Issue #28616: Correct help for sys.version_info releaselevel component.
Patch by Anish Tambe.
Yury Selivanov [Fri, 4 Nov 2016 18:29:28 +0000 (14:29 -0400)]
Issue #28613: Fix get_event_loop() to return the current loop
when called from coroutines or callbacks.
INADA Naoki [Fri, 4 Nov 2016 07:33:47 +0000 (16:33 +0900)]
Issue #28088: Document Transport.set_protocol and get_protocol
Yury Selivanov [Thu, 3 Nov 2016 22:35:23 +0000 (15:35 -0700)]
asyncio: Sync with upstream
Yury Selivanov [Thu, 3 Nov 2016 22:09:24 +0000 (15:09 -0700)]
Issue #28600: Optimize loop.call_soon().
Run expensive type checks only in debug mode. In addition, stop
supporting passing handles to loop.run_in_executor.
Guido van Rossum [Thu, 3 Nov 2016 21:17:25 +0000 (14:17 -0700)]
Issue #26980: Improve docs for create_unix_connection(). By Mariatta.
Serhiy Storchaka [Thu, 3 Nov 2016 13:37:01 +0000 (15:37 +0200)]
Issue #28387: Fixed possible crash in _io.TextIOWrapper deallocator when
the garbage collector is invoked in other thread.
Based on patch by Sebastian Cufre.
Donald Stufft [Wed, 2 Nov 2016 19:53:58 +0000 (15:53 -0400)]
Merge new pip/setuptools from 3.4