attrs v15.2.0 Release Notes

Release Date: 2015-12-08 // over 8 years ago
  • 🔄 Changes: ^

    • ➕ Added a convert argument to attr.ib, which allows specifying a function to run on arguments. This allows for simple type conversions, e.g. with attr.ib(convert=int). #26 <https://github.com/python-attrs/attrs/issues/26>_
    • Speed up object creation when attribute validators are used. #28 <https://github.com/python-attrs/attrs/issues/28>_