Commit graph

7345 commits

Author SHA1 Message Date
Gordon Ball
69fd9091b0 Allow numbers containing underscores
This adds support for PEP-515 (underscores in numeric literals). Support
is added unconditionally on underlying python version by patching the
tokenizer with the regexes used in cpython 3.6, then modifying the
parser to unconditionally remove underscores before evaluating numeric
literals, which avoids needing to check for the underlying version.
2017-10-09 13:04:17 +00:00
Morten Enemark Lund
9ecdfe34e8 Merge pull request #2506 from ahundt/patch-1
tutorial.rst command line arguments / parameters
2017-10-06 10:32:06 +02:00
Andrew Hundt
c1d6bdfee3 tutorial.rst command line arguments / parameters
added keywords so http://xon.sh/tutorial.html#executing-commands-and-scripts is more searchable
2017-10-05 18:00:51 -04:00
Gil Forsyth
2c6852767e Merge pull request #2493 from jb-leger/predictor_libgpm
Adding `libgpm` in pattern used for bin analysis in default backgroundable predictors
2017-09-27 20:17:55 -04:00
Gil Forsyth
12362d7dd5 Resolve behavior between script call and -i 2017-09-27 19:16:14 -04:00
Gil Forsyth
14df0792de Preserve xonsh interactive flag when running scripts 2017-09-27 19:16:14 -04:00
Gil Forsyth
60f1d7ad35 Add news entry 2017-09-27 19:16:14 -04:00
Gil Forsyth
1f464fb193 Don't load xonshrc is xonsh is running a script
As per discussions with @asmeurer -- if xonsh is being used to launch a script,
e.g.

```
xonsh run_my_cool_deploy.xsh
```

then it should not load the `xonshrc` file since this should be reserved for
interactive functionality and we don't want side effects in the script.

Basically, if you need a xontrib to be loaded for your script, load it in your
script
2017-09-27 19:16:14 -04:00
Jean-Benoist Leger
c839fcea0e adding test for libgpm used in background threadable predictors 2017-09-05 10:22:49 +02:00
Jean-Benoist Leger
aef71864eb Adding libgpm in pattern used for bin analysis in default backgroundable predictors 2017-09-05 10:17:59 +02:00
Gil Forsyth
c787f9ab3a Merge pull request #2483 from ahundt/sphinx-layout-improvements
Sphinx layout improvements
2017-08-15 18:10:57 -04:00
Andrew Hundt
fce093fd3b reverse build changes for travis 2017-08-15 13:10:20 -04:00
Andrew Hundt
9feedbf2e9 remove sphinx-readable-theme requirement 2017-08-15 11:25:24 -04:00
Andrew Hundt
80a43d8697 return to cloud_sptheme so new PR only has layout improvements 2017-08-15 11:16:05 -04:00
Andrew Hundt
0b324fdd08 Revert "remove "edit on github" banner since it needs to be replaced with something else"
This reverts commit 92c64ad23c.
2017-08-15 11:13:41 -04:00
Morten Enemark Lund
ad7928e7ac Merge branch 'sphinx-readable-theme-pypi' of https://github.com/ahundt/xonsh into ahundt-sphinx-readable-theme-pypi 2017-08-15 10:55:55 +02:00
Andrew Hundt
8f2db3f5ae requirements-docs.txt add cloud_sptheme back for travis 2017-08-14 17:40:18 -04:00
Andrew Hundt
92c64ad23c remove "edit on github" banner since it needs to be replaced with something else 2017-08-14 17:37:53 -04:00
Andrew Hundt
3fb8131cb7 ascii_conch_part_transparent_tight.png added and enabled in sphinx conf.py 2017-08-14 17:02:32 -04:00
Morten Enemark Lund
629d96e3f3 Add missing --deploy-repo xonsh/xonsh-docs 2017-08-14 22:15:00 +02:00
Morten Enemark Lund
5511bc8af4 Tweak travis.yml to build @ahundt docs suggestions 2017-08-14 22:06:49 +02:00
Andrew Hundt
afe51eb707 requirements-docs.txt updated with sphinx-readable-theme 2017-08-13 21:58:00 -04:00
Andrew Hundt
9557950cc4 Greatly improved webpage layout so it is easier to find what you need. (#2477) 2017-08-13 21:48:26 -04:00
Gil Forsyth
aa812cde6e Merge pull request #2471 from xonsh/logicerr
stupid file extension logic error
2017-08-10 08:50:13 -04:00
Anthony Scopatz
6cf20b25a9 stupid file extension logic error 2017-08-09 20:04:01 -07:00
Konstantinos Tsakiltzidis
090bfa2456 Merge pull request #2465 from xonsh/win_escape
Fixed `escape_windows_cmd_string` not handling ^ correctly
2017-08-06 12:35:25 +03:00
Morten Enemark Lund
876740b535 Fixed escape_windows_cmd_string not handling ^ correctly 2017-08-01 21:43:46 +02:00
Gil Forsyth
5cb3e8dd55 Merge pull request #2456 from xonsh/sub-pip-xip
Substitute xip for pip in places it should be used.
2017-07-25 18:44:20 -04:00
Jamie Bliss
fb9dfe8d1b Flake8 2017-07-25 15:06:18 -04:00
Jamie Bliss
5a121656cf Add news item 2017-07-25 14:50:50 -04:00
Jamie Bliss
fc86363d71 Rename xip to xpip 2017-07-25 14:49:54 -04:00
Jamie Bliss
c1d0c53089 Substitute xip for pip in places it should be used. 2017-07-25 14:22:08 -04:00
Gil Forsyth
27ffb8d3d8 Merge pull request #2449 from xonsh/fstr
F-strings
2017-07-24 16:33:56 -04:00
Anthony Scopatz
a39dc73c18 rm print 2017-07-23 16:06:32 -07:00
Morten Enemark Lund
d12fdd440a Merge pull request #2453 from xonsh/inappropriate
Typo fix
2017-07-23 18:13:23 +02:00
Gil Forsyth
8f93a3e67f Typo fix
No news item required
2017-07-23 11:29:34 -04:00
Morten Enemark Lund
bb130c11fc Merge pull request #2452 from xonsh/asic
autosuggest in completions
2017-07-22 23:22:02 +02:00
Morten Enemark Lund
983b3205f1 Merge pull request #2451 from xonsh/epadd
EnvPath __add__() and __radd__() methods
2017-07-22 23:15:17 +02:00
Morten Enemark Lund
d82738e2de Merge pull request #2450 from xonsh/srcwrn
source warnings
2017-07-22 23:12:46 +02:00
Anthony Scopatz
ab4770519f fixed typos 2017-07-22 17:08:26 -04:00
Anthony Scopatz
5b78718987 autosuggest in completions 2017-07-22 16:57:03 -04:00
Anthony Scopatz
1df6b22203 EnvPath __add__() and __radd__() methods 2017-07-22 16:31:16 -04:00
Anthony Scopatz
14515df95d send in arg 2017-07-22 16:09:49 -04:00
Anthony Scopatz
b06eb4df73 source warnings 2017-07-22 16:01:07 -04:00
Anthony Scopatz
6a1a2404ae restrict tests to py36 2017-07-22 15:40:28 -04:00
Anthony Scopatz
936f738516 f-string tests working 2017-07-22 15:35:38 -04:00
Anthony Scopatz
ef9c357a73 some upassign AST tests 2017-07-17 13:04:53 -05:00
Anthony Scopatz
1781410d97 Merge branch 'master' into fstr 2017-07-16 16:19:52 -05:00
Morten Enemark Lund
b54a320ac0 Merge pull request #2439 from xonsh/barestarz
x, y, *z unpacking
2017-07-16 23:16:31 +02:00
Anthony Scopatz
18450f4330 Merge branch 'master' into fstr 2017-07-16 16:15:49 -05:00