xonsh/news/cc.rst

21 lines
531 B
ReStructuredText
Raw Normal View History

2016-06-20 13:29:42 -04:00
**Added:**
* New ``pathsep_to_set()`` and ``set_to_pathsep()`` functions convert to/from
``os.pathsep`` separated strings to a set of strings.
**Changed:**
* ``CommandsCache`` is now a mapping from command names to a tuple of
(executable locations, has alias flags). This enables faster lookup times.
* ``locate_bin()`` now uses the ``CommandsCache``, rather than scanning the
``$PATH`` itself.
* ``$PATHEXT`` is now a set, rather than a list.
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None