characteristic icon indicating copy to clipboard operation
characteristic copied to clipboard

Please use attrs instead!

Results 8 characteristic issues
Sort by recently updated
recently updated
newest added

Just normal build, install and test cycle used on building package from non-root account: - "setup.py build": - "setup.py install --root " - "pytest with PYTHONPATH pointing to setearch and...

Because a teaser on the [PyPI page](https://pypi.python.org/pypi/characteristic/) is nice and changing the lexer from `doctest` to `pycon` will allow it to render in nice color on PyPI (and in the...

Trying to use `with_init` in both a base class and a derived class fails. It appears that the generated base class' `__init__` is getting called twice. It looks like this...

I have run into this use case a few times now: I want all of characteristic's goodness for the entire set of attributes, but it only makes sense for .__hash__()...

One of the primary benefits I get from having types is that my editor can help suggest appropriate completions and let me know when I'm doing something stupid. But my...

If I do this: ``` python from characteristic import attributes @attributes(["x"]) class X(object): pass X(x=1, y=2) ``` I get this error: ``` Traceback (most recent call last): File "c.py", line...

This is particular useful for classes with a single attribute. See for example https://github.com/radix/effect/blob/0.1a11/effect/__init__.py#L242-249

One wants to unit test this sort of behavior but characteristic has enough information to automatically generate these tests in most cases. Perhaps something like `MyClassEqualityTests = make_equality_tests(MyClass)`?