Commit Graph

405 Commits

Author SHA1 Message Date
Jeong YunWon
dfb37d9a44 setattro uses Py<PyStr> 2023-03-20 19:00:02 +09:00
Jeong YunWon
ab1de2942c type.__name__ & getattr optimization 2023-03-20 19:00:01 +09:00
TomZz
906dfd3b6c Fix windows+ssl build error with unmatched types (#4725) 2023-03-20 17:07:45 +09:00
Jim Fasarakis-Hilliard
a2b358613b Merge pull request #4722 from youknowone/mmap
clean up mmap
2023-03-19 22:38:07 +02:00
Noa
725dac204f Fix redox 2023-03-18 21:17:23 -05:00
Jeong YunWon
8d38bf8ded clean up mmap 2023-03-19 10:31:23 +09:00
Jeong YunWon
107a64003d clean up sqlite a bit 2023-03-19 05:51:43 +09:00
Jeong YunWon
47d2e7b658 clean up PyArray 2023-03-19 04:57:07 +09:00
Jeong YunWon
2cc83ed1fe clean up Frame 2023-03-19 04:57:07 +09:00
Jeong YunWon
f314328294 lifetime bounded TryFromBorrwoedObject 2023-03-19 04:57:06 +09:00
Jeong YunWon
12c96d06e4 Remove useless and_then 2023-03-18 22:10:25 +09:00
Jeong YunWon
b35861005e more cspell (#4702) 2023-03-17 14:02:24 +09:00
bearney74
123559478e fix fmean/fsum ValueError and test_inv_cdf 2023-03-17 01:18:47 +09:00
Jeong YunWon
40d36165a4 update cspell sqlite 2023-03-16 22:08:12 +09:00
Jeong YunWon
089c8b7b0a Refactor zlib using new Level type 2023-03-16 00:52:39 +09:00
Jeong YunWon
e96dd96864 Refactor zlib and add wbits to zlib.compress() 2023-03-15 23:52:51 +09:00
Jeong YunWon
8ff947e83a Merge pull request #4677 from youknowone/arg-index
apply ArgIndex
2023-03-14 00:36:19 +09:00
Jeong YunWon
8a223b8178 Fix unix localeconv to refer libc and additional clean up 2023-03-13 23:19:52 +09:00
minh.pham2000
19193cd2a4 Add locale implementation for windows 2023-03-13 23:19:52 +09:00
Jeong YunWon
0e2e7e533a ArgPrimitiveIndex for zlib 2023-03-10 16:44:47 +09:00
Jeong YunWon
6275435567 <i>::try_from_object with try_index 2023-03-10 06:21:40 +09:00
Jeong YunWon
bca7c16435 ArgIndex for math 2023-03-10 06:21:40 +09:00
Jeong YunWon
925962505e Adapt ArgIndex in bisect 2023-03-10 06:21:39 +09:00
Jeong YunWon
05317f1664 temporary fill up missing number protocols 2023-03-09 23:43:15 +09:00
John Pham
27233364bc Add init for array.rs (#4667) 2023-03-09 19:45:58 +09:00
Jeong YunWon
5a74f08c84 Merge pull request #4654 from youknowone/pycallble
Add protocol object PyCallable
2023-03-08 05:01:31 +09:00
Kaan Karakaya
cb479bf199 Remove strict type to allow cross compiling
Signed-off-by: Kaan Karakaya <yusufkaan142@gmail.com>
2023-03-07 21:46:53 +03:00
Jeong YunWon
b60271a6cf deprecate vm.invoke 2023-03-08 01:35:30 +09:00
Jeong YunWon
66d9514e12 remove vm.is_callable 2023-03-07 19:28:21 +09:00
Charles Hubain
29de419c87 Implementing shake_128 and shake_256 in the hashlib module. 2023-03-06 00:43:06 +09:00
Jeong YunWon
ff973caa67 ToPyException for base64::DecodeError 2023-03-04 16:19:29 +09:00
Evan Rittenhouse
362be9f344 Add 'invalid base64-encoded string' error 2023-03-04 16:11:02 +09:00
Evan Rittenhouse
404c398b59 Implement strict_mode keyword for binascii.a2b_base64 2023-03-04 16:11:01 +09:00
John Pham
f3e9413b2d Add strxfrm and strcoll to locale mod (#4603) 2023-03-04 03:21:04 +09:00
Dan Näsman
cdf5634cf2 Implement as_sequence for array (#4585) 2023-03-03 04:29:52 +09:00
Noa
58ac82b0a7 Switch hacky GAT-workarounds to use actual GATs 2023-03-01 20:48:12 -06:00
John Pham
af1d46f184 Add _locale module (#4558)
_locale.localeconv and _locale.setlocale

Co-authored-by: Jeong YunWon <jeong@youknowone.org>
2023-03-01 05:37:52 +09:00
Jeong YunWon
1ca57407d3 Use git version of unicode_names2 to avoid alias search failure 2023-02-28 20:00:47 +09:00
Jeong YunWon
6385b82c2b Merge pull request #4579 from threeifbyair/array-4575
Satisfy safety conditions for std::slice::from_raw_parts. Fixes #4575.
2023-02-27 14:06:02 +09:00
Alistair Bell
4955f05fa3 Modified fix for #4575 per @youknowone. Thanks, YunWon! 2023-02-26 09:24:01 -08:00
Alistair Bell
910574361c Satisfy safety conditions for std::slice::from_raw_parts. Fixes #4575. 2023-02-25 22:10:57 -08:00
Jeong YunWon
8b40c2e372 clean up unicodedata 2023-02-25 17:16:03 +09:00
Charles Hubain
df0963446f Implemented the block_size attribute for PyHasher, fixing the 2 failing hmac tests 2023-02-21 16:52:15 +09:00
Charles Hubain
b5f54f1624 Integrated hmac.py and test_hmac.py:
* fix typing issue on digest update function
* implemented copy for PyHasher object
* fixed two test_hashlib.py expected failure as a side-effect
2023-02-21 11:35:09 +09:00
Charles Hubain
4f1085beb3 Ensure socket.gethostbyname_ex only returns IPv4 addresses 2023-02-20 23:51:11 +09:00
Zhiyan Xiao
3b8d670c81 Add unicodedata.east_asian_width (#4523) 2023-02-20 01:38:02 +09:00
MrrRaph
371b5e2a6e Fixed type mismatchs 2023-02-17 23:26:11 +09:00
Noa
d9e3f9ca68 Tidy up ssl a little 2023-02-16 21:02:26 -06:00
Noa
e08252cad7 Use nix for more things 2023-02-16 21:02:26 -06:00
Jonathan Slenders
9cac89347e Fix aarch64 compatibility for sqlite. 2023-02-13 20:53:39 +00:00