-
I am struggling with the conversion of a script written for Python 2.7 to Python 3 (PS: I know Python 3 still understands the old formatting syntax, but I would like to convert to the new formatting s…
-
### 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.
…
-
### Expected behavior
`qml.matrix` should respect the framework-specific tensors used to construct the `qml.Hamiltonian`, and return the matrix representation of that Hamiltonian in the same framewor…
-
Instances of np.int64 are not instances of int, leading to unhandled cases. For instance,
```
import cirq
import numpy as np
a = np.arange(1)
print(isinstance(a[0], int))
q = cirq.LineQubit(…
-
This should be rejected, for example
```python
class C(object):
def __del__(self, a):
# type: (int) -> int
return a
```
Probably this as well
```python
class C(object):
def…
-
These two methods basically add syntactic sugar to objects and classes: in one case, they can create on the fly methods that do not exist, in the other give an object the power to use () so that it be…
-
### 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.
…
-
## 🚀 Feature
Currently, trying to set `viewer.dims.point` results in an error. The only way to set it is `viewer.dims.set_point(axis, index)`, which is a bit clunky if one wants to modify the posit…
-
Python's pattern matching doesn't support any extension of semantic equivalence (there's a [draft](https://peps.python.org/pep-0653/) for it). The only double-underscore method you can specify is `__m…
-
The current `Data.__deepcopy__` implementation, implemented [by this commit](https://github.com/aiidateam/aiida-core/commit/3ad95efe468c9609e7bc7061933443ca5c3a8744) and present since `v1.0.0`, retur…