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 akvadrako
Recipients akvadrako, benjamin.peterson, gvanrossum, serhiy.storchaka
Date 2017-10-10.19:45:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507664713.05.0.213398074469.issue31750@psf.upfronthosting.co.za>
In-reply-to
Content
Well that's true enough. My main argument is consistency. Cells and code objects together make up closures, so to manipulate closures you need both. Right now I am using a ctypes hack to modify the cells/closures, for what I consider a strategically important use-case. So I guess a type(cell) hack isn't out of place; the risk is it's fragile.

So, to really make hot reloading work with no hacks I need both this and the follow-up of https://bugs.python.org/issue14369 to be implemented. Or equivalently, a python interface to make closures mutable.

Honestly I don't know what your criteria are, so it's hard to make a point.
History
Date User Action Args
2017-10-10 19:45:13akvadrakosetrecipients: + akvadrako, gvanrossum, benjamin.peterson, serhiy.storchaka
2017-10-10 19:45:13akvadrakosetmessageid: <1507664713.05.0.213398074469.issue31750@psf.upfronthosting.co.za>
2017-10-10 19:45:13akvadrakolinkissue31750 messages
2017-10-10 19:45:12akvadrakocreate