Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(148928)

Delta Between Two Patch Sets: Doc/whatsnew/3.3.rst

Issue 11610: Improving property to accept abstract methods
Left Patch Set: Created 8 years ago
Right Patch Set: Created 8 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Doc/library/abc.rst ('k') | Include/object.h » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 **************************** 1 ****************************
2 What's New In Python 3.3 2 What's New In Python 3.3
3 **************************** 3 ****************************
4 4
5 :Author: Raymond Hettinger 5 :Author: Raymond Hettinger
6 :Release: |release| 6 :Release: |release|
7 :Date: |today| 7 :Date: |today|
8 8
9 .. Rules for maintenance: 9 .. Rules for maintenance:
10 10
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 * The :mod:`curses` module has a new :meth:`~curses.unget_wch` function to 349 * The :mod:`curses` module has a new :meth:`~curses.unget_wch` function to
350 push a wide character so the next :meth:`~curses.window.get_wch` will return 350 push a wide character so the next :meth:`~curses.window.get_wch` will return
351 it 351 it
352 352
353 (Contributed by Iñigo Serna in :issue:`6755`) 353 (Contributed by Iñigo Serna in :issue:`6755`)
354 354
355 abc 355 abc
356 --- 356 ---
357 357
358 Improved support for abstract base classes containing descriptors composed with 358 Improved support for abstract base classes containing descriptors composed with
359 abstract methods. 359 abstract methods. The recommended approach to declaring abstract descriptors is
360 now to provide :attr:`__isabstractmethod__` as a dynamically updated
361 property. The built-in descriptors have been updated accordingly.
360 362
Nick Coghlan 2011/12/06 09:14:01 Add another sentence: "The recommended approach to
361 * :class:`abc.abstractproperty` has been deprecated, use :class:`property` 363 * :class:`abc.abstractproperty` has been deprecated, use :class:`property`
362 with :func:`abc.abstractmethod` instead. 364 with :func:`abc.abstractmethod` instead.
363 * :class:`abc.abstractclassmethod` has been deprecated, use 365 * :class:`abc.abstractclassmethod` has been deprecated, use
364 :class:`classmethod` with :func:`abc.abstractmethod` instead. 366 :class:`classmethod` with :func:`abc.abstractmethod` instead.
365 * :class:`abc.abstractstaticmethod` has been deprecated, use 367 * :class:`abc.abstractstaticmethod` has been deprecated, use
366 :class:`property` with :func:`abc.abstractmethod` instead. 368 :class:`property` with :func:`abc.abstractmethod` instead.
367 369
370 (Contributed by Darren Dale in :issue:`11610`)
368 371
Nick Coghlan 2011/12/06 09:14:01 Add "(Contributed by Darren Dale in :issue:`11610`
369 faulthandler 372 faulthandler
370 ------------ 373 ------------
371 374
372 New module: :mod:`faulthandler`. 375 New module: :mod:`faulthandler`.
373 376
374 * :envvar:`PYTHONFAULTHANDLER` 377 * :envvar:`PYTHONFAULTHANDLER`
375 * :option:`-X` ``faulthandler`` 378 * :option:`-X` ``faulthandler``
376 379
377 time 380 time
378 ---- 381 ----
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
844 ------------ 847 ------------
845 848
846 .. Issue #11591: When :program:`python` was started with :option:`-S`, 849 .. Issue #11591: When :program:`python` was started with :option:`-S`,
847 ``import site`` will not add site-specific paths to the module search 850 ``import site`` will not add site-specific paths to the module search
848 paths. In previous versions, it did. See changeset for doc changes in 851 paths. In previous versions, it did. See changeset for doc changes in
849 various files. Contributed by Carl Meyer with editions by Éric Araujo. 852 various files. Contributed by Carl Meyer with editions by Éric Araujo.
850 853
851 .. Issue #10998: the -Q command-line flag and related artifacts have been 854 .. Issue #10998: the -Q command-line flag and related artifacts have been
852 removed. Code checking sys.flags.division_warning will need updating. 855 removed. Code checking sys.flags.division_warning will need updating.
853 Contributed by Éric Araujo. 856 Contributed by Éric Araujo.
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+