Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue25914

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:Fix OrderedDict.__sizeof__
Type:behaviorStage:resolved
Components:Extension ModulesVersions:Python 3.6, Python 3.5
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: serhiy.storchakaNosy List: eric.snow, loewis, python-dev, rhettinger, serhiy.storchaka
Priority:normalKeywords:patch

Created on2015-12-20 08:52 byserhiy.storchaka, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Files
File nameUploadedDescriptionEdit
odict_sizeof.patchserhiy.storchaka,2015-12-20 08:52review
Messages (3)
msg256754 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2015-12-20 08:52
Proposed patch correctly calculates the size of OrderedDict (the size of an instance dict should not be counted) and adds exact tests for sizeof.
msg256814 -(view)Author: Eric Snow (eric.snow)*(Python committer)Date: 2015-12-21 23:12
LGTMThanks for doing that.  It's definitely cleaner. :)
msg256827 -(view)Author: Roundup Robot (python-dev)(Python triager)Date: 2015-12-22 06:22
New changeset0a2ea08fcebe by Serhiy Storchaka in branch '3.5':Issue#25914: Fixed and simplified OrderedDict.__sizeof__.https://hg.python.org/cpython/rev/0a2ea08fcebeNew changeset624316fbb39d by Serhiy Storchaka in branch 'default':Issue#25914: Fixed and simplified OrderedDict.__sizeof__.https://hg.python.org/cpython/rev/624316fbb39d
History
DateUserActionArgs
2022-04-11 14:58:25adminsetgithub: 70102
2015-12-22 06:24:20serhiy.storchakasetstatus: open -> closed
assignee:serhiy.storchaka
resolution: fixed
stage: commit review -> resolved
2015-12-22 06:22:53python-devsetnosy: +python-dev
messages: +msg256827
2015-12-21 23:12:48eric.snowsetmessages: +msg256814
stage: patch review -> commit review
2015-12-20 09:46:31serhiy.storchakasetnosy: +loewis,rhettinger,eric.snow
2015-12-20 08:52:19serhiy.storchakacreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp