Commit Graph

1394 Commits

Author SHA1 Message Date
K. Lange
ffa5d7e611 krk_long_compare can not fail, so not sure why we think we can fail krk_long_add from that 2023-02-09 10:51:54 +09:00
K. Lange
0f3fe14aa3 Add a test case for that 2023-02-09 10:48:37 +09:00
K. Lange
7ae6968b5c Fix bug when adding long '-n' and 'n' 2023-02-09 10:39:24 +09:00
K. Lange
c5c8c163af Additional documentation cleanup 2023-01-28 14:20:19 +09:00
K. Lange
361f915cce Only descriptors with __set__ methods should be __get__'d preemptively 2023-01-26 20:33:40 +09:00
K. Lange
1e044c140d Support for __init_subclass__ 2023-01-26 20:01:39 +09:00
K. Lange
5d1b73b3a2 Fixes for __get__, super() with class methods, etc. 2023-01-26 19:25:10 +09:00
K. Lange
867ce85fee Additional cleanup 2023-01-26 17:52:06 +09:00
K. Lange
69e0161ce4 Ensure metaclasses stick around 2023-01-26 12:08:11 +09:00
K. Lange
81abff3d75 __init__ should always return None 2023-01-26 12:05:53 +09:00
K. Lange
8e80e04a33 Fix up implict class/static methods 2023-01-25 23:50:35 +09:00
K. Lange
429c699c00 Metaclass determination 2023-01-25 23:23:45 +09:00
K. Lange
47d703cb1e Cleanup 2023-01-25 23:23:39 +09:00
K. Lange
a6373e66c9 functioning metaclasses 2023-01-25 22:51:23 +09:00
K. Lange
617d30d804 Very initial rebuild of class creation 2023-01-25 22:10:13 +09:00
K. Lange
f9df8b22ef initial support for __new__ 2023-01-24 18:15:13 +09:00
K. Lange
eef955935d 'hasKw' is not sufficient to check if a function received kwargs 2022-12-14 06:11:51 +09:00
K. Lange
c3e1226e96 Just extract the argument outside of matchType 2022-11-20 09:20:14 +09:00
K. Lange
4556a3496c Fix inconsistent use of va_args passed to other function 2022-11-17 23:57:27 +09:00
K. Lange
f4b40b1b70 Note on building for ARM64 Android targets with MTE 2022-10-20 13:40:27 +09:00
K. Lange
aec19e61ec Attempt to support MTE on Android arm64 2022-10-20 09:57:53 +09:00
K. Lange
a77a040d22 Do not attempt to store boxed references to NULL as if it were an object 2022-10-20 09:33:06 +09:00
K. Lange
3f35d89fff Workaround parse issue in Doxygen 1.9 that was breaking module list 2022-10-03 18:29:10 +09:00
K. Lange
5375e0881e Differentiate functions from codeobjects in debug output 2022-10-03 18:28:37 +09:00
K. Lange
009252e412 Remove redundant 'return None' at end of comprehensions 2022-10-03 18:28:17 +09:00
K. Lange
7d57acd49a Support /,*,kws in function definitions 2022-09-29 21:46:10 +09:00
K. Lange
29b9db0079 Fix uninitialized digits when resizing in some cases 2022-09-28 15:09:16 +09:00
K. Lange
7f134f262c Appease warning about misleading indentation in a macro expansion 2022-09-28 13:07:39 +09:00
K. Lange
5f4d3df5d0 Fixup empty parameter lists in function definitions 2022-09-19 10:19:09 +09:00
K. Lange
21885de9ad 1.3.0 2022-09-14 06:24:26 +09:00
K. Lange
8043ca2183 Pre-hash strings from str(),hex(),oct(),bin() conversions 2022-09-13 19:46:17 +09:00
K. Lange
08aa30a7c0 Calculate hash while multiplying strings 2022-09-13 19:32:03 +09:00
K. Lange
b9b60adf56 Better power-of-two base conversions for parsing/printing longs 2022-09-13 19:10:52 +09:00
K. Lange
564a4b3307 Parse 'let' declarations as simple statements 2022-09-13 14:25:39 +09:00
K. Lange
a59b635bbc tgamma/lgamma should exist on all of these platforms 2022-09-03 20:00:14 +09:00
K. Lange
90f6854c72 Just bind tgamma instead for now; can alias it later 2022-09-01 06:33:16 +09:00
K. Lange
6cb3be264b Don't bind 'math.gamma' to libc gamma, we have no idea what that might actually calculate 2022-09-01 06:23:44 +09:00
K. Lange
d63ab70466 Fix dangling pointer to VM value stack in krk_processComplexArguments
Fixes #30
2022-08-31 19:06:43 +09:00
K. Lange
81c570686b Saturate rather than failing on index bounds in list.insert() 2022-08-26 04:26:37 +09:00
K. Lange
ab0418fec6 fix missing .0 when printing negative whole floats 2022-08-25 09:32:09 +09:00
K. Lange
016e9e4143 Use StringBuilders in compiler string parsing 2022-08-14 14:12:18 +09:00
K. Lange
0b696fc361 StringBuilders should be cleared when finished or discarded 2022-08-14 14:10:56 +09:00
K. Lange
e4f96af8dd Expand KRK_Method, KRK_Function in doxygen docs, instead of old _METHOD, _FUNC 2022-08-14 13:55:23 +09:00
K. Lange
9732e0115a Drop SCAN_TRACING 2022-08-14 13:52:59 +09:00
K. Lange
13d018986a Add an __options__ import to disable implicit 'self' 2022-08-14 13:48:59 +09:00
K. Lange
e6e63ada72 Fixup backspace behavior in rline 2022-08-14 13:48:07 +09:00
K. Lange
4e791e9d31 Fix bad return values from int.__eq__, float.__eq__ 2022-08-12 20:10:54 +09:00
K. Lange
b9f8f4cb7e Bump serial 2022-08-11 12:01:34 +09:00
K. Lange
342ee04553 Cleanup krk_disassembleInstruction 2022-08-11 11:46:38 +09:00
K. Lange
fb57355178 Use krk_parseArgs in os module 2022-08-11 10:52:48 +09:00