Movatterモバイル変換


[0]ホーム

URL:


homepage

Message63144

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

AuthorAstraLuma
RecipientsAstraLuma
Date2008-02-29.20:00:40
SpamBayes Score0.002594449
Marked as misclassifiedNo
Message-id<1204315259.46.0.997806067058.issue2211@psf.upfronthosting.co.za>
In-reply-to
Content
Cookie.Morsel lacks in properly overloading dict methods, amongst otherthings:* .__eq__() does not take .key and .value into account* .copy() returns a dict, not a Morsel* .update() allows invalid attributes in, egMorsel().update({'eggs':'spam'}) works but Morsel()['eggs'] = 'spam' fails* .__len__() includes unset keys (why does it set them to an empty string?)* .__repr__() doesn't print out attributes (path, comment, etc)* Handling of unicode is fuzzy at best: try Morsel().set(u'eggs\u00bf',u'\u00f1', u'\00f1'.encode('utf-8'))* Specifying the idmap and translate function in .set() seems wrong* Setting .key doesn't check against invalid keys (eg, reserved names)* The entire Morsel class is undocumented* There is no way to automatically sync .value and .coded_value
History
DateUserActionArgs
2008-02-29 20:00:59AstraLumasetspambayes_score: 0.00259445 -> 0.002594449
recipients: +AstraLuma
2008-02-29 20:00:59AstraLumasetspambayes_score: 0.00259445 -> 0.00259445
messageid: <1204315259.46.0.997806067058.issue2211@psf.upfronthosting.co.za>
2008-02-29 20:00:41AstraLumalinkissue2211 messages
2008-02-29 20:00:40AstraLumacreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp