K. Lange
6a431e9aa3
Add a test for that
2021-12-15 15:11:27 +09:00
K. Lange
89d3572a72
Mask argument name when compiling default expression ( Fixes #24 )
2021-12-15 15:09:54 +09:00
K. Lange
8fb1689e1d
Return assigned values in list.__setitem__/dict.__setitem__
2021-12-14 17:46:31 +09:00
K. Lange
c8b1df7056
gamma/lgamma are missing in emscripten
2021-12-12 15:41:56 +09:00
K. Lange
afef6e1042
Add builtin abs()
2021-12-08 22:56:04 +09:00
K. Lange
982240a986
Support keyword argument initialization for dicts
2021-12-07 07:30:01 +09:00
K. Lange
293ca155c5
Drop os.sync for now
2021-12-06 18:46:38 +09:00
K. Lange
180ecc6068
Stop trying to pick up math functions with ifdef as not everyone has them as macros
2021-12-06 18:06:16 +09:00
K. Lange
993bf78933
Maybe better to just use 'setenv' everywhere except Windows where it doesn't exist
2021-12-06 18:02:46 +09:00
K. Lange
21b459919b
fix print() with no regular arguments
2021-12-06 17:57:04 +09:00
K. Lange
650f3249e0
1.2.3
2021-12-06 11:29:00 +09:00
K. Lange
bfe6ca1c12
list.__eq__
2021-12-06 11:28:35 +09:00
K. Lange
ed4f390f94
Slightly more interesting tuple hash
2021-12-06 11:28:30 +09:00
K. Lange
51321188b3
Don't bind 'sync' if it isn't defined
2021-12-01 16:54:43 +09:00
K. Lange
1b700b1a28
Workaround potentially missing putenv in 'os'
2021-12-01 16:54:34 +09:00
K. Lange
f4d51248a5
tweak use of realpath() to appease Sortix
2021-12-01 16:53:44 +09:00
K. Lange
7798ae3579
Remove accidentally added /test.krk
2021-11-28 09:59:14 +09:00
K. Lange
d092660430
Use correct integer sizes in EFI build
2021-11-26 18:27:44 +09:00
K. Lange
9f6160092e
Fix up math.nan is math.nan (should be False); explain nan boxing bit masks
2021-10-28 21:37:49 +09:00
K. Lange
da2f4802c5
Update wcwidth implementation for Windows and add a binding library
2021-10-27 19:28:28 +09:00
K. Lange
2b87655157
fix segfault in OP_UNPACK when collection is empty
2021-10-27 18:00:27 +09:00
K. Lange
30875ca3a8
bind 'sendto' on sockets
2021-10-22 15:29:19 +09:00
K Lange
7c05a4a299
Create codeql-analysis.yml
2021-10-20 09:47:47 +09:00
K. Lange
9f21628c53
Just post an issue report, please.
2021-10-20 09:46:04 +09:00
K. Lange
b4887a78b0
Extended bytes, bytesiterator; added bytearray
2021-10-13 20:52:39 +09:00
K. Lange
f1928b2526
Allow up to 48 bits for storage of 'int' types
2021-10-13 17:46:56 +09:00
HarJIT
14db828233
Fix an oversight in the UTF-32 endian sniffing. ( #18 )
...
(I'd commented about the heuristic of characters at the start of the plane
being rare, but failed to actually implement said heuristic, only having
implemented the detection of the high eight bits (which can be expanded
to eleven) having to be false.)
2021-10-13 17:04:11 +09:00
K. Lange
caf3c1a227
Added missing constants for math
2021-10-07 07:24:14 +09:00
HarJIT
fa6dbc8365
Expansion and fixes to codecs.sbextra
docs. ( #16 )
...
Mostly expanding docs with more information, but also correcting a mistake
where the cp424 docstrings refer to cp273.
2021-10-07 07:18:11 +09:00
K Lange
8da470de9d
Fixup math.log1p, add math.expm1
2021-10-07 06:34:22 +09:00
K. Lange
7e96bdeec1
Fix critical issue when trying to compare strings to themselves
2021-08-30 19:57:53 +09:00
HarJIT
f5f314a42d
One fix and one improvement to GB18030: ( #15 )
...
— The codec had been failing to decode 0x81308130 to U+0080, even though
it successfully encoded it. Since U+0080 is not used for anything in most
contexts (it's allocated as a control code in the ECMA-35 sense, but
ECMA-48 does not use it) this is unlikely to have hurt anything, but I
have fixed it anyway (it arose from 0 and None being conflated in a
conditional).
— The encoding and decoding of GB18030 four-byte codes now uses binary
search rather than linear search. This significantly improves performance
on four-byte codes, though performance on two-byte codes is unaffected.
2021-08-12 19:17:59 +09:00
K. Lange
9435cbf442
Add initial 'random' module
2021-08-10 20:28:25 +09:00
K. Lange
d1d815b295
Implement listiterators as C objects
2021-07-28 19:32:49 +09:00
K. Lange
fba00902d4
Emit bright colors so 1;30 doesn't produce black in Terminal.app on macOS
2021-07-26 09:04:28 +09:00
K. Lange
f979321141
Allow configurable recursion depth and raise exception when exceeded
2021-07-22 21:42:39 +09:00
K. Lange
194b45c25d
v1.1.2
2021-07-15 10:00:01 +09:00
K. Lange
8a5214c6e8
Support keyword arguments to lambdas
2021-07-07 21:46:33 +09:00
K. Lange
cdb721b674
Update rline with r-search
2021-06-15 15:51:40 +09:00
K. Lange
7a946bd84a
Add str.__rmul__
2021-06-09 16:54:57 +09:00
K. Lange
edf8b26834
Fix fgetc return value in traceback printing, esp. on unsigned-char targets
2021-06-03 21:54:26 +09:00
K. Lange
d859ac5092
Visibility is not available on PE32+, turn it off for EFI in general
2021-05-12 17:37:12 +09:00
K. Lange
aefdbb936a
zero size files are, surprisingly, a thing...
2021-05-07 17:00:04 +09:00
K. Lange
1f91c99abb
Actually put a NULL at the end of lists passed to exec*
2021-05-06 19:33:57 +09:00
K. Lange
bd7102a2f0
Actually check that PATH is set before trying to use it
2021-05-06 19:33:39 +09:00
K Lange
0c0b8c98e7
Don't check fread size against ftell size because of Windows linefeed conversion
2021-05-03 21:12:00 +09:00
K. Lange
f6a8170d38
v1.1.1
...
This is a bugfix release.
2021-04-29 09:31:39 +09:00
K. Lange
07e04b001c
Scan new src/modules/ directory for Doxygen stuff
2021-04-28 21:26:44 +09:00
K. Lange
3e13cdf428
Only define those in tcc
2021-04-28 21:23:26 +09:00
K. Lange
52511aee78
Provide some __builtin's when building under tcc.
2021-04-28 13:10:50 +09:00