Skip to content

bpo-11555: Enhance IocpProactor.close() log again#11563

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:proactor_close_log2
Jan 15, 2019
Merged

bpo-11555: Enhance IocpProactor.close() log again#11563
vstinner merged 1 commit into
python:masterfrom
vstinner:proactor_close_log2

Conversation

@vstinner

@vstinner vstinner commented Jan 15, 2019

Copy link
Copy Markdown
Member

Add repr(self) to the log to display the number of pending overlapped
in the log.

https://bugs.python.org/issue11555

Add repr(self) to the log to display the number of pending overlapped
in the log.
@vstinner vstinner merged commit b91140f into python:master Jan 15, 2019
@vstinner vstinner deleted the proactor_close_log2 branch January 15, 2019 11:13
vstinner added a commit that referenced this pull request Jan 15, 2019
* IocpProactor: prevent modification if closed (GH-11494)

* _wait_for_handle(), _register() and _unregister() methods of
  IocpProactor now raise an exception if closed
* Add "closed" to IocpProactor.__repr__()
* Simplify IocpProactor.close()

(cherry picked from commit 9b07681)

* bpo-34323: Enhance IocpProactor.close() log (GH-11555)

IocpProactor.close() now uses time to decide when to log: wait 1
second before the first log, then log every second. Log also the
number of seconds since close() was called.

(cherry picked from commit b1e4573)

* bpo-34323: Enhance IocpProactor.close() log again (GH-11563)

Add repr(self) to the log to display the number of pending overlapped
in the log.

(cherry picked from commit b91140f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants