Commit Graph

2825 Commits

Author SHA1 Message Date
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
Kodi Arfer
c255f0d03c Remove old hy._compat raising code 2019-06-04 14:01:59 -04:00
Kodi Arfer
ecf0352d37 Remove aliases: builtins, FileNotFoundError 2019-06-04 14:01:59 -04:00
Kodi Arfer
2685b01a4b Remove miscellaneous PY3 checks 2019-06-04 14:01:59 -04:00
Kodi Arfer
bba97ab2a6 Remove hy._compat's type aliases 2019-06-04 14:01:59 -04:00
Kodi Arfer
b130e3284e Don't test Python 2 2019-06-04 14:01:59 -04:00
Kodi Arfer
ea872c3983 Remove native tests of Python 2 2019-06-04 14:01:59 -04:00
Kodi Arfer
5c7441b011 Remove non-native tests of Python 2 2019-06-04 14:01:59 -04:00
Kodi Arfer
4a2e7e1bd0 Integrate py3_only_tests into native_tests/language 2019-06-04 14:01:59 -04:00
Kodi Arfer
da855af569 Remove Python 2 from trove classifiers 2019-06-04 14:01:59 -04:00
Kodi Arfer
678365678f
Merge pull request #1781 from krysros/patch-1
Fix a typo in a tutorial example
2019-05-27 12:58:09 -04:00
Krystian Rosiński
0fd02bf52b Fix a typo in a tutorial example 2019-05-27 18:49:52 +02:00