K. Lange
7a7bb5662c
Support sequence unpack for dict.__init__, fixes #23
2021-12-22 08:23:07 +09:00
K. Lange
e01ce6d93d
Support {{ / }} in f-strings properly
2021-12-22 08:22:49 +09:00
K. Lange
c70cfb0533
Remove erroneously committed binaries?
2021-12-21 22:24:28 +09:00
K. Lange
836612fb75
Windows fixes
2021-12-20 16:49:44 +09:00
K. Lange
3f84dcbd86
Why am I even doing this
2021-12-20 16:44:02 +09:00
K. Lange
0cac488fae
1.2.4
2021-12-20 16:19:41 +09:00
K. Lange
773206680e
add dict.values, dictvalues iterator
2021-12-20 16:16:11 +09:00
K. Lange
c4fced350e
dict should be iterable; make __iter__() an alias to keys()
2021-12-20 16:09:28 +09:00
K. Lange
a81aa80420
os.exit
2021-12-20 16:06:15 +09:00
K. Lange
87dbc4fb80
int64_t is long long on at least aarch64 macos?
2021-12-17 13:39:08 +09:00
K. Lange
2c158f9491
Fixup bad cast when comparing int to float
2021-12-15 17:31:15 +09:00
K. Lange
abd49b93a7
Fix 'del' on table entries not updating count
2021-12-15 17:22:52 +09:00
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