]> granicus.if.org Git - python/commit
StreamWriter: close() now clears the reference to the transport
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 15 Jan 2015 08:33:50 +0000 (09:33 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 15 Jan 2015 08:33:50 +0000 (09:33 +0100)
commite7a35717d29cf0b070c814a7a43b44966bf89f73
treeb1a49b3c1f4913079298561545f7efc1e4765ef6
parentcaa12dab690aace565a53d17bfed1eea9ed5d9cd
StreamWriter: close() now clears the reference to the transport

StreamWriter now raises an exception if it is closed: write(), writelines(),
write_eof(), can_write_eof(), get_extra_info(), drain().
Lib/asyncio/streams.py