Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue37990

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:gc.collect prints debug stats incorrectly
Type:behaviorStage:resolved
Components:Interpreter CoreVersions:Python 3.9, Python 3.8
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: methaneNosy List: chivay, methane, ned.deily
Priority:highKeywords:3.8regression, patch

Created on2019-08-30 21:22 bychivay, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 15626mergedmethane,2019-08-30 23:40
PR 15627mergedmethane,2019-08-31 00:25
Messages (5)
msg350890 -(view)Author: Hubert Jasudowicz (chivay)Date: 2019-08-30 21:22
Example:Python 3.9.0a0 (heads/master:39d87b5471, Aug 30 2019, 23:19:13) [GCC 9.1.0] on linuxType "help", "copyright", "credits" or "license" for more information.>>> import gc>>> gc.set_debug(gc.DEBUG_STATS)>>> gc.collect()gc: collecting generation 2...gc: objects in each generation: 589 4120 0gc: objects in permanent generation: 0gc: done, 0 unreachable, 0 uncollectable, %.4fs elapsed0
msg350892 -(view)Author: Ned Deily (ned.deily)*(Python committer)Date: 2019-08-30 21:42
Thanks for the report.  It looks like this regression was introduced by the changes forIssue37729.
msg350900 -(view)Author: Inada Naoki (methane)*(Python committer)Date: 2019-08-31 00:13
New changeset013e52fd340d9ef558013b546f25456f94ee1804 by Inada Naoki in branch 'master':bpo-37990: fix gc stats (GH-15626)https://github.com/python/cpython/commit/013e52fd340d9ef558013b546f25456f94ee1804
msg350905 -(view)Author: Inada Naoki (methane)*(Python committer)Date: 2019-08-31 01:50
New changeset97a31c7b486c45ba9c21cab5fb96337859a60275 by Inada Naoki in branch '3.8':[3.8]bpo-37990: fix gc stats (GH-15626)https://github.com/python/cpython/commit/97a31c7b486c45ba9c21cab5fb96337859a60275
msg350906 -(view)Author: Inada Naoki (methane)*(Python committer)Date: 2019-08-31 01:53
Thank you for finding it!My eyes were too focused on portability issue of "%zd"...
History
DateUserActionArgs
2022-04-11 14:59:19adminsetgithub: 82171
2019-08-31 01:53:18methanesetstatus: open -> closed
resolution: fixed
messages: +msg350906

stage: patch review -> resolved
2019-08-31 01:50:32methanesetmessages: +msg350905
2019-08-31 00:25:17methanesetpull_requests: +pull_request15295
2019-08-31 00:13:45methanesetmessages: +msg350900
2019-08-30 23:40:29methanesetkeywords: +patch
stage: needs patch -> patch review
pull_requests: +pull_request15294
2019-08-30 21:42:59ned.deilysetpriority: normal -> high

assignee:methane
versions: + Python 3.8
keywords: +3.8regression
nosy: +ned.deily,methane

messages: +msg350892
stage: needs patch
2019-08-30 21:25:14chivaysettype: behavior
2019-08-30 21:22:40chivaycreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp