Movatterモバイル変換


[0]ホーム

URL:


homepage

Message309059

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

Authorserhiy.storchaka
Recipientslarry, ned.deily, ronaldoussoren, serhiy.storchaka
Date2017-12-26.11:03:37
SpamBayes Score-1.0
Marked as misclassifiedYes
Message-id<1514286218.06.0.213398074469.issue32072@psf.upfronthosting.co.za>
In-reply-to
Content
For example:a = []for i in range(22):    a = [a, a]b = plistlib.dumps(a, fmt=plistlib.FMT_BINARY)The result is 130 bytes long on patched plistlib. But plistlib.dumps(b) will expand to a structure consuming almost a gigabyte of memory on unpatched plistlib. Increasing the level of nesting by one will duplicate memory consumption, so it is easy to consume all available memory on any computer.
History
DateUserActionArgs
2017-12-26 11:03:38serhiy.storchakasetrecipients: +serhiy.storchaka,ronaldoussoren,larry,ned.deily
2017-12-26 11:03:38serhiy.storchakasetmessageid: <1514286218.06.0.213398074469.issue32072@psf.upfronthosting.co.za>
2017-12-26 11:03:38serhiy.storchakalinkissue32072 messages
2017-12-26 11:03:37serhiy.storchakacreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp