Commit Graph

2786 Commits

Author SHA1 Message Date
Kodi Arfer
88c0f92810 Clean up string handling in _compile_assign 2019-08-18 09:43:02 -04:00
Kodi Arfer
bc524daee8 Remove dead code 2019-08-18 09:43:02 -04:00
Kodi Arfer
419558ef54
Merge pull request #1814 from josephtoles/master
Fixed broken link to Graphviz
2019-08-17 08:33:37 -04:00
lsusr
6929973d0d Fixed broken link to Graphviz 2019-08-17 00:39:04 -07:00
Kodi Arfer
ad74a92e2d Avoid a crash when we can't access a history file 2019-08-16 19:03:34 -04:00
Kodi Arfer
2942419bc8
Merge pull request #1803 from Kodiologist/fstring2py
Fix AST representation of format strings
2019-08-13 16:13:01 -04:00
Kodi Arfer
84fbf04f84 Fix AST representation of format strings 2019-08-13 16:07:46 -04:00
Kodi Arfer
7908b663ad
Merge pull request #1800 from Kodiologist/augs
Make augmented assignment operators variadic
2019-08-08 15:17:53 -04:00
Kodi Arfer
a9c6ab6391 Remove native_tests/mathematics
It should now be fully redundant with native_tests/operators.
2019-08-08 15:12:03 -04:00
Kodi Arfer
6fb6eefd6b Make augmented assignment operators variadic 2019-08-08 15:12:03 -04:00
Kodi Arfer
d6ae646c66
Merge pull request #1799 from Kodiologist/kwp
Remove some exceptions in keyword parsing
2019-08-08 15:11:44 -04:00
Kodi Arfer
d32e460531 Remove some exceptions in keyword parsing 2019-07-24 11:21:11 -04:00
Kodi Arfer
5b20fa9dfb
Merge pull request #1793 from refi64/py2-cleanup
Pre-Python 3.4 cleanup (including Python 2)
2019-07-22 14:19:40 -04:00
Ryan Gonzalez
6f3b6ca735 Pre-Python 3.4 cleanup (including Python 2) 2019-07-22 14:11:17 -04:00
Kodi Arfer
cf91e16235
Merge pull request #1792 from refi64/while-cond
Rework statements in while condition
2019-07-22 14:10:32 -04:00
Ryan Gonzalez
289f172d56 Fix #1790: Rework statements in while condition
This avoids compiling them more than once while also applying some simplification.
2019-07-22 11:34:48 -04:00
Kodi Arfer
3a4e31c209
Merge pull request #1791 from Kodiologist/assertmsg
Run statements in the second argument of `assert`
2019-07-21 11:19:22 -04:00
Kodi Arfer
d99cf80986 Run statements in the second argument of assert
I've edited the test to use a list instead of a set because the order of evaluation probably ought to be guaranteed.
2019-07-21 10:17:24 -04:00
Kodi Arfer
3afb4fdabe Use mkexpr in HyASTCompiler.imports_as_stmts 2019-07-21 10:17:24 -04:00
Kodi Arfer
349da353d6 Factor out compiler subs for constructing HyExprs 2019-07-21 10:17:24 -04:00
Ryan Gonzalez
e777f25796
Merge pull request #1797 from Kodiologist/doc-await
Document `await`
2019-07-18 11:49:13 -05:00
Kodi Arfer
0fcf570a3f Document await 2019-07-18 10:43:01 -04:00
Kodi Arfer
1b1a6d7684
Merge pull request #1789 from Kodiologist/rm-defclass-attr-list
Remove the attribute list of `defclass`
2019-07-17 14:40:13 -04:00
Kodi Arfer
8b101d1214 Update documentation 2019-07-17 14:34:31 -04:00
Kodi Arfer
c99360b294 Remove support for defclass attribute lists 2019-07-17 14:34:31 -04:00
Kodi Arfer
6bc9e842e1 Clean up whitespace 2019-07-17 14:34:31 -04:00
Kodi Arfer
308bedbebe Remove uses of defclass attribute lists 2019-07-17 14:34:31 -04:00
Kodi Arfer
8215281968
Merge pull request #1787 from Kodiologist/reload-test
Add a test for a previously fixed reloading bug
2019-07-06 14:53:20 -04:00
Kodi Arfer
eb265181bf Add a test for a previously fixed reloading bug 2019-06-28 13:41:14 -04:00
Kodi Arfer
e436d9dd4d Remove an obsolete check for importlib.reload 2019-06-25 13:00:31 -04:00
Kodi Arfer
0531f056aa
Merge pull request #1784 from Kodiologist/py38b
Fix a test for Python 3.8.0b1
2019-06-25 13:00:10 -04:00
Kodi Arfer
36708e8e99 Fix a test for Python 3.8.0b1
`int`, among other types, no longer has a `__str__` method, so `(str '3)` now returns "(HyInteger 3)" instead of "3".
2019-06-25 12:41:46 -04:00
Kodi Arfer
a2f9452319
Merge pull request #1788 from ajschumacher/patch-1
typo: missing "a"
2019-06-25 12:40:57 -04:00
Aaron Schumacher
d547610adb
typo: missing "a" 2019-06-25 11:52:33 -04:00
Kodi Arfer
03d01ed647
Merge pull request #1783 from Kodiologist/update-coreteam-rst
Update coreteam.rst
2019-06-10 15:40:38 -04:00
Kodi Arfer
704983ed44 Clean up coreteam.rst 2019-06-10 15:24:48 -04:00
Kodi Arfer
413648f6ba Remove update-coreteam.hy
It wasn't very useful, especially because it needed manual updates anyway.
2019-06-10 15:24:48 -04:00
Kodi Arfer
c2cde0a821
Merge pull request #1777 from Kodiologist/nopy2
Drop support for Python 2
2019-06-04 16:23:25 -04:00
Kodi Arfer
ba9b0239c7 Fix crashes on the new Python 3.8 alpha 2019-06-04 16:03:52 -04:00
Kodi Arfer
9914e9010c Update the docs for removing Python 2 support
Some of the example output may still be from Python 2.
2019-06-04 14:01:59 -04:00
Kodi Arfer
081c22d50b Update NEWS 2019-06-04 14:01:59 -04:00
Kodi Arfer
9b4178ebd0 Remove undocumented fns integer and string 2019-06-04 14:01:59 -04:00
Kodi Arfer
6af6a2945a Remove if-python2 and its uses 2019-06-04 14:01:59 -04:00
Kodi Arfer
7ba1407257 Remove hy._compat.PY3 2019-06-04 14:01:59 -04:00
Kodi Arfer
762e5fad2d Remove Python 2 support in hy.compiler 2019-06-04 14:01:59 -04:00
Kodi Arfer
67def3359f Remove Python 2 support from hy.importer 2019-06-04 14:01:59 -04:00
Kodi Arfer
5dcb03b64d Move isidentifier to hy.lex 2019-06-04 14:01:59 -04:00
Kodi Arfer
d7da03be12 Simplify hy._compat.isidentifier 2019-06-04 14:01:59 -04:00
Kodi Arfer
e45cee575a Move rename_function to hy.macros 2019-06-04 14:01:59 -04:00
Kodi Arfer
7991c59480 Remove handling of UCS-2 2019-06-04 14:01:59 -04:00