mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 00:14:41 +01:00
![]() * First attempt at register/deregister machinery for envvars * Added detailed docstring, simplified ensurers Also added some type checking that became clear from docstring writing. * Changes in response to @scopatz review Simplified kwarg names. * defaultval -> default * Created new Var namedtuple, as well as DEFAULT_VARS We should now delete DEFAULT_ENSURERS, DEFAULT_VALUES, DEFAULT_DOCS, and refactor Env to use the new single namedtuple and the DEFAULT_VARS dict * Removed DEFAULT_ENSURERS, DEFAULT_VALUES, DEFAULT_DOCS Now need to edit Env to use new DEFAULT_VARS, Var namedtuple * Finished updating Env object to use new combined Var Also made corresponding changes elsewhere ensurer was used * Working on test failures * More fixes in light of test failures * Set default values for Var in register. There's a bit of duplication here, but makes for a cleaner function. * Black reformatting on environ.py * Removed history replay * Added register tests * Added addtional deregistration test * Removed all replay references, in docs too * Added news item for env-reg-dereg * trigger rebuild * doc fix * more doc fixes * again * attr names * reorder imports * fix flake error Co-authored-by: Anthony Scopatz <scopatz@gmail.com> |
||
---|---|---|
.. | ||
_static | ||
_templates_overwrite | ||
api | ||
advanced_events.rst | ||
aliases.rst | ||
appimage.rst | ||
bash_to_xsh.rst | ||
changelog.rst | ||
cmdhelp.py | ||
comparison.rst | ||
conf.py | ||
contact.rst | ||
containers.rst | ||
contributing.rst | ||
customization.rst | ||
dependencies.rst | ||
development.rst | ||
devguide.rst | ||
editors.rst | ||
envvars.rst | ||
events.rst | ||
faq.rst | ||
guides.rst | ||
index.rst | ||
installation.rst | ||
intro.rst | ||
links.rst | ||
linux.rst | ||
Makefile | ||
news.rst | ||
osx.rst | ||
python_virtual_environments.rst | ||
quotes.rst | ||
setup.rst | ||
sidebar.rst | ||
subproc_types.rst | ||
talks_and_articles.rst | ||
todo.rst | ||
tryitnow.rst | ||
tutorial.rst | ||
tutorial_completers.rst | ||
tutorial_events.rst | ||
tutorial_hist.rst | ||
tutorial_history_backend.rst | ||
tutorial_macros.rst | ||
tutorial_ptk.rst | ||
tutorial_subproc_strings.rst | ||
tutorial_xonsh_projects.rst | ||
tutorial_xontrib.rst | ||
windows.rst | ||
xonshconfig.json | ||
xonshrc.rst | ||
xonshrc.xsh | ||
xontribs.rst |