- 06 Agu, 2018 1 kayıt (commit)
-
-
Berker Peksag yazdı
-
- 02 Haz, 2018 1 kayıt (commit)
-
-
Zach Mitchell yazdı
This is a simple grammatical fix correcting "...object whose `__self__` attributes is ..." to "...object whose `__self__` attribute is ...".
-
- 20 May, 2018 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
A DeprecationWarning was emitted in Python 3.6-3.7.
-
Serhiy Storchaka yazdı
-
- 08 May, 2018 1 kayıt (commit)
-
-
Ivan Levkivskyi yazdı
-
- 10 Mar, 2018 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Eric Appelt yazdı
`int` fails back to `__trunc__` is `__int__` isn't defined, so cover that in the docs.
-
- 13 Şub, 2018 1 kayıt (commit)
-
-
Nick Coghlan yazdı
-
- 05 Şub, 2018 1 kayıt (commit)
-
-
Cheryl Sabella yazdı
When `__getattr__` is implemented, attribute lookup will always fall back to that, even if the initial failure comes from `__getattribute__` or a descriptor's `__get__` method (including property methods).
-
- 27 Ock, 2018 1 kayıt (commit)
-
-
Cheryl Sabella yazdı
Make it clear that setting __class__ on a module has worked since 3.5, but support for __getattr__ and __dir__ on module instances requires 3.7+ Patch by Cheryl Sabella.
-
- 19 Ara, 2017 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
* Fix #32377: improve __del__ docs and fix mention about resurrection * Mention that CPython only calls __del__ once.
-
- 14 Ara, 2017 1 kayıt (commit)
-
-
Ivan Levkivskyi yazdı
Implement PEP 562: module __getattr__ and __dir__. The implementation simply updates module_getattro and module_dir.
-
- 06 Eki, 2017 1 kayıt (commit)
-
-
Yury Selivanov yazdı
-
- 13 Eyl, 2017 1 kayıt (commit)
-
-
Louie Lu yazdı
-
- 08 Eyl, 2017 1 kayıt (commit)
-
-
Nick Coghlan yazdı
f_trace_lines: enable/disable line trace events f_trace_opcodes: enable/disable opcode trace events These are intended primarily for testing of the interpreter itself, as they make it much easier to emulate signals arriving at unfortunate times.
-
- 08 Haz, 2017 1 kayıt (commit)
-
-
Lisa Roach yazdı
The cell_contents attribute of the cell object is now writable.
-
- 26 May, 2017 1 kayıt (commit)
-
-
Aaron Hall, MBA yazdı
* correct __slots__ documentation with minimal changes * add multiple inheritance info * remove mapping from description
-
- 15 May, 2017 1 kayıt (commit)
-
-
csabella yazdı
The data model section of the language reference was written well before the zero-argument form of super() was added. To avoid giving the impression that they're doing something unusual, this updates the description of `__new__` and `__init__` to use the zero-argument form. Patch by Cheryl Sabella.
-
- 13 May, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
rather than `format(str(self), '')`.
-
- 01 May, 2017 1 kayıt (commit)
-
-
Jelle Zijlstra yazdı
-
- 26 Nis, 2017 1 kayıt (commit)
-
-
csabella yazdı
Builtin container types have two potential link targets in the docs: - their entry in the list of builtin callables - their type documentation This change brings `bytes` and `bytearray` into line with other container types by having cross-references default to linking to their type documentation, rather than their builtin callable entry.
-
- 24 Nis, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 23 Nis, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 03 Ock, 2017 1 kayıt (commit)
-
-
Berker Peksag yazdı
Patch by Jim Fasarakis-Hilliard.
-
- 02 Ock, 2017 1 kayıt (commit)
-
-
Berker Peksag yazdı
Patch by Jim Fasarakis-Hilliard.
-
- 19 Ara, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #28383: __hash__ documentation recommends naive XOR to combine but this is suboptimal. Update the doc to suggest to reuse the hash() method using a tuple, with an example.
-
- 15 Ara, 2016 2 kayıt (commit)
-
-
Yury Selivanov yazdı
Patch by Eric Appelt.
-
Yury Selivanov yazdı
Patch by Eric Appelt. (grafted from 78c8f450b84ca1864123ec487d363eb151f61a4a)
-
- 05 Ara, 2016 1 kayıt (commit)
-
-
Nick Coghlan yazdı
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.
-
- 21 Kas, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
-
- 19 Eki, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 09 Eyl, 2016 2 kayıt (commit)
-
-
Eric Snow yazdı
-
Yury Selivanov yazdı
Patch by Ivan Levkivskyi.
-
- 08 Eyl, 2016 1 kayıt (commit)
-
-
Eric Snow yazdı
-
- 05 Eyl, 2016 1 kayıt (commit)
-
-
Eric Snow yazdı
-
- 26 Agu, 2016 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 18 Agu, 2016 1 kayıt (commit)
-
-
Guido van Rossum yazdı
- Issue #25958: Support "anti-registration" of special methods from various ABCs, like __hash__, __iter__ or __len__. All these (and several more) can be set to None in an implementation class and the behavior will be as if the method is not defined at all. (Previously, this mechanism existed only for __hash__, to make mutable classes unhashable.) Code contributed by Andrew Barnert and Ivan Levkivskyi.
-
- 31 Tem, 2016 1 kayıt (commit)
-
-
Nick Coghlan yazdı
- Porting note for type keyword arg handling - __init_subclass__ note regarding metaclass hint
-
- 30 Tem, 2016 2 kayıt (commit)
-
-
Berker Peksag yazdı
* Added versionadded directives * Deleted duplicate sentence from __init_subclass__ docstring * Modernized tests
-
Nick Coghlan yazdı
- __init_subclass__ called when new subclasses defined - __set_name__ called when descriptors are part of a class definition
-