tcalmant / ipopo

iPOPO: a Service-Oriented Component Model for Python
https://ipopo.readthedocs.io/
Apache License 2.0
69 stars 28 forks source link

Check how iPOPO decorators behave with Data Classes #89

Closed tcalmant closed 6 years ago

tcalmant commented 6 years ago

Python 3.7 introduces Data Classes (PEP-557).

Before the next release of iPOPO, it will be necessary to

  1. test if our decorators behave correctly with this kind of class
  2. check if there are some constraints (decorators ordering, ...)
  3. add some hints in the documentation about this special case
tcalmant commented 6 years ago

After some tests, here are some notes about Data Classes and iPOPO. The test files are in tests/dataclasses/, and are not executed during unit tests: they would only work for Python 3.7 and 3.6 with the dataclasses package.

Important notes

Good to know