Ryan Gonzalez
|
1b8b1f110a
|
Merge pull request #1813 from Kodiologist/homeless
Avoid a crash when we can't access a history file
|
2019-08-19 12:40:08 -05:00 |
|
Kodi Arfer
|
7aaece3725
|
Use #* assignments instead of head-tail
|
2019-08-18 09:44:29 -04:00 |
|
Kodi Arfer
|
cc8948d9b9
|
Return plain lists from HyDict.keys, .values
|
2019-08-18 09:43:02 -04:00 |
|
Kodi Arfer
|
8576d00ce8
|
Implement HySequence with tuples instead of lists
|
2019-08-18 09:43:02 -04:00 |
|
Kodi Arfer
|
52c0e4e221
|
Add explicit checks for HyList
|
2019-08-18 09:43:02 -04:00 |
|
Kodi Arfer
|
dce0e10f3f
|
Use nonlocal instead of a singleton list
|
2019-08-18 09:43:02 -04:00 |
|
Kodi Arfer
|
4a40ff3d7e
|
Check for HySequence in hy.contrib.walk
|
2019-08-18 09:43:02 -04:00 |
|
Kodi Arfer
|
95ad5a01c8
|
Avoid mutating HyLists in hy.contrib
|
2019-08-18 09:43:02 -04:00 |
|
Kodi Arfer
|
9ddb3b1031
|
Rewrite _with
|
2019-08-18 09:43:02 -04:00 |
|
Kodi Arfer
|
6cced31738
|
Rewrite cond
|
2019-08-18 09:43:02 -04:00 |
|
Kodi Arfer
|
88c0f92810
|
Clean up string handling in _compile_assign
|
2019-08-18 09:43:02 -04: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
|
84fbf04f84
|
Fix AST representation of format strings
|
2019-08-13 16:07:46 -04:00 |
|
Kodi Arfer
|
6fb6eefd6b
|
Make augmented assignment operators variadic
|
2019-08-08 15:12:03 -04:00 |
|
Kodi Arfer
|
d32e460531
|
Remove some exceptions in keyword parsing
|
2019-07-24 11:21:11 -04:00 |
|
Ryan Gonzalez
|
6f3b6ca735
|
Pre-Python 3.4 cleanup (including Python 2)
|
2019-07-22 14:11:17 -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
|
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 |
|
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
|
ba9b0239c7
|
Fix crashes on the new Python 3.8 alpha
|
2019-06-04 16:03:52 -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
|
e77ce92635
|
Simplify gensym format
|
2019-04-29 08:10:51 -04:00 |
|
Kodi Arfer
|
6c74cf1f07
|
Add setx for assignment expressions
|
2019-04-23 15:35:12 -04:00 |
|
Kodi Arfer
|
8df0a41d7d
|
Provide Module(..., type_ignores) for Python 3.8
|
2019-04-23 15:35:12 -04:00 |
|
Tristan Cacqueray
|
d793cee90a
|
add tuple? function hy.core
`tuple?` will test if the argument is an instance of tuple.
|
2019-04-23 15:25:49 -04:00 |
|
Tristan Cacqueray
|
1c7ca7ac1f
|
update contrib and macro to use the new list? function
|
2019-04-09 00:07:10 +00:00 |
|
Tristan Cacqueray
|
b0ed103931
|
add list? function to hy.core
`list?` will test if the argument is an instance of list.
|
2019-04-09 00:07:10 +00:00 |
|
Kodi Arfer
|
cbca711865
|
Merge pull request #1758 from brandonwillard/fix-decorator-error
Check arguments in with-decorator tag
|
2019-04-08 14:15:32 -04:00 |
|
Andrew R. M
|
da823d2cad
|
Fix a temporary-file crash
|
2019-04-06 15:43:10 -04:00 |
|
Kodi Arfer
|
ad97042b6b
|
Don't test Python 3.4
|
2019-03-17 18:36:53 -04:00 |
|
Kodi Arfer
|
0fe7f42efc
|
Remove internal checks for Python 3.5
|
2019-03-17 18:28:39 -04:00 |
|
Brandon T. Willard
|
9203fcaeb5
|
Check arguments in with-decorator tag
Fixes #1757.
|
2019-03-16 23:19:49 -05:00 |
|
Kodi Arfer
|
5bfc140b4d
|
Implement format strings
|
2019-02-26 14:04:24 -05:00 |
|
Kodi Arfer
|
56f51a9a20
|
Implement hy.lex.parse_one_thing
|
2019-02-26 13:57:50 -05:00 |
|