-
The abstract base classes (the `abc` module) are not signaling the missing implementations of their attributes and methods when running on Python 3. It is caused by the new syntax for the metaclasses …
vifon updated
6 years ago
-
```python
from typing import TypeVar, Type, Iterable, Iterator
T = TypeVar('T')
class M(type):
def __iter__(self: Type[T]) -> Iterator[T]: raise Exception
class A(metaclass=M): pass
x: Itera…
-
It will be wise to use meta programming to create all subclasses of shareable Blender data. Python RNA API could be used for this purpose:
http://wiki.blender.org/index.php/Dev:2.5/Source/Python/PyRN…
-
Notebook for item 33:
- item_33_validate_subclasses
-
maybe I don't want permissible values created for all of the very specific sub-classes that are eligible in the dynamic enum definition
-
When you use `method_setImplementation(Method, IMP)` on a method retrieved from a metaclass (lit.: a class method), and that metaclass is fully resolved, its dtable will not be updated to point to the…
-
I've been chasing down a problem with badges not being in my database when I run unit tests. It's related to the `registered_badges` dictionary.
The `post_syncdb` hook in `listeners.py` creates datab…
-
Adding a link or an association on a diagram with a zoom level that is different than 100% will displace the link somewhere on the canvas while adding the link (when the link / association was added t…
-
Notebook for item 35:
- item_35_annotate_class_attributes
-
I caught the following exception when the file is processed with the documentation:
```
Unhandled exception: System.NullReferenceException:
at Imm.ImmDocNetLib.MyReflection.MetaClasses.MyAssembly…
sakno updated
11 years ago