Snowapril

Results 16 comments of Snowapril

@eXpl0it3r If anyone not working on this issue, can I try this? 😊

Sorry for late. I'm trying to solve this issue from today but stucked.. 😢 I thought that `glPushAttrib(GL_ALL_ATTRIB_BITS)` push the `glActiveTexture` and `glPushClientAttrib(GL_CLIENT_ALL_ATTRIB_BITS)` push the `glClientActiveTexture`, thus `glActiveTexture(GL_TEXTURE0 + myActiveTexture);`...

@Yaminyam We need to separate definition of `__reduce__` and `__reduce_ex__` https://docs.python.org/3/library/pickle.html?highlight=reduce_ex#object.__reduce__ https://docs.python.org/3/library/pickle.html?highlight=reduce_ex#object.__reduce_ex__ `__reduce_ex__` is same with `__reduce__` except it takes single argument (protocol version). > The main use for this...

Unless we locate the code for setting type to classcell in `type.__new__`, build failure will not be disappeared 😂

a more detailed list of missing features of object protocol is here. ``` - [x] Py_RETURN_NOTIMPLEMENTED (PyArithmeticValue::NotImplemented) - [ ] PyObject_Print - [x] PyObject_HasAttr / PyObject_HasAttrString (has_attr) - [x] PyObject_GetAttr...

~@youknowone This issue seems fixed.~ ```python >>>>> import types >>>>> types.BuiltinFunctionType == types.BuiltinMeth odType False >>>>> type(len) == type([].append) False ``` Oh sorry, my mistake

Looks good! But, did you check how `itertools.combinations.__reduce__` work in cpython? They act differently according to several conditions. Please check the below codes. ### CPython ```python >>> a = itertools.combinations(range(4),...

RustPython has more static type than cpython. Making all static types immutable will leads to such incompatibility in the case of the type which is static type in rustpython and...

@youknowone It seems built-in types are compatible with CPython's. With a simple python script, I found the below types are different from CPython's. | items | rustpython | cpython3.10 |...

related: https://github.com/RustPython/RustPython/pull/3821 `__doc__` is also obeying the `setattro` rule of the type. not specialized one. If the type is `IMMUTABLE`, any attributes are non-writeable. If the given type is not...