- 06 Dec, 2016 3 commits
-
-
Victor Stinner authored
Issue #28089: Fix a regression introduced in warnings.catch_warnings(): call warnings.showwarning() if it was overriden inside the context manager.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
- 05 Dec, 2016 3 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Nick Coghlan authored
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.
-
- 04 Dec, 2016 5 commits
-
-
Raymond Hettinger authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
- 03 Dec, 2016 5 commits
-
-
Steve Dower authored
-
Steve Dower authored
-
Steve Dower authored
-
Steve Dower authored
-
Steve Dower authored
-
- 02 Dec, 2016 4 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
names.
-
Serhiy Storchaka authored
names.
-
Nick Coghlan authored
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.
-
- 01 Dec, 2016 2 commits
-
-
doko@ubuntu.com authored
-
Yury Selivanov authored
-
- 29 Nov, 2016 4 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Victor Stinner authored
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 authored
a descriptor that is used inside that class no longer prevents calling the __set_name__ method of other descriptors.
-
- 28 Nov, 2016 2 commits
-
-
Yury Selivanov authored
Thanks to Serhiy Storchaka for pointing out the missing notes. Patch by Elvis Pranskevichus.
-
Zachary Ware authored
-
- 26 Nov, 2016 4 commits
-
-
Łukasz Langa authored
-
Łukasz Langa authored
Fixes #24142: [configparser] always join multiline values to not leave the parser in an invalid state
-
Serhiy Storchaka authored
in the documentation.
-
Serhiy Storchaka authored
in the documentation.
-
- 25 Nov, 2016 5 commits
-
-
Berker Peksag authored
-
Berker Peksag authored
-
Berker Peksag authored
-
Berker Peksag authored
Patch by Wojtek Ruszczewski.
-
Berker Peksag authored
Patch by Julien Palard.
-
- 24 Nov, 2016 3 commits
-
-
Victor Stinner authored
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 authored
-
Guido van Rossum authored
-