]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
(Merge 3.4) asyncio: Move loop attribute to _FlowControlMixin
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 5 Nov 2014 14:27:54 +0000 (15:27 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 5 Nov 2014 14:27:54 +0000 (15:27 +0100)
commit5239caf8358f8b8a77b26fa01bd8af0b7105e422
tree61a6ff47c8bc750b8dc9043e764782f1a1ea999e
parenta5b335e62fad239f254b6197fa60daba6bd5e464
parent004adb91f6e05ac711b0554bbd0415a48fed623c
(Merge 3.4) asyncio: Move loop attribute to _FlowControlMixin

Move the _loop attribute from the constructor of _SelectorTransport,
_ProactorBasePipeTransport and _UnixWritePipeTransport classes to the
constructor of the _FlowControlMixin class.

Add also an assertion to explicit that the parent class must ensure that the
loop is defined (not None)