]>
granicus.if.org Git - python/log
Victor Stinner [Tue, 22 Nov 2016 21:53:18 +0000 (22:53 +0100)]
Issue #28770: Update python-gdb.py for fastcalls
Frame.is_other_python_frame() now also handles _PyCFunction_FastCallDict()
frames.
Thanks to the new code to handle fast calls, python-gdb.py is now also able to
detect the <built-in id method of module ...> frame.
Xavier de Gaye [Thu, 8 Dec 2016 11:21:00 +0000 (12:21 +0100)]
Issue #26941: Fix test_threading that hangs on the Android armv7 qemu emulator.
Xavier de Gaye [Thu, 8 Dec 2016 10:26:18 +0000 (11:26 +0100)]
Issue #26940: Fix test_importlib that hangs on the Android armv7 qemu emulator.
Xavier de Gaye [Thu, 8 Dec 2016 10:06:56 +0000 (11:06 +0100)]
Issue #26939: Add the support.setswitchinterval() function to fix
test_functools hanging on the Android armv7 qemu emulator.
Benjamin Peterson [Thu, 8 Dec 2016 07:54:28 +0000 (23:54 -0800)]
guard HAVE_LONG_LONG definition to prevent redefinition (#28898)
Ned Deily [Thu, 8 Dec 2016 04:37:12 +0000 (23:37 -0500)]
Issue #28900: Update documentation sidebar for 3.6.0rc.
Ned Deily [Thu, 8 Dec 2016 04:34:49 +0000 (23:34 -0500)]
Issue #28900: Update documentation sidebar for 3.6.0rc.
Yury Selivanov [Thu, 8 Dec 2016 00:19:56 +0000 (16:19 -0800)]
Issue #28635: Drop the note that whatsnew is incomplete
Serhiy Storchaka [Wed, 7 Dec 2016 11:31:47 +0000 (13:31 +0200)]
Merge from 3.5.
Serhiy Storchaka [Wed, 7 Dec 2016 11:31:20 +0000 (13:31 +0200)]
Change order of io.UnsupportedOperation base classes.
This makes tests passing after changes by issue #5322.
INADA Naoki [Wed, 7 Dec 2016 09:34:44 +0000 (18:34 +0900)]
Issue #28731: Optimize _PyDict_NewPresized() to create correct size dict.
Improve speed of dict literal with constant keys up to 30%.
Serhiy Storchaka [Wed, 7 Dec 2016 09:26:49 +0000 (11:26 +0200)]
Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.
Original patch by Andreas Stührk.
Serhiy Storchaka [Wed, 7 Dec 2016 09:00:06 +0000 (11:00 +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 [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.
Ned Deily [Wed, 7 Dec 2016 06:59:27 +0000 (01:59 -0500)]
Prepare for 3.6.1. Any further 3.6.0 release candidates and 3.6.0 final will be cherrypicked and merged here.
Ned Deily [Wed, 7 Dec 2016 00:04:14 +0000 (19:04 -0500)]
Added tag v3.6.0rc1 for changeset
29a273eee9a5
Ned Deily [Wed, 7 Dec 2016 00:02:30 +0000 (19:02 -0500)]
Version bump for 3.6.0rc1
Ned Deily [Tue, 6 Dec 2016 23:53:16 +0000 (18:53 -0500)]
Update pydoc topics for 3.6.0rc1
Ned Deily [Tue, 6 Dec 2016 22:31:32 +0000 (17:31 -0500)]
Regenerate configure with autoconf 2.69.
Ned Deily [Tue, 6 Dec 2016 22:12:47 +0000 (17:12 -0500)]
Issue #28835: Tidy previous showwarning changes based on review comments.
Patch by Serhiy Storchaka.
Ned Deily [Tue, 6 Dec 2016 22:00:44 +0000 (17:00 -0500)]
Update the Mac installer README file for 3.6.0.
Serhiy Storchaka [Tue, 6 Dec 2016 17:15:29 +0000 (19:15 +0200)]
Issue #27030: Unknown escapes in re.sub() replacement template are allowed
again. But they still are deprecated and will be disabled in 3.7.
Serhiy Storchaka [Tue, 6 Dec 2016 11:45:44 +0000 (13:45 +0200)]
Fixed misplaced comment.
Serhiy Storchaka [Tue, 6 Dec 2016 11:43:46 +0000 (13:43 +0200)]
Fixed misplaced comment.
Victor Stinner [Tue, 6 Dec 2016 10:02:12 +0000 (11:02 +0100)]
warnings: Fix the issue number
The fix for catch_warnings() is the issue #28835 (not the issue #28089).
Victor Stinner [Tue, 6 Dec 2016 09:53:52 +0000 (10:53 +0100)]
catch_warnings() calls showwarning() if overriden
Issue #28089: Fix a regression introduced in warnings.catch_warnings(): call
warnings.showwarning() if it was overriden inside the context manager.
Benjamin Peterson [Tue, 6 Dec 2016 06:31:12 +0000 (22:31 -0800)]
merge 3.5
Benjamin Peterson [Tue, 6 Dec 2016 06:30:55 +0000 (22:30 -0800)]
rm unused import
Serhiy Storchaka [Mon, 5 Dec 2016 22:17:45 +0000 (00:17 +0200)]
Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.
Serhiy Storchaka [Mon, 5 Dec 2016 22:13:34 +0000 (00:13 +0200)]
Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.
Nick Coghlan [Mon, 5 Dec 2016 06:47:55 +0000 (16:47 +1000)]
Issue #23722: improve __classcell__ compatibility
Handling zero-argument super() in __init_subclass__ and
__set_name__ involved moving __class__ initialisation to
type.__new__. This requires cooperation from custom
metaclasses to ensure that the new __classcell__ entry
is passed along appropriately.
The initial implementation of that change resulted in abruptly
broken zero-argument super() support in metaclasses that didn't
adhere to the new requirements (such as Django's metaclass for
Model definitions).
The updated approach adopted here instead emits a deprecation
warning for those cases, and makes them work the same way they
did in Python 3.5.
This patch also improves the related class machinery documentation
to cover these details and to include more reader-friendly
cross-references and index entries.
Raymond Hettinger [Sun, 4 Dec 2016 19:00:34 +0000 (11:00 -0800)]
Neaten-up and extend the examples in the random module docs.
Serhiy Storchaka [Sun, 4 Dec 2016 13:43:37 +0000 (15:43 +0200)]
Fixed mismatching title overline.
Serhiy Storchaka [Sun, 4 Dec 2016 13:42:13 +0000 (15:42 +0200)]
Fixed mismatching title overline.
Serhiy Storchaka [Sun, 4 Dec 2016 08:22:09 +0000 (10:22 +0200)]
Fixed double hyphens that are rendered to literal en-dashes in the documenation.
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 23:57:00 +0000 (15:57 -0800)]
Revert unintended merge
Steve Dower [Sat, 3 Dec 2016 19:56:44 +0000 (11:56 -0800)]
Ensures intermediate directory is created before using it
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:24:02 +0000 (11:24 -0800)]
Issue #28846: Various installer fixes
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:15:22 +0000 (23:15 +0200)]
Issue #21818: Fixed references to classes that have names matching with module
names.
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.
Nick Coghlan [Fri, 2 Dec 2016 10:29:57 +0000 (20:29 +1000)]
Issue #27172: Undeprecate inspect.getfullargspec()
This is still useful for single source Python 2/3 code
migrating away from inspect.getargspec(), but that wasn't
clear with the documented deprecation in place.
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.
doko@ubuntu.com [Thu, 1 Dec 2016 20:42:56 +0000 (21:42 +0100)]
- Import latest config.sub config.guess files
Yury Selivanov [Thu, 1 Dec 2016 16:36:22 +0000 (11:36 -0500)]
Issue #28843: Fix asyncio C Task to handle exceptions __traceback__.
Guido van Rossum [Tue, 29 Nov 2016 17:46:26 +0000 (09:46 -0800)]
Issue #28790: Fix error when using Generic and __slots__ (Ivan L) (3.5->3.6)
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)
Victor Stinner [Tue, 29 Nov 2016 15:55:04 +0000 (16:55 +0100)]
Add TCP_CONGESTION and TCP_USER_TIMEOUT
Issue #26273: Add new socket.TCP_CONGESTION (Linux 2.6.13) and
socket.TCP_USER_TIMEOUT (Linux 2.6.37) constants.
Patch written by Omar Sandoval.
Serhiy Storchaka [Tue, 29 Nov 2016 07:54:17 +0000 (09:54 +0200)]
Issue #28797: Modifying the class __dict__ inside the __set_name__ method of
a descriptor that is used inside that class no longer prevents calling the
__set_name__ method of other descriptors.
Yury Selivanov [Mon, 28 Nov 2016 16:45:36 +0000 (11:45 -0500)]
Issue #28635: Document Python 3.6 opcode changes
Thanks to Serhiy Storchaka for pointing out the missing notes.
Patch by Elvis Pranskevichus.
Zachary Ware [Mon, 28 Nov 2016 06:19:07 +0000 (00:19 -0600)]
Fix grammar in whatsnew
Łukasz Langa [Sat, 26 Nov 2016 22:02:48 +0000 (14:02 -0800)]
Merge 3.5, fix for #24142
Ł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:49:59 +0000 (13:49 +0200)]
Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges
in the documentation.
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:30 +0000 (20:10 +0300)]
Merge from 3.5
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:47:43 +0000 (19:47 +0300)]
Issue #28738: Merge from 3.6
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.
Berker Peksag [Fri, 25 Nov 2016 14:31:27 +0000 (17:31 +0300)]
Issue #28793: Fix c/p error in AsyncGenerator documentation
Patch by Julien Palard.
Victor Stinner [Thu, 24 Nov 2016 21:33:01 +0000 (22:33 +0100)]
Fix _PyGen_yf()
Issue #28782: Fix a bug in the implementation ``yield from`` when checking
if the next instruction is YIELD_FROM. Regression introduced by WORDCODE
(issue #26647).
Reviewed by Serhiy Storchaka and Yury Selivanov.
Guido van Rossum [Thu, 24 Nov 2016 19:56:40 +0000 (11:56 -0800)]
Issue #28773: Add typing.FrozenSet docs. (Manuel Krebber) (3.5->3.6)
Guido van Rossum [Thu, 24 Nov 2016 19:56:00 +0000 (11:56 -0800)]
Issue #28773: Add typing.FrozenSet docs. (Manuel Krebber)
Raymond Hettinger [Thu, 24 Nov 2016 18:50:34 +0000 (10:50 -0800)]
Issue #27100: Silence deprecation warning in Lib/test/test_with.py
INADA Naoki [Thu, 24 Nov 2016 08:20:40 +0000 (17:20 +0900)]
Issue #28532: Add what's new entry for python -VV option
Steve Dower [Wed, 23 Nov 2016 19:42:35 +0000 (11:42 -0800)]
Issue #28783: Embedded and nuget packages incorrect reference missing bdist_wininst command.
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.
Raymond Hettinger [Tue, 22 Nov 2016 19:50:40 +0000 (11:50 -0800)]
Issue #27100: Fix ref leak
Steve Dower [Tue, 22 Nov 2016 19:48:52 +0000 (11:48 -0800)]
Issue #28573: Missing sys._mercurial info and other build issues.
Victor Stinner [Tue, 22 Nov 2016 14:30:38 +0000 (15:30 +0100)]
Issue #28727: Optimize pattern_richcompare() for a==a
A pattern is equal to itself.
Victor Stinner [Tue, 22 Nov 2016 14:23:00 +0000 (15:23 +0100)]
Issue #28727: Fix typo in pattern_richcompare()
Typo catched by Serhiy Storchaka, thanks!
Victor Stinner [Tue, 22 Nov 2016 12:09:39 +0000 (13:09 +0100)]
Issue #28023: Fix python-gdb.py on old GDB versions
Replace int(value.address)+offset with value.cast(unsigned char*)+offset.
It seems like int(value.address) fails on old versions of GDB.
INADA Naoki [Tue, 22 Nov 2016 10:40:58 +0000 (19:40 +0900)]
Issue #28023: Fix python-gdb.py didn't support new dict implementation
Ned Deily [Tue, 22 Nov 2016 06:21:04 +0000 (01:21 -0500)]
Start 3.6.0rc1. (Note, patch level was incorrectly set to 3.6.0b4+ following b3. It is now b4+ again.)
Ned Deily [Tue, 22 Nov 2016 04:31:39 +0000 (23:31 -0500)]
Added tag v3.6.0b4 for changeset
18496abdb3d5
Ned Deily [Tue, 22 Nov 2016 04:30:55 +0000 (23:30 -0500)]
Version bump for 3.6.0b4
Ned Deily [Tue, 22 Nov 2016 04:24:38 +0000 (23:24 -0500)]
Update pydoc topics for 3.6.0b4
Raymond Hettinger [Tue, 22 Nov 2016 01:24:23 +0000 (17:24 -0800)]
Issue #27100: With statement reports missing __enter__ before __exit__. (Contributed by Jonathan Ellington.)
Raymond Hettinger [Tue, 22 Nov 2016 00:59:04 +0000 (16:59 -0800)]
Issue #26163: Disable periodically failing test which was overly demanding of the frozenset hash function effectiveness
Raymond Hettinger [Tue, 22 Nov 2016 00:48:10 +0000 (16:48 -0800)]
Issue #5830: Add test for
ee476248a74a . (Contributed by Serhiy Storchaka.)
Raymond Hettinger [Tue, 22 Nov 2016 00:31:02 +0000 (16:31 -0800)]
Issue #27825: Improve for statistics data arguments. (Contributed by Mariatta Wijaya.)
Raymond Hettinger [Tue, 22 Nov 2016 00:29:50 +0000 (16:29 -0800)]
Issue #28587: Improve list examples in the tutorial
Raymond Hettinger [Mon, 21 Nov 2016 23:32:08 +0000 (15:32 -0800)]
Issue #28743: Reduce memory consumption for random module tests
Raymond Hettinger [Mon, 21 Nov 2016 23:13:18 +0000 (15:13 -0800)]
Fix grammar
Raymond Hettinger [Mon, 21 Nov 2016 23:12:54 +0000 (15:12 -0800)]
Issue 28587: list.index documentation missing start and stop arguments. (Contributed by Mariatta Wijaya.)
Yury Selivanov [Mon, 21 Nov 2016 22:47:41 +0000 (17:47 -0500)]
Merge 3.5 (issue #28652)
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
Raymond Hettinger [Mon, 21 Nov 2016 22:34:33 +0000 (14:34 -0800)]
Issue 28475: Improve error message for random.sample() with k < 0. (Contributed by Francisco Couzo).
Serhiy Storchaka [Mon, 21 Nov 2016 22:29:42 +0000 (00:29 +0200)]
Issue #28752: Restored the __reduce__() methods of datetime objects.
Raymond Hettinger [Mon, 21 Nov 2016 22:24:32 +0000 (14:24 -0800)]
Issue 28751: Fix comments in code.h. (Contributed by Ned Batchelder).
Raymond Hettinger [Mon, 21 Nov 2016 22:13:07 +0000 (14:13 -0800)]
Add analysis section to motivate the single server queue example
Raymond Hettinger [Mon, 21 Nov 2016 20:33:50 +0000 (12:33 -0800)]
Misc readability and organization improvements for the random docs
Raymond Hettinger [Mon, 21 Nov 2016 18:52:04 +0000 (10:52 -0800)]
Add a seealso section for further reference and skill building
Raymond Hettinger [Mon, 21 Nov 2016 18:16:01 +0000 (10:16 -0800)]
Simplify code in an example
Ethan Furman [Mon, 21 Nov 2016 17:22:05 +0000 (09:22 -0800)]
close issue28172: Change all example enum member names to uppercase, per Guido; patch by Chris Angelico.
Ethan Furman [Mon, 21 Nov 2016 16:39:32 +0000 (08:39 -0800)]
issue28082: actually include NEWS entry
Ethan Furman [Mon, 21 Nov 2016 16:29:31 +0000 (08:29 -0800)]
closes issue28082: doc update and NEWS entry