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

Side by Side Diff: Doc/whatsnew/3.3.rst

Issue 11610: Improving property to accept abstract methods
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:
View unified diff | Download patch
« no previous file with comments | « Doc/library/abc.rst ('k') | Include/object.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 :c:func:`waddwstr`), and bytes functions otherwise (e.g. :c:func:`waddstr`). 344 :c:func:`waddwstr`), and bytes functions otherwise (e.g. :c:func:`waddstr`).
345 * Use the locale encoding instead of ``utf-8`` to encode Unicode strings. 345 * Use the locale encoding instead of ``utf-8`` to encode Unicode strings.
346 * :class:`curses.window` has a new :attr:`curses.window.encoding` attribute. 346 * :class:`curses.window` has a new :attr:`curses.window.encoding` attribute.
347 * The :class:`curses.window` class has a new :meth:`~curses.window.get_wch` 347 * The :class:`curses.window` class has a new :meth:`~curses.window.get_wch`
348 method to get a wide character 348 method to get a wide character
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
355 abc
356 ---
357
358 Improved support for abstract base classes containing descriptors composed with
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.
362
363 * :class:`abc.abstractproperty` has been deprecated, use :class:`property`
364 with :func:`abc.abstractmethod` instead.
365 * :class:`abc.abstractclassmethod` has been deprecated, use
366 :class:`classmethod` with :func:`abc.abstractmethod` instead.
367 * :class:`abc.abstractstaticmethod` has been deprecated, use
368 :class:`property` with :func:`abc.abstractmethod` instead.
369
370 (Contributed by Darren Dale in :issue:`11610`)
354 371
355 faulthandler 372 faulthandler
356 ------------ 373 ------------
357 374
358 New module: :mod:`faulthandler`. 375 New module: :mod:`faulthandler`.
359 376
360 * :envvar:`PYTHONFAULTHANDLER` 377 * :envvar:`PYTHONFAULTHANDLER`
361 * :option:`-X` ``faulthandler`` 378 * :option:`-X` ``faulthandler``
362 379
363 time 380 time
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 ------------ 847 ------------
831 848
832 .. Issue #11591: When :program:`python` was started with :option:`-S`, 849 .. Issue #11591: When :program:`python` was started with :option:`-S`,
833 ``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
834 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
835 various files. Contributed by Carl Meyer with editions by Éric Araujo. 852 various files. Contributed by Carl Meyer with editions by Éric Araujo.
836 853
837 .. 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
838 removed. Code checking sys.flags.division_warning will need updating. 855 removed. Code checking sys.flags.division_warning will need updating.
839 Contributed by Éric Araujo. 856 Contributed by Éric Araujo.
OLDNEW
« no previous file with comments | « Doc/library/abc.rst ('k') | Include/object.h » ('j') | no next file with comments »

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