Jason R. Coombs <jar...@jaraco.com> added the comment:

I've applied the patches and pushed them to 
https://github.com/jaraco/cpython/tree/bugfix/bpo-38780.

```
cpython master $ http 
https://bugs.python.org/file48933/0001-bpo-38780-Harden-socket-use-in-logging.handlers.patch
 | git apply
cpython master $ git commit -a -m "bpo-38780: Initialize self.socket to None 
early in __init__() and check for None in close() and e
mit()" --author "Erlend E. Aasland <erlend.aasl...@innova.no>" --date '28 Feb 
2020 22:38:12 +0100'
[master e05b7d6c52] bpo-38780: Initialize self.socket to None early in 
__init__() and check for None in close() and emit()
 Author: Erlend E. Aasland <erlend.aasl...@innova.no>
 Date: Fri Feb 28 22:38:12 2020 +0100
 1 file changed, 7 insertions(+), 2 deletions(-)
cpython master $ http https://bugs.python.org/file48934/0002-Improve-emit.patch 
| git apply
cpython master $ git commit -a -m "bpo-38780: Address uncertainty in handling 
of emit() case." --author "Erlend E. Aasland <erlend.a
asl...@innova.no>" --date '28 Feb 2020 23:22:58 +0100'
[master 045b6381b5] bpo-38780: Address uncertainty in handling of emit() case.
 Author: Erlend E. Aasland <erlend.aasl...@innova.no>
 Date: Fri Feb 28 23:22:58 2020 +0100
 1 file changed, 7 insertions(+), 5 deletions(-)
cpython master $ git checkout -b bugfix/bpo-38780
Switched to a new branch 'bugfix/bpo-38780'
cpython bugfix/bpo-38780 $ gpj
To https://github.com/jaraco/cpython
 * [new branch]            bugfix/bpo-38780 -> bugfix/bpo-38780
 * [new tag]               v3.10.0a2 -> v3.10.0a2
Branch 'bugfix/bpo-38780' set up to track remote branch 'bugfix/bpo-38780' from 
'jaraco'.
```

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38780>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to