Commit Graph

327 Commits

Author SHA1 Message Date
K. Lange
5568665ad6 Unverified implementation for __getattr__ 2021-01-14 23:16:13 +09:00
K. Lange
6f51f7b841 Fix up error type for bad unpack 2021-01-14 21:38:06 +09:00
K. Lange
13bbc3ae2d Change 'let' semantics to do unpacking; support unpacking more things 2021-01-14 21:16:48 +09:00
K. Lange
d2d1c98a1e Add 'del' statement. 2021-01-14 16:08:25 +09:00
K. Lange
a9b25d26ee Don't zero the indent width in the repl on a line ending with backslash 2021-01-14 14:29:14 +09:00
K. Lange
a08b76adb5 Support backslash at end of line as continuation 2021-01-14 14:17:02 +09:00
K. Lange
976db6f954 Integer type behind macros 2021-01-14 09:15:44 +09:00
K. Lange
9015176bbb Cleanups clang asked for 2021-01-14 09:15:18 +09:00
K. Lange
2b02ef457e Add basic support for -m argument to interpreter 2021-01-13 09:08:11 +09:00
K. Lange
0c59a20bbb Support binary modes in fileio 2021-01-13 08:27:07 +09:00
K. Lange
63ba9cbced More readme cleanup on strings 2021-01-13 07:57:16 +09:00
K. Lange
a6432e476b missing close paren 2021-01-13 07:39:24 +09:00
K. Lange
5f0f7ea0b1 Some notes on Unicode 2021-01-13 07:36:46 +09:00
K Lange
70732eed56 Add hex() 2021-01-12 22:57:39 +09:00
K. Lange
975d4dcb9b Implement __eq__ and hashing for tuples 2021-01-12 22:30:06 +09:00
K. Lange
f43eff0f2e JSON module should be able to support unicode strings easily 2021-01-12 22:19:24 +09:00
K. Lange
11cb36b751 README cleanup 2021-01-12 22:19:13 +09:00
K. Lange
058a510149 Add some missing builtins 2021-01-12 20:44:40 +09:00
K Lange
1f189ed82c Fixup string iteration for unicode strings 2021-01-12 20:11:52 +09:00
K. Lange
de71ada519 More mentions of unicode stuff 2021-01-12 19:44:18 +09:00
K. Lange
be8b8adbc6 Add simplistic utf-8 error detection 2021-01-12 19:42:52 +09:00
K. Lange
10f3c16e40 Major overhaul of strings to support Unicode 2021-01-12 19:23:14 +09:00
K. Lange
76b0b50154 don't explode on bad repr print? 2021-01-12 14:07:16 +09:00
K. Lange
cc236b8da3 Add stress-test target to run valgrind 2021-01-12 07:34:42 +09:00
K. Lange
d5645b3fb6 Fixup more GC losses 2021-01-12 07:34:26 +09:00
K. Lange
6ebe859ad7 More typo cleanup 2021-01-11 22:35:55 +09:00
K. Lange
6ef5c980af typo 2021-01-11 22:09:59 +09:00
K. Lange
e237120d7d typo 2021-01-11 22:06:00 +09:00
K. Lange
574dd82b92 fixup gc reserve ordering in tryBind 2021-01-11 21:52:44 +09:00
K. Lange
ef92ace5a7 Add | and & operations for sets 2021-01-11 21:46:47 +09:00
K. Lange
dc56d7b2ea Normalize __add__ for strings, but keep the shortcut around 2021-01-11 21:46:24 +09:00
K. Lange
871164d217 Fix gc loss in os.environ 2021-01-11 21:45:34 +09:00
K. Lange
9028585673 gc fixups for class fields 2021-01-11 19:11:14 +09:00
K. Lange
5517162a93 Add json module 2021-01-11 19:02:51 +09:00
K. Lange
b00fcc0c0a Call override functions for various operators if available 2021-01-11 17:48:32 +09:00
K. Lange
ba53e5edac Mention class fields in API docs 2021-01-11 16:38:56 +09:00
K. Lange
eb27158173 Class fields and access to class member methods 2021-01-11 16:31:34 +09:00
K. Lange
3141678fa0 Add 'is'/'is not' for exact object equivalence 2021-01-11 15:03:05 +09:00
K. Lange
1e6507e741 zero checks (without relying on FPE interrupt) 2021-01-11 14:50:01 +09:00
K. Lange
991ed99e78 Add a basic collections module 2021-01-11 14:08:05 +09:00
K. Lange
213c496372 Fix up string escapes, make sure we're handling nil bytes when printing 2021-01-11 11:41:26 +09:00
K. Lange
faba2e9e3f Decorators don't need inner wrappers, of course 2021-01-11 07:55:31 +09:00
K. Lange
393c3be0b6 Remove confusing line about decorator arguments 2021-01-11 07:47:58 +09:00
K. Lange
7c4080c417 '... when they are used...' 2021-01-11 07:45:48 +09:00
K. Lange
36d0db27e8 Fix nested exception example 2021-01-11 07:41:32 +09:00
K. Lange
ed9234e707 '... after an exception...' 2021-01-11 07:39:34 +09:00
K. Lange
48da930acd Typos 2021-01-11 07:03:09 +09:00
K. Lange
ff7dcbb92a Support 'return' from within a 'with' block 2021-01-10 23:39:05 +09:00
K. Lange
e6997418cb Improvements to repl tab completion 2021-01-10 22:07:13 +09:00
K. Lange
be0e8dd6c6 Add gc.collect() 2021-01-10 21:14:15 +09:00