Jeong, YunWon

Results 851 comments of Jeong, YunWon

yes, if we can manage it not to break CI

Thank you for detailed explanation. The metaclass issue is recently solved. Here is the test: ```sh $ cat t.py class _CDataMeta(type): def __mul__(self, length): return create_array_type(self, length) class SimpleType(_CDataMeta): pass...

by watching `rustpython_vm::builtins::pytype::new`, I feel like that'd be simply done by replacing `typ` field in `PyObject`, but not sure it actually will be that easy. Because I don't understand this...

What happens when the buffer is destroyed? Does it deletes only the pointer(as a reference) or also deletes the data it contains (as an owner)? If it does both, then...

I am not sure it exactly fit, but it sounds like a `Cow` https://doc.rust-lang.org/std/borrow/enum.Cow.html

If it doesn't fit in rust lifetime, creating a similar enum will fit. ```rust pub enum RawBuffer { Borrowed(*mut [u8]), Owned(Box), } ```

I never used it myself before, but `Add suggetion to batch` button exist. ![image](https://user-images.githubusercontent.com/69878/128610828-f9082a21-8ec9-4305-b9e8-27c5a45a7e87.png) But I don't think it will work well. I suggested one side of code but didn't...

@darleybarreto this must be what you are looking for, right? ```python >>>>> import ctypes >>>>> ctypes._SimpleCData >>>>> type(ctypes._SimpleCData) >>>>> ```

I just made a test code in commit https://github.com/RustPython/RustPython/pull/2364/commits/efabe9b1b460ff8e2055419a6f5c51856f7c42b7 You can adapt it to any type you actually need to. And sorry for another accidental push-force. that's not what I...

I pushed to your branch. So if you named your repository as `origin`, like when result of `git remote -v` is `origin https://github.com/rodrigocam/RustPython.git`, `git fetch origin && git reset --hard...