Jiseok CHOI
6f80ac0edd
Align SQL comment parsing with CPython ( #5996 )
2025-07-20 10:51:42 +09:00
Jiseok CHOI
f8d03fd680
Correctly implement isolation_level setter to handle deletion ( #5983 )
2025-07-18 23:08:51 +09:00
Jeong, YunWon
6a3dff63bb
Downcastable ( #5986 )
...
* simplify int power
* downcastasble
* deprecate payload*
2025-07-16 18:00:18 +09:00
Jiseok CHOI
5957f5d31a
Fix off-by-one error in SQL length limit check ( #5982 )
2025-07-16 01:53:20 +09:00
Jiseok CHOI
f465af3a7c
Reject SQL queries containing null characters ( #5981 )
2025-07-16 01:52:28 +09:00
Jiseok CHOI
6d2152cafe
Correctly handle None for protocol in adapt(..) ( #5979 )
2025-07-16 01:49:53 +09:00
Jiseok CHOI
ed433837b3
Introduce PyUtf8Str and fix(sqlite): validate surrogates in SQL statements ( #5969 )
...
* fix(sqlite): validate surrogates in SQL statements
* Add `PyUtf8Str` wrapper for safe conversion
2025-07-15 00:54:42 +09:00
Jiseok CHOI
5ab64b7002
fix(sqlite): align adaptation protocol with CPython ( #5964 )
2025-07-14 14:22:52 +09:00
Jiseok CHOI
d42e8f0042
fix(sqlite): produce correct error for surrogate characters ( #5962 )
2025-07-14 14:21:36 +09:00
Jiseok CHOI
3a6a766a03
fix(sqlite): implement PARSE_COLNAMES column name parsing ( #5923 )
2025-07-10 00:18:40 +09:00
Jiseok CHOI
e6fdef43dc
fix(sqlite): autocommit mode transaction handling to match CPython ( #5918 )
2025-07-09 20:13:26 +09:00
Jiseok CHOI
341341520e
Fix SQLite large integer overflow error handling ( #5916 )
2025-07-09 17:14:45 +09:00
Shahar Naveh
694fe50241
Use const fn where possible ( #5894 )
2025-07-04 22:26:20 +09:00
Shahar Naveh
4bd328906e
Update resource from 3.13.5 ( #5893 )
2025-07-04 10:09:06 +09:00
Shahar Naveh
69545c0798
Use Self where possible ( #5892 )
2025-07-04 10:08:43 +09:00
Jeong, YunWon
d40cbbb451
Fix cspell warning ( #5890 )
...
* Fix cspell warning
* cspell: -> spell-checker:
2025-07-03 12:04:43 +09:00
Jeong, YunWon
fffa735868
__class_getitem__ ( #5888 )
2025-07-03 11:01:53 +09:00
Jeong, YunWon
07a04acfaa
Allow heap getset creation ( #5854 )
...
* Update _threading_local.py
* allow heap-getset
2025-06-29 03:03:19 +09:00
Shahar Naveh
8cac4335b4
Constify functions & General nitpicks ( #5858 )
...
* General cleanups
* Add some newlines
* Use bitlag match
* More constify
* Don't convert to str twice
* constify more
* Use match directly instead of if & match!
* Constify more
* Constify more
* more consts
* Constify more
* Constify more
* Don't use bitflags_match macro
2025-06-28 23:08:30 +09:00
Jeong YunWon
3673372d3d
Fix cspell warnings
2025-06-27 12:32:59 +09:00
Jeong YunWon
993ea8923c
Rename members
2025-06-27 12:32:59 +09:00
Jeong, YunWon
fe2c9bf361
Fix stable clippy ( #5843 )
2025-06-27 12:12:21 +09:00
Shahar Naveh
1ae07813ee
Remove redundent to_owned() and to_string() calls ( #5836 )
...
* Remove redundent String conversion for errors
* cargo fmt
2025-06-25 23:42:26 +09:00
Shahar Naveh
ab09de8542
Remove unnecessary string conversions in error message construction ( #5826 )
...
* Make `new_X_error` recv `impl Into<String>`
* Maks the rest of the methods to be generic
* Remove `.to_owned()` from more files
2025-06-25 01:43:41 +09:00
Jeong, YunWon
6a992d4fa2
Add hashlib hasher repr ( #5833 )
2025-06-24 20:09:24 +09:00
Jeong, YunWon
0728da51fc
binascii.hexlify ( #5820 )
2025-06-23 08:59:36 +09:00
Jeong, YunWon
b1ecdf38b8
Fix bz2 pickle ( #5819 )
2025-06-23 08:55:59 +09:00
Jeong YunWon
4cdb8d18b7
unicodedata.is_mirrored
2025-06-22 21:32:12 +09:00
Jeong YunWon
c824016301
Fix UnpackIterator constructor
2025-06-22 18:11:30 +09:00
Jeong, YunWon
3a54105e2c
Fix struct tests ( #5813 )
2025-06-22 09:58:43 +09:00
Jeong YunWon
2c61a12bed
Apply coderabbit reviews
2025-06-15 16:03:46 +09:00
Jeong YunWon
f560b4cbfb
Fix nightly clippy warnings
2025-06-15 16:03:46 +09:00
Ashwin Naren
df380bca96
lzma FORMAT_ALONE implementation ( #5777 )
...
* implement init_alone
* error if format is raw and there is a memlimit
2025-05-09 13:26:28 +09:00
Rex Ledesma
908386091b
feat: implement zlib.__version__
2025-05-08 14:48:11 +09:00
Jeong YunWon
d9c18c5593
flatten compression modules
2025-05-07 15:42:31 +09:00
Ashwin Naren
a5016446f4
_lzma implementation and test marking
...
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
2025-05-07 15:01:23 +09:00
Ashwin Naren
2a1ea45659
add _lzma module with new dependency
...
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
2025-05-07 15:01:23 +09:00
Jeong YunWon
48b08a2b7f
Revert "Split out common compression routines into separate file ( #5728 )"
...
This reverts commit 9c88475b31 .
2025-05-07 15:01:09 +09:00
Noa
9c88475b31
Split out common compression routines into separate file ( #5728 )
2025-05-06 15:26:54 +09:00
Karel Král
301c32dba0
Increase numerical precision of log1p
...
Use Rust native ln_1p to increase numerical precision matching what is
expected by `test_mtestfile`.
2025-04-30 16:35:04 +09:00
Ashwin Naren
e8df06582e
bump dependencies
2025-04-30 14:49:21 +09:00
Jeong YunWon
b0991e28a2
Replace puruspe to pymath
...
Might be lower quality, but better compatibility
2025-04-29 17:39:50 +09:00
Ashwin Naren
f55bf8f83b
fix openssl error reasons ( #5739 )
2025-04-28 12:30:14 +09:00
Jeong, YunWon
ff10a64727
Fix test_poll::test_poll3 ( #5718 )
...
* test_poll3
* Refactor EventMask
2025-04-28 12:29:21 +09:00
Ashwin Naren
392d1c04f6
More overlapped implementation ( #5748 )
2025-04-27 19:48:06 +09:00
Noa
494918d9fe
Remove cfg_attr features for redox
2025-04-22 12:00:57 +09:00
Noa
3bfafb0ecb
Merge pull request #5720 from youknowone/wasip2-build
...
basic wasip2 support
2025-04-21 13:39:41 -05:00
Reagan Bohan
ecbc6f7044
Fix mmap aborting with invalid fd in debug mode
2025-04-21 20:40:44 +09:00
Jeong YunWon
e434ff5f6e
basic wasip2 support
2025-04-20 19:47:35 +09:00
Noa
f0d46bfeaa
Finish _bz2 implementation
2025-04-19 23:13:37 -05:00