Commit graph

9190 commits

Author SHA1 Message Date
Anthony Scopatz
b30448b300
Merge pull request #3720 from laloch/pos-only-args
Add support for PEP 570 positional-only parameters
2020-08-26 23:20:02 -05:00
David Strobach
2eb5271fa0 Add PEP 570 pos-only parameters to lambda varargs 2020-08-27 03:28:44 +02:00
David Strobach
79eccc488c Fix pos-only parameters not requiring comma before slash
This fixes `def foo(x /, y):` being accepted as valid syntax.
2020-08-27 03:28:44 +02:00
David Strobach
b5575947ad Fix positional-only args test 2020-08-27 03:28:44 +02:00
David Strobach
af9c5b59bd Add support for PEP 570 positional-only arguments 2020-08-27 03:28:37 +02:00
David Strobach
1f2b92bd32 Changelog entry 2020-08-27 00:06:56 +02:00
Anthony Scopatz
17e56563a5
Merge pull request #3719 from laloch/return-star-expr
Add support for Python 3.8's starred expressions in return statement
2020-08-26 14:17:07 -05:00
David Strobach
5d64139b8f Add support for Python 3.8 star expressions in yield statement 2020-08-26 20:37:19 +02:00
David Strobach
fb664b3456 Fix starred return test 2020-08-26 20:32:53 +02:00
David Strobach
fca19d13fe Changelog entry 2020-08-26 20:32:44 +02:00
David Strobach
c9d45de556 Add support for Python 3.8 star expressions in return statement 2020-08-26 19:14:45 +02:00
Anthony Scopatz
5aed9ee5ca Updated CHANGELOG for 0.9.20 2020-08-26 11:58:11 -05:00
Anthony Scopatz
fd807a2529 bumped version to 0.9.20 2020-08-26 11:58:10 -05:00
Anthony Scopatz
718caa7d78 rm appveyor version bump 2020-08-26 11:58:01 -05:00
Anthony Scopatz
638f3cf75a Updated authorship for 0.9.20 2020-08-26 11:56:32 -05:00
Anthony Scopatz
60bcef4777 don't call asset 2020-08-26 11:56:16 -05:00
Anthony Scopatz
8a78a0394a some updates 2020-08-26 11:35:29 -05:00
David Strobach
2857db66da
Merge pull request #3718 from xonsh/black
black updates to tests and docs
2020-08-26 17:53:20 +02:00
David Strobach
bfa9967350
Merge pull request #3717 from xonsh/webconfig-up
updates to webconfig
2020-08-26 17:13:06 +02:00
Anthony Scopatz
f048b295d6 black updates to tests and docs 2020-08-26 10:10:59 -05:00
Anthony Scopatz
97f03cc4cc updates to webconfig 2020-08-26 09:56:50 -05:00
Anthony Scopatz
5e9016561a
Merge pull request #3714 from laloch/fix-multi-if-comps
Fix list comprehensions with multiple if clauses
2020-08-25 10:56:40 -05:00
David Strobach
94246a2f8f Changelog entry 2020-08-25 01:35:05 +02:00
David Strobach
b0336dfbe5 Fix list comprehensions with multiple if clauses 2020-08-25 01:34:59 +02:00
Anthony Scopatz
1001603f96
Merge pull request #3710 from laloch/vox-env-fix-take2
vox: Fix virtual environment removal
2020-08-24 09:41:28 -05:00
David Strobach
528d2f913a
Merge pull request #3700 from xonsh/unlocked
locked issue
2020-08-24 10:25:32 +02:00
David Strobach
f4794caef7 vox: Fix virtual environment removal
Virtual environment was impossible to delete after
activation/deactivation cycle.
2020-08-23 20:49:32 +02:00
Anthony Scopatz
88645cbce4
Merge pull request #3709 from laloch/vox-env-fix
Restore vox functionality
2020-08-23 10:11:46 -05:00
David Strobach
2e3b56f799 Changelog entry 2020-08-23 11:24:34 +02:00
David Strobach
5c2e5a3d8d vox: Restore vox functionality
After the recent changes in environment defaults, the vox xontrib
could not "see" the virtual environments and work with them.
2020-08-23 11:16:26 +02:00
Morten Enemark Lund
be68670f1c
Merge pull request #3708 from xonsh/thread-docs
more docs about thread_subprocs
2020-08-23 07:15:01 +02:00
Anthony Scopatz
d5223f34fd more docs 2020-08-22 19:37:29 -05:00
David Strobach
eb738994ca
Merge pull request #3705 from xonsh/nothreadrc
THREAD_SUBPROCS=None for xonshrc files
2020-08-23 01:40:30 +02:00
Anthony Scopatz
7f8b20cc28
Merge pull request #3707 from laloch/docs-fix-index-panes
index.html: Activate correct pane in Recent Update Area
2020-08-21 13:00:31 -05:00
David Strobach
a2ec70749f index.html: Activate correct pane in Recent Update Area 2020-08-21 19:31:57 +02:00
Anthony Scopatz
22610f48d6 THREAD_SUBPROCS=None for xonshrc files 2020-08-20 20:11:37 -05:00
Anthony Scopatz
70bd020858
Merge pull request #3660 from laloch/fstrings
Improve handling of f-strings
2020-08-20 15:25:42 -05:00
David Strobach
5edd851feb Fix literal whitespace being deleted from f-strings
Fixes an issue with
 f"$HOME       = {$HOME}"
resulting in
 "$HOME= /home/foobar"
2020-08-20 05:41:28 +02:00
David Strobach
289fb15774 fstring_adaptor: Address issues found by reviewer 2020-08-20 04:21:34 +02:00
Anthony Scopatz
ba9af9247d black 2020-08-19 19:18:39 -05:00
Anthony Scopatz
de5f951abf ts robustness 2020-08-19 18:37:09 -05:00
Anthony Scopatz
7dc4129560 locked issue 2020-08-17 22:00:36 -05:00
David Strobach
c3a354781b Finalize f-string handler transition
- Moves the f-string handler into a separate FStringAdaptor class.
- Removes helper dictionary mapping int ID to f-string field.
  The f-string fields are now rather patched early directly into the
  AST as an argument to eval_fstring_field. This solves the problems
  with f-string fields lifespan management.
2020-08-17 13:41:11 +02:00
Morten Enemark Lund
32aa45b265
Merge pull request #3696 from xonsh/enviter
Env.rawkeys()
2020-08-17 07:53:23 +02:00
David Strobach
9879fce927 Support Python 3.8 self-documenting f-string expressions 2020-08-17 04:57:39 +02:00
David Strobach
03fa6d27e9 Add changelog entry 2020-08-17 04:57:39 +02:00
David Strobach
12c8990e53 Fix f-string tests 2020-08-17 04:57:39 +02:00
David Strobach
dcedf4ac64 Improve handling of f-strings 2020-08-17 04:57:39 +02:00
Anthony Scopatz
43e7827a9a fix tests 2020-08-16 19:13:35 -05:00
Anthony Scopatz
0d1d3574ea Env.rawkeys() 2020-08-16 18:46:02 -05:00