Commit Graph

1404 Commits

Author SHA1 Message Date
K. Lange
9633ee3f72 New suite of time functions 2023-12-24 09:09:24 +09:00
K. Lange
3a74ef5e21 Add 'quiet' option, get_recursion_depth 2023-12-24 09:09:07 +09:00
K. Lange
416ed28206 Make maximumCallDepth thread-local, expose changing it when feasible 2023-12-24 09:05:52 +09:00
K. Lange
80754593ad Add pairing heap module 2023-12-22 08:26:57 +09:00
K. Lange
2685f49d24 Remove modules from import table if they raised exceptions on import 2023-12-21 10:50:08 +09:00
K. Lange
fe430bbb19 Provide a simpler interface for setting up modules that sets __name__ 2023-12-21 10:28:44 +09:00
K. Lange
6ea43c35e0 Include argument name in parseArgs type errors 2023-12-15 17:24:19 +09:00
K. Lange
031ca32ab0 extract fileio to a C module 2023-12-14 20:51:59 +09:00
K. Lange
c4d8e8de6b Accept file, flush in print 2023-12-14 20:45:10 +09:00
K. Lange
02c6f58f3c Separate 'gc' into shared module 2023-12-14 13:47:23 +09:00
K. Lange
874882d926 docs: stop calling everything the base class of all objects just because it doesn't have its own __doc__ 2023-12-14 12:30:55 +09:00
K. Lange
0a71a954c2 Make it easier to bundle C modules 2023-12-14 12:05:32 +09:00
K. Lange
5e0e3e0e22 Remove os module classes from BaseClasses
Nothing should have been referencing _Environ or stat_result.
We can move CompilerState and Cell into these available slots, as
those also should not have been used by libraries.
2023-12-14 10:09:55 +09:00
K. Lange
bd0b80827e should pass CFLAGS to can-floor-without-libm.sh as it may depend on -O option 2023-12-14 10:05:01 +09:00
K. Lange
eb105690b5 Split off 'dis' as well 2023-12-14 09:55:02 +09:00
K. Lange
8425ed5a3b os, time to C modules, as planned 2023-12-14 09:03:47 +09:00
K. Lange
91740c8573 Increase default recursion limit to 1000 to match CPython 2023-12-13 09:03:14 +09:00
K. Lange
f247bba985 Bind local name for decorated function early so it can be closed 2023-12-12 20:21:42 +09:00
K. Lange
0425becba9 Support start, end in str.startswith, str.endswith 2023-12-05 07:25:16 +09:00
K. Lange
fb6faaff1a Remove support for implicit 'exception' name in 'except' blocks 2023-11-25 12:30:52 +09:00
K. Lange
d575bf7607 Handle case of a nested exception in a 'final' 2023-11-25 12:14:05 +09:00
K. Lange
01d377555a Make tests not rely on 'exception' being an implicit name in 'except' blocks 2023-11-25 11:11:56 +09:00
K. Lange
dd9b84258b Fix up edge cases in exception handling 2023-11-24 18:32:16 +09:00
K. Lange
f41253d9ca Fresh version for next release cycle 2023-08-30 18:40:14 +09:00
K. Lange
d6486b590a v1.4.0 2023-08-28 09:56:27 +09:00
K. Lange
c24a1ca633 shared object module paths should be split on / 2023-07-20 11:47:06 +09:00
K. Lange
a8e870cc87 v1.4.0b2 2023-07-07 09:38:17 +09:00
K. Lange
6c452a91e7 bool.__format__ 2023-06-22 17:16:41 +09:00
K. Lange
cc763de706 Missing void in function prototype 2023-06-15 21:39:01 +09:00
K. Lange
eaece3db50 Experiment AF_INET6, AF_UNIX support 2023-06-15 15:09:53 +09:00
K. Lange
ed2405f46b Add a quick introspection function since we lack __dict__ 2023-06-14 13:10:57 +09:00
K. Lange
85319d7f27 Catch extraneous kwargs in __new__ with default __init__ 2023-06-13 17:36:04 +09:00
K. Lange
011a33ff43 Clear exception flag when raising new exception in 'from ... import ...' 2023-06-13 16:42:46 +09:00
K. Lange
2bc4637f5c Bump version to b1 2023-06-08 08:50:54 +09:00
K. Lange
f1003ef9d5 range.__contains__ 2023-06-08 08:50:17 +09:00
K. Lange
b88267c828 No fallback print support for floats in KRK_NO_FLOAT 2023-05-30 09:26:26 +09:00
K. Lange
7c4d622d8a No int-from-float in KRK_NO_FLOAT 2023-05-30 09:18:53 +09:00
K. Lange
f3b8858727 Ignore floats in str.__mod__ in KKR_NO_FLOAT 2023-05-30 09:10:43 +09:00
K. Lange
bff66e2b72 Replace STATIC_ONLY with KRK_STATIC_ONLY 2023-05-30 08:01:52 +09:00
K. Lange
358c6b1c78 Support building without floats 2023-05-30 07:59:28 +09:00
K. Lange
cd28d82939 implement int() with parseArgs 2023-04-20 14:26:32 +09:00
K. Lange
a5856ecd6d ceil/floor/trunc should be able to return longs 2023-03-28 12:50:12 +09:00
K. Lange
0c40e8a6fc Actually commit parseArgs test tool 2023-03-27 09:17:40 +09:00
K. Lange
3436afcf18 Convert non-floats in f, d parseArgs specifiers 2023-03-27 09:12:09 +09:00
K. Lange
e26391bc2f Automatically detect if libm is needed to support floordiv 2023-03-27 09:11:40 +09:00
K. Lange
f09f62e441 Bump alpha number 2023-03-01 07:03:18 +09:00
K. Lange
47673877f0 Assignments to *expr sequences 2023-02-28 20:09:06 +09:00
K. Lange
05209793be Expand *expr in list, set, tuple; **expr in dict 2023-02-28 17:47:45 +09:00
K. Lange
20154ba519 New opcodes to support *-expansion in collection expressions 2023-02-28 15:45:36 +09:00
K. Lange
8b99aa30f3 set.update 2023-02-28 15:44:31 +09:00