enthought / enthought/apptools

Deprecate use of global preferences.

Open
#68 0 comments 1 reaction 0 assignees View on GitHub
type: enhancement
Dominant language
Python
Stars
38
Forks
21
PR merge metrics
No merged PRs in 30d

Description

I suggest deprecating use of the global preferences (via the `get_default_preferences` and `set_default_preferences` functions, and implicitly via the three-argument form of `bind_preference`). This mutable global default complicates testing, and leads to code with spooky action-at-a-distance.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.