Create your own GitHub profile
Sign up for your own profile on GitHub, the best place to host code, manage projects, and build software alongside 40 million developers.
Sign up-
Enthought
- Cambridge, UK
- Sign in to view email
Popular repositories
2,591 contributions in the last year
Contribution activity
December 2019
Created a pull request in enthought/traits that received 7 comments
Deprecate ListStr, DictStrFloat, ..., false, true convenience trait types
This PR soft-deprecates the various convenience trait types (ListStr and friends), marking them as deprecated in the documentation but not issuing …
+66
−29
•
7
comments
- Add more cTrait docstrings
- Remove TraitValue and associated machinery
- Remove the Generic trait type
- Don't document deprecated traits in the user manual
- Remove UStr trait type and HasUniqueStrings class
- Improve docstring for cTrait._notifiers; make argument a boolean
- Fix uses of ->ob_type
- Make *Unicode trait types aliases for the corresponding *Str trait types
- Fix coercion fast validation to do an exact type check instead of an instance check
- Reinstate Long and CLong as aliases for Int and CInt respectively
- Remove Python 2 compatibility code from ctraits.c
- Remove adaptation support from TraitInstance
- Remove ancient, untested and superseded TraitWeakRef class
- Remove nested_context_mgrs
- Remove Python 2 compatibility
- Clean up C code for adapted instance validation
- Clean up BaseInstance and Instance validation
- Remove str_find and str_rfind helpers
- Remove support for old style instances and classes
- Change Instance(ISomeInterface) to use isinstance
- Remove abuses of Missing
- Remove TraitString
- Make ListInt, DictStrInt, etc. less surprising.
- Add cTrait.set_default_value
- Remove untested undocumented _trait_notification_handler
- Some pull requests not shown.
- Exposure of cTrait flags to Python
- Convert boolean int "i" parameters to predicate "p" parameters.
- Remove cast method from cTrait class
- Clearer calls to _notifiers methods
- Reinstate Long and CLong as aliases for Int and CInt respectively
- Remove Python 2 compatibility code from ctraits.c
- Remove nested_context_mgrs
- Clean up BaseInstance and Instance validation
- Fix/trait maker default
- Add cTrait.set_default_value
- Create an ABC for ViewElements
- Compute ViewElements lazily
- Fix more use of default magic constants
- CLN : Remove the try/except around the abc import
- Replace TypeType with type
- Remove code originally deprecated in traits v3.0.3
- Remove branch which handled python < and >= version 2.5
- Remove deprecated method on BaseTraitHandler
Created an issue in enthought/traits that received 4 comments
Invert ViewElement / ViewElements dependency on TraitsUI
There's some gnarly code in has_traits where ViewElements and ViewElement are defined to be dummy objects, and then the actual definitions from Tra…
4
comments
- Clean up ctraits.c style
- Use "unsigned int" for trait flag type.
- Combine changelogs
- bytes_editor is non-functional in Python 3
- CInt trait type does not coerce instances of subclasses of `int` correctly.
- Add etstool.py support for generating ctraits.c coverage
- Remove deprecated ListFloat, DictStrFloat, etc. trait types
- Circular imports between top-level modules
- Documentation build is broken
- Confusing TraitError message regarding None
- Trait inheritance fails for callable defaults