]> granicus.if.org Git - python/commitdiff
(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)
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)


Trivial merge