Traits

Latest version: v6.4.3

Safety actively analyzes 628903 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 8

3.4.0

---------------------------

Enhancements
~~~~~~~~~~~~
* adding new example to make testing rgb color editor easier


Fixes
~~~~~

* fixed NumericColumn to not expect object to have model_selection attribute,
and removed more dead theming code

* fixed API bugs with the NumericColumn where its function signatures
differed from its base class, but the calling code expected them to all
be the same

* fixed bug which was related to type name errors caused when running Sphinx

* when using File(exists=True), be sure to validate the type of the value
first before using os.path.isfile()

3.3.0

---------------------------

Enhancements
~~~~~~~~~~~~

The major enhancement this release is that the entire Traits package has been
changed to use relative imports so that it can be installed as a sub-package
inside another larger library or package. This was not previously possible,
since the various modules inside Traits would import each other directly
through "traits.[module]". Many thanks to Darren Dale for the
patch.


Fixes
~~~~~

There have been numerous minor bugfixes since the last release. The most notable
ones are:

* Many fixes involve making Traits UI more robust if wxPython is not installed
on a system. In the past, we have been able to use Qt if it was also
installed, but removing Wx would lead to a variety of little bugs in various
places. We've squashed a number of these. We've also added better checks
to make sure we're selecting the right toolkit at import and at runtime.

* A nasty cyclic reference was discovered and eliminated in DelegatesTo traits.

* The Undefined and Uninitialized Traits were made into true singletons.

* Much of the inconsistent formatting across the entire Traits source has
been eliminated and normalized (tabs/spaces, line endings).

3.2.0

----------------------------

Enhancements
~~~~~~~~~~~~

* Implemented editable_labels attribute in the TabularEditor for enabling editing of the labels (i.e. the first column)

* Saving/restoring window positions works with multiple displays of different sizes

* New ProgressEditor

* Changed default colors for TableEditor

* Added support for HTMLEditor for QT backend using QtWebKit

* Improved support for opening links in external browser from HTMLEditor

* Added support for TabularEditor for QT backend

* Added support for marking up the CodeEditor, including adding squiggles and dimming lines

* Added SearchEditor

* Improved unicode support

* Changed behavior of RangeEditor text box to not auto-set

* Added support in RangeEditor for specifying the method to evaluate new values.

* Add DefaultOverride editor factory courtesy Stéfan van der Walt

* Removed sys.exit() call from SaveHandler.exit()


Fixes
~~~~~

Page 8 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.