[Python-ideas] Implicit submodule imports

random832 at fastmail.us random832 at fastmail.us
Fri Sep 26 05:32:49 CEST 2014


On Thu, Sep 25, 2014, at 21:02, Nathaniel Smith wrote:
> and everything would just work, but I could well be missing something?
> Is there some dragon lurking inside Python's memory management or is
> this just an ancient overabundance of caution?

Currently, this is the message you get if you attempt to reassign the
class of a list, or an int. Is there something else that would prevent
it? Maybe the "object layout differs" check? What if the class you are
assigning is a legitimate subclass of the basic type?


More information about the Python-ideas mailing list