Yigong Wang
564c030950
Raise LexException when codec can't decode some bytes
2018-04-07 11:47:06 -07:00
Yigong Wang
be8537c0cf
Add recent REPL results globals *i and most recent error *e
...
This comment add *1, *2, *3 as globals for recent REPL results.
*e global is also added for the most recent error object.
2018-04-02 00:21:13 -04:00
Yigong Wang
4073c78069
Add -E support for Hy REPL
...
This commit adds -E support for Hy. Similar to Python, hy will ignore
all PYTHON* environment variables, e.g. PYTHONPATH and PYTHONHOME,
that might be set.
2018-03-31 15:16:40 -07:00
Simon Gomizelj
b27cdfed69
Fix defclass
construction
...
Python Class AST expects a body which is a list of ast.Expr. Force
every entry to be stored as a statement. This means we'll preserve
print statements.
Python also doesn't construct docstrings in classes by setting a
__doc__ attribute, it does it by inspecting the first ast.Expr node of
the class. But this means we can remove the special handler for it.
2018-03-31 02:43:53 -04:00
Kodi Arfer
21f13b977d
Update NEWS and classifiers for Python 3.7 support
2018-03-24 12:39:54 -07:00
Kodi Arfer
ad59fd7ff6
In -> and ->>, don't modify the arguments
2018-03-23 13:57:19 -07:00
Simon Gomizelj
c663d38e33
Add metaclass support, support PEP 3115 and PEP 487
2018-03-22 13:28:22 -07:00
Kodi Arfer
ea2f5f859b
Clean up NEWS
2018-03-22 13:27:42 -07:00
Kodi Arfer
ca06294c18
Update NEWS
2018-03-13 14:57:30 -04:00
Kodi Arfer
3c97d2982c
Use *1
instead of _
for REPL history
...
`_`, as a variable, is now the shadow subtraction operator.
2018-03-13 14:56:47 -04:00
Kodi Arfer
7fcc7ac4b6
Make unary comparison ops evaluate their argument
2018-03-13 14:38:36 -04:00
Kodi Arfer
8c00ab66f9
NEWS and docs for hy-repr
2018-03-10 18:11:07 -08:00
Tuukka Turto
c1e5c3e48c
Merge pull request #1500 from vodik/deprecations
...
Deal with some deprecation and resource warnings / fix (return) semantics
2018-02-27 23:20:49 +02:00
Jakub Wilk
d1cb630698
Fix typos
2018-02-15 16:35:33 +01:00
Simon Gomizelj
316220b742
Fix AST generation of a naked return
2018-02-14 16:05:31 -05:00
Kodi Arfer
883e937785
Fix mention of apply
in NEWS
2018-02-13 15:32:40 -08:00
Kodi Arfer
b1ce56a4bb
Fix ReST typo in NEWS
2018-02-13 15:32:40 -08:00
Kodi Arfer
cfcae05b5e
Remove extra indentation in NEWS
2018-02-13 15:32:40 -08:00
Kodi Arfer
3b5bb9e559
Add 0.13.1 to NEWS
2018-02-13 15:31:52 -08:00
Kodi Arfer
142c7eef1a
In recent NEWS.rst headers, name the new version
2018-02-13 15:31:52 -08:00
Kodi Arfer
355f3f4259
Convert NEWS to reStructuredText
2018-02-13 15:31:52 -08:00