Movatterモバイル変換


[0]ホーム

URL:


homepage

Message251857

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, vstinner
Date2015-09-29.13:30:34
SpamBayes Score-1.0
Marked as misclassifiedYes
Message-id<1443533434.54.0.895486247047.issue24164@psf.upfronthosting.co.za>
In-reply-to
Content
> Hum, can you please write a short example of such class which can only be pickled by the protocol 4 currently? Just for my information.For now there are no such classes in the stdlib. No one implements __getnewargs_ex__. But an alternative implementation of pickling for methodcaller could use it (I implemented methodcaller pickling inissue22955 in different way, via __reduce_ex__, but used the same trick for passing keyword arguments to constructor).Note that multiprocessing uses default protocol 3 (issue23403), and this is not configurable.
History
DateUserActionArgs
2015-09-29 13:30:34serhiy.storchakasetrecipients: +serhiy.storchaka,pitrou,vstinner,alexandre.vassalotti
2015-09-29 13:30:34serhiy.storchakasetmessageid: <1443533434.54.0.895486247047.issue24164@psf.upfronthosting.co.za>
2015-09-29 13:30:34serhiy.storchakalinkissue24164 messages
2015-09-29 13:30:34serhiy.storchakacreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp