This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients benjamin.peterson, gvanrossum, ncoghlan, pitrou, rhettinger
Date 2017-05-26.16:17:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495815421.45.0.489335851706.issue30486@psf.upfronthosting.co.za>
In-reply-to
Content
There are use cases for setting a cell value.  One such use case is for (un)pickling recursive closures (see heroic workaround here: https://github.com/cloudpipe/cloudpickle/pull/90/files#diff-d2a3618afedd4e124c532151eedbae09R74 ).  Other use cases may include tinkering around and general education value.

There also doesn't seem to be, AFAICS, any counter-indication to being able to do so.  It's already possible in C using PyCell_Set(), which is a public API.  It just lacks an API in Python land.  For example `cell_contents` could become a read/write property...
History
Date User Action Args
2017-05-26 16:17:01pitrousetrecipients: + pitrou, gvanrossum, rhettinger, ncoghlan, benjamin.peterson
2017-05-26 16:17:01pitrousetmessageid: <1495815421.45.0.489335851706.issue30486@psf.upfronthosting.co.za>
2017-05-26 16:17:01pitroulinkissue30486 messages
2017-05-26 16:17:01pitroucreate