4 ms·
Author of the project here. I fixed the issue. But I think it unintentionally not working first time is speaking for itself.
by jokteur 5y ago
Author of the project here. I fixed the issue.
But I think it unintentionally not working first time is speaking for itself.
- pdonis 5y agoSaw the fix, thanks! Was it also unintentional that instances of classes, after they have been converted to communism, compare equal with anything whatever, and hash equal to the integer 1 and the boolean True? >>> import communism >>> class MyClass1: ... pass ... >>> class MyClass2: ... pass ... >>> communism.revolution(globals()) >>> MyClass1() == None True >>> set((MyClass1(), MyClass2(), 1, True)) {<__main__.MyClass1 object at 0x7f8f3532a820>} >>>