Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c63617f0
Commit
c63617f0
authored
Dec 28, 2013
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whatsnew: abc.ABC. Also add issue number to news entry and reword.
parent
3b2f845c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
Doc/whatsnew/3.4.rst
Doc/whatsnew/3.4.rst
+6
-0
Misc/NEWS
Misc/NEWS
+3
-2
No files found.
Doc/whatsnew/3.4.rst
View file @
c63617f0
...
...
@@ -481,6 +481,12 @@ New function :func:`abc.get_cache_token` can be used to know when to invalidate
caches that are affected by changes in the object graph. (Contributed
by Łukasz Langa in :issue:`16832`.)
New class :class:`~abc.ABC` has :class:`~abc.ABCMeta` as its meta class.
Using ``ABC`` as a base class has essentially the same effect as specifying
``metaclass=abc.ABCMeta``, but is simpler to type and easier to read.
(Contributed by Bruno Dupuis in :issue:`16049`.)
aifc
----
...
...
Misc/NEWS
View file @
c63617f0
...
...
@@ -2671,8 +2671,9 @@ Library
Content
-
Length
and
the
incoming
stream
is
finished
.
Patch
by
Eran
Rundstein
.
-
Add
abc
.
ABC
class
to
use
inheritance
rather
than
a
direct
invocation
of
ABCMeta
metaclass
.
Patch
by
Bruno
Dupuis
.
-
Issue
#
16049
:
Add
abc
.
ABC
class
to
enable
the
use
of
inheritance
to
create
ABCs
,
rather
than
the
more
cumbersome
metaclass
=
ABCMeta
.
Patch
by
Bruno
Dupuis
.
-
Expose
the
TCP_FASTOPEN
and
MSG_FASTOPEN
flags
in
socket
when
they
're
available.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment