This issue tracker will soon become read-only and move to GitHub.
For a smoother transition, remember to log in and link your GitHub username to your profile.
For more information, see this post about the migration.

classification
Title: `A Qt GUI for logging` produces TypeError
Type: crash Stage: resolved
Components: Documentation Versions: Python 3.9, Python 3.8, Python 3.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Samuel Mathias, docs@python, vinay.sajip
Priority: normal Keywords: patch

Created on 2019-11-17 13:34 by Samuel Mathias, last changed 2019-11-18 12:24 by vinay.sajip. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 17220 merged vinay.sajip, 2019-11-18 11:46
PR 17221 merged vinay.sajip, 2019-11-18 12:06
PR 17222 merged vinay.sajip, 2019-11-18 12:10
Messages (4)
msg356808 - (view) Author: Samuel Mathias (Samuel Mathias) Date: 2019-11-17 13:34
On the "logging cookbook" page:

https://docs.python.org/3/howto/logging-cookbook.html#logging-cookbook

The recipe "A Qt GUI for logging" produces the following error:

`TypeError: update_status() missing 1 required positional argument: 'record'`
msg356862 - (view) Author: Vinay Sajip (vinay.sajip) * (Python committer) Date: 2019-11-18 12:03
New changeset 5383956583bb758f3828513bcdd011871f24a0e8 by Vinay Sajip in branch 'master':
bpo-38830: Correct slot signature in Qt example. (GH-17220)
https://github.com/python/cpython/commit/5383956583bb758f3828513bcdd011871f24a0e8
msg356863 - (view) Author: Vinay Sajip (vinay.sajip) * (Python committer) Date: 2019-11-18 12:23
New changeset 21eb731057d614fb642c609ae89f66d75fa0ac3a by Vinay Sajip in branch '3.8':
[3.8] bpo-38830: Correct slot signature in Qt example. (GH-17220) (GH-17221)
https://github.com/python/cpython/commit/21eb731057d614fb642c609ae89f66d75fa0ac3a
msg356864 - (view) Author: Vinay Sajip (vinay.sajip) * (Python committer) Date: 2019-11-18 12:24
New changeset 9a4c5c30d93278e420a7dadafbaa35a5b52325ec by Vinay Sajip in branch '3.7':
[3.7] bpo-38830: Correct slot signature in Qt example. (GH-17220) (GH-17222)
https://github.com/python/cpython/commit/9a4c5c30d93278e420a7dadafbaa35a5b52325ec
History
Date User Action Args
2019-11-18 12:24:50vinay.sajipsetstatus: open -> closed
stage: patch review -> resolved
resolution: fixed
versions: - Python 3.5, Python 3.6
2019-11-18 12:24:19vinay.sajipsetmessages: + msg356864
2019-11-18 12:23:52vinay.sajipsetmessages: + msg356863
2019-11-18 12:10:51vinay.sajipsetpull_requests: + pull_request16723
2019-11-18 12:06:02vinay.sajipsetpull_requests: + pull_request16722
2019-11-18 12:03:25vinay.sajipsetmessages: + msg356862
2019-11-18 11:46:15vinay.sajipsetkeywords: + patch
stage: patch review
pull_requests: + pull_request16721
2019-11-17 15:22:49xtreaksetnosy: + vinay.sajip
2019-11-17 13:34:43Samuel Mathiascreate