Movatterモバイル変換


[0]ホーム

URL:


homepage

Message242890

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
Recipientsalexandre.vassalotti, pitrou, serhiy.storchaka
Date2015-05-11.10:49:49
SpamBayes Score-1.0
Marked as misclassifiedYes
Message-id<1431341390.51.0.0928642680419.issue24164@psf.upfronthosting.co.za>
In-reply-to
Content
Pickling of objects of classes whose __new__ mandates the use of keyword-only arguments is supported with protocol 4 (using a new opcode NEWOBJ_EX). But it is possible to implement this feature with protocol 2+ (less efficiently than with NEWOBJ_EX). __new_ex__ is pickled as partial(cls.__new__, cls, *args, **kwargs). Pickled data is compatible with older Python releases up to 2.7 (issue5228).Proposed patch adds support of __new__ with keyword arguments with protocols 2 and 3.
History
DateUserActionArgs
2015-05-11 10:49:50serhiy.storchakasetrecipients: +serhiy.storchaka,pitrou,alexandre.vassalotti
2015-05-11 10:49:50serhiy.storchakasetmessageid: <1431341390.51.0.0928642680419.issue24164@psf.upfronthosting.co.za>
2015-05-11 10:49:50serhiy.storchakalinkissue24164 messages
2015-05-11 10:49:50serhiy.storchakacreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp