-
Currently if `__init__` does not have a docstring. We get this error: `DCO010 docstring should be defined for a function/ method/ class, more information: https://github.com/jdkandersson/flake8-docstr…
-
👋 The Arrow project recently created the [Arrow PyCapsule Interface](https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html), a new protocol for sharing Arrow data in Python. Amo…
-
Currently code that checks access to dunder operator methods duplicates code in `checkmember.py`. Apart from code duplication, the code for operators is more simplistic and doesn't cover some corner c…
-
```python
>>> def int_iter(self):
i = 0
while i < self:
yield i
i += 1
>>> curse(int, '__iter__', int_iter)
>>> for i in 12:
print('1231')
Traceback (most recent call last):…
0xf0f updated
4 years ago
-
Update `dipdup.models.Model` class to get better representation in crash reports. Now it's just ``.
Bonus points: do the same for other classes commonly discovered in crash reports.
-
### Review Mojo's priorities
- [X] I have read the [roadmap and priorities](https://docs.modular.com/mojo/roadmap.html#overall-priorities) and I believe this request falls within the priorities.
…
-
- [ ] `__call__`
- [ ] `__getitem__`
-
# Learn The Basics
- [x] Basic Syntax
- [x] Variables
- [x] Conditionals
- [x] Typecasting
- [x] Functions
- [x] Lists, Tuples, Sets, and Dictionaries
# Data Structures and Algorithms
- [ ] …
-
The .copy method for BaseConfig classes is shallow by default, so copying an instance then altering that copy also alters the original. I have only experienced this with a list, I don't know if other …
-
Many different types end up going through the python function being differentiated. First, it might be evaluated sometimes as a standard python function involving torch tensors (not as part of this pa…
azane updated
9 months ago