Commit Graph

  • ae6ec7f233 Implement Ellipsis (...) K. Lange 2024-01-01 19:36:55 +0900
  • 7f397b2c2c object.__str__ should call repr; remove extraneous __str__/__repr__ aliases K. Lange 2024-01-01 19:31:54 +0900
  • 98bd980c2a Try to reduce size of debug functions by building them with -Os K. Lange 2023-12-31 18:52:18 +0900
  • a7c2f52814 Should be able to compile with just KRK_DISABLE_DEBUG without issues K. Lange 2023-12-31 18:51:27 +0900
  • a386ab7df0 Remove the long-deprecated KRK_FUNC, KRK_METHOD macros K. Lange 2023-12-31 16:25:52 +0900
  • 886da1a134 Remove krk_printValue, move krk_printValueSafe to debug.c K. Lange 2023-12-31 16:25:00 +0900
  • 07898d31b9 Expose expression span functionality in dis module K. Lange 2023-12-31 09:35:00 +0900
  • f3191a6067 Underline expressions in exception tracebacks. K. Lange 2023-12-30 19:28:30 +0900
  • 0c52d44d3e names array is not NULL-terminated; use 'oarg' which should be count of names at this point K. Lange 2023-12-30 11:45:23 +0900
  • c7caf52f3e Use parseArgs in dis module K. Lange 2023-12-28 22:29:30 +0900
  • 643313baa0 Fix dropped references to keyword arguments in parseArgs K. Lange 2023-12-28 22:04:48 +0900
  • ebe1815075 Don't bother getting the alternate function name if we aren't raising an exception K. Lange 2023-12-28 19:25:00 +0900
  • e9b0269c91 Avoid creating strings for argument names unless necessary K. Lange 2023-12-28 19:11:22 +0900
  • d1bac84663 Cleanup headers K. Lange 2023-12-28 10:20:42 +0900
  • 7023e2e1fe We've made so many incompatible changes this should be 1.5 now K. Lange 2023-12-24 09:12:29 +0900
  • 4ac444be47 Generate more docs K. Lange 2023-12-24 09:09:38 +0900
  • 9633ee3f72 New suite of time functions K. Lange 2023-12-24 09:09:24 +0900
  • 3a74ef5e21 Add 'quiet' option, get_recursion_depth K. Lange 2023-12-24 09:09:07 +0900
  • 416ed28206 Make maximumCallDepth thread-local, expose changing it when feasible K. Lange 2023-12-24 09:05:52 +0900
  • 80754593ad Add pairing heap module K. Lange 2023-12-22 08:26:57 +0900
  • 2685f49d24 Remove modules from import table if they raised exceptions on import K. Lange 2023-12-21 10:50:08 +0900
  • fe430bbb19 Provide a simpler interface for setting up modules that sets __name__ K. Lange 2023-12-21 10:28:44 +0900
  • 6ea43c35e0 Include argument name in parseArgs type errors K. Lange 2023-12-15 17:24:19 +0900
  • 031ca32ab0 extract fileio to a C module K. Lange 2023-12-14 20:51:59 +0900
  • c4d8e8de6b Accept file, flush in print K. Lange 2023-12-14 20:45:10 +0900
  • 02c6f58f3c Separate 'gc' into shared module K. Lange 2023-12-14 13:47:23 +0900
  • 874882d926 docs: stop calling everything the base class of all objects just because it doesn't have its own __doc__ K. Lange 2023-12-14 12:30:55 +0900
  • 0a71a954c2 Make it easier to bundle C modules K. Lange 2023-12-14 11:31:33 +0900
  • 5e0e3e0e22 Remove os module classes from BaseClasses K. Lange 2023-12-14 10:09:55 +0900
  • bd0b80827e should pass CFLAGS to can-floor-without-libm.sh as it may depend on -O option K. Lange 2023-12-14 10:05:01 +0900
  • eb105690b5 Split off 'dis' as well K. Lange 2023-12-14 09:27:59 +0900
  • 8425ed5a3b os, time to C modules, as planned K. Lange 2023-12-14 08:50:28 +0900
  • 91740c8573 Increase default recursion limit to 1000 to match CPython K. Lange 2023-12-13 09:03:14 +0900
  • f247bba985 Bind local name for decorated function early so it can be closed K. Lange 2023-12-12 18:57:05 +0900
  • 0425becba9 Support start, end in str.startswith, str.endswith K. Lange 2023-12-01 22:19:31 +0900
  • fb6faaff1a Remove support for implicit 'exception' name in 'except' blocks K. Lange 2023-11-25 12:30:52 +0900
  • d575bf7607 Handle case of a nested exception in a 'final' K. Lange 2023-11-25 12:14:05 +0900
  • 01d377555a Make tests not rely on 'exception' being an implicit name in 'except' blocks K. Lange 2023-11-25 11:11:56 +0900
  • dd9b84258b Fix up edge cases in exception handling K. Lange 2023-11-24 18:32:16 +0900
  • f41253d9ca Fresh version for next release cycle K. Lange 2023-08-30 18:40:14 +0900
  • 0e3a007452 Test uncolored output uncolored K. Lange 2023-08-30 16:36:04 +0900
  • d6486b590a v1.4.0 v1.4.0 K. Lange 2023-08-28 09:56:27 +0900
  • ced3c6fc5c Add fcntl module #41 Eric S 2023-07-23 21:44:57 +0000
  • c24a1ca633 shared object module paths should be split on / K. Lange 2023-07-20 11:47:06 +0900
  • 0b486f901f
    Start module load function name from the last '/' in the path #40 krkacc 2023-07-19 14:11:30 +0000
  • a8e870cc87 v1.4.0b2 v1.4.0b2 K. Lange 2023-07-07 09:38:17 +0900
  • 6c452a91e7 bool.__format__ K. Lange 2023-06-22 17:16:20 +0900
  • cc763de706 Missing void in function prototype K. Lange 2023-06-15 21:39:01 +0900
  • eaece3db50 Experiment AF_INET6, AF_UNIX support K. Lange 2023-06-15 15:09:53 +0900
  • ed2405f46b Add a quick introspection function since we lack __dict__ K. Lange 2023-06-14 13:10:57 +0900
  • 3416c917c7 Add meson build system support #38 Pedro Falcato 2023-02-28 23:50:54 +0000
  • 85319d7f27 Catch extraneous kwargs in __new__ with default __init__ K. Lange 2023-06-13 17:36:04 +0900
  • 011a33ff43 Clear exception flag when raising new exception in 'from ... import ...' K. Lange 2023-06-13 16:42:46 +0900
  • 2bc4637f5c Bump version to b1 v1.4.0b1 K. Lange 2023-06-08 08:50:54 +0900
  • f1003ef9d5 range.__contains__ K. Lange 2023-06-08 08:50:17 +0900
  • b88267c828 No fallback print support for floats in KRK_NO_FLOAT K. Lange 2023-05-30 09:26:26 +0900
  • 7c4d622d8a No int-from-float in KRK_NO_FLOAT K. Lange 2023-05-30 09:18:53 +0900
  • f3b8858727 Ignore floats in str.__mod__ in KKR_NO_FLOAT K. Lange 2023-05-30 09:10:38 +0900
  • bff66e2b72 Replace STATIC_ONLY with KRK_STATIC_ONLY K. Lange 2023-05-30 08:01:52 +0900
  • 358c6b1c78 Support building without floats K. Lange 2023-05-30 07:59:28 +0900
  • cd28d82939 implement int() with parseArgs K. Lange 2023-04-20 14:26:32 +0900
  • a5856ecd6d ceil/floor/trunc should be able to return longs K. Lange 2023-03-28 12:50:12 +0900
  • 0c40e8a6fc Actually commit parseArgs test tool K. Lange 2023-03-27 09:17:40 +0900
  • 3436afcf18 Convert non-floats in f, d parseArgs specifiers K. Lange 2023-03-27 09:12:09 +0900
  • e26391bc2f Automatically detect if libm is needed to support floordiv K. Lange 2023-03-27 09:11:40 +0900
  • f09f62e441 Bump alpha number K. Lange 2023-03-01 07:03:18 +0900
  • 47673877f0 Assignments to *expr sequences K. Lange 2023-02-28 20:03:32 +0900
  • 05209793be Expand *expr in list, set, tuple; **expr in dict K. Lange 2023-02-28 15:46:02 +0900
  • 20154ba519 New opcodes to support *-expansion in collection expressions K. Lange 2023-02-28 15:45:36 +0900
  • 8b99aa30f3 set.update K. Lange 2023-02-28 15:44:31 +0900
  • ed0342b955 Allow staticmethod, classmethod to be applied to native functions K. Lange 2023-02-15 19:27:22 +0900
  • b40b2a2f01 __get__ on super() should bind real class, not super class K. Lange 2023-02-15 19:24:22 +0900
  • 7e15c40849 Support : in parseArgs format with same meaning as CPython ParseTuple K. Lange 2023-02-14 22:13:31 +0900
  • a113c5540d Add ? option to krk_parseArgs, make ! work for everything K. Lange 2023-02-13 10:07:41 +0900
  • 3f5693cf43 Expose krk_isSubClass K. Lange 2023-02-12 15:09:29 +0900
  • ca1a490bbb Allow some very specific reassignments of __class__ K. Lange 2023-02-12 13:46:45 +0900
  • 8711f8cae7 Support __bool__ K. Lange 2023-02-12 13:38:28 +0900
  • 417a334fc0 All non-instant types should set allocSize to 0 K. Lange 2023-02-12 13:37:43 +0900
  • 7dc9e68367 Prevent object.__new__ from being used on classes with other C __new__ implementations K. Lange 2023-02-12 07:39:39 +0900
  • 46b63fc871 Support upvalue cells as exposed objects K. Lange 2023-02-12 07:39:12 +0900
  • 371ddc48be Backport fix v1.3.1 v1.3 K. Lange 2023-02-09 10:59:11 +0900
  • ffa5d7e611 krk_long_compare can not fail, so not sure why we think we can fail krk_long_add from that K. Lange 2023-02-09 10:51:54 +0900
  • 0f3fe14aa3 Add a test case for that K. Lange 2023-02-09 10:48:37 +0900
  • 7ae6968b5c Fix bug when adding long '-n' and 'n' K. Lange 2023-02-09 10:39:24 +0900
  • c5c8c163af Additional documentation cleanup K. Lange 2023-01-28 14:20:19 +0900
  • 361f915cce Only descriptors with __set__ methods should be __get__'d preemptively K. Lange 2023-01-26 20:33:40 +0900
  • 1e044c140d Support for __init_subclass__ K. Lange 2023-01-26 20:01:12 +0900
  • 5d1b73b3a2 Fixes for __get__, super() with class methods, etc. K. Lange 2023-01-26 19:25:10 +0900
  • 867ce85fee Additional cleanup K. Lange 2023-01-26 17:52:06 +0900
  • 69e0161ce4 Ensure metaclasses stick around K. Lange 2023-01-26 12:08:11 +0900
  • 81abff3d75 __init__ should always return None K. Lange 2023-01-26 12:05:53 +0900
  • 8e80e04a33 Fix up implict class/static methods K. Lange 2023-01-25 23:50:35 +0900
  • 429c699c00 Metaclass determination K. Lange 2023-01-25 23:23:45 +0900
  • 47d703cb1e Cleanup K. Lange 2023-01-25 23:23:39 +0900
  • a6373e66c9 functioning metaclasses K. Lange 2023-01-25 22:51:23 +0900
  • 617d30d804 Very initial rebuild of class creation K. Lange 2023-01-25 22:10:13 +0900
  • f9df8b22ef initial support for __new__ K. Lange 2023-01-24 18:15:13 +0900
  • eef955935d 'hasKw' is not sufficient to check if a function received kwargs K. Lange 2022-12-14 06:11:34 +0900
  • c3e1226e96 Just extract the argument outside of matchType K. Lange 2022-11-20 09:20:14 +0900
  • 4556a3496c Fix inconsistent use of va_args passed to other function K. Lange 2022-11-17 23:57:27 +0900