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 |
|
Jeong YunWon
|
e22d91b8c4
|
bump up openssl and libffi
|
2023-02-09 15:52:45 +09:00 |
|
Jeong YunWon
|
42a22c280d
|
use workspace dependencies
|
2023-02-06 15:30:38 +09:00 |
|
Jim Fasarakis-Hilliard
|
e1ab8a9b42
|
Fix clippy issues for rust 1.67 (#4478)
|
2023-01-31 09:46:19 +09:00 |
|
Lee Dogeon
|
8284a7cb89
|
Import from collections.abc instead of _collections_abc
Co-authored-by: Jim Fasarakis-Hilliard <d.f.hilliard@gmail.com>
|
2023-01-24 15:51:47 +09:00 |
|
Lee Dogeon
|
03f0e717a7
|
Correct typo
Co-authored-by: Jim Fasarakis-Hilliard <d.f.hilliard@gmail.com>
|
2023-01-24 15:37:28 +09:00 |
|
Moreal
|
d0bf163641
|
Register array.array to collections.abc.MutableSequence
|
2023-01-24 05:56:34 +09:00 |
|
Moreal
|
0527c4eae6
|
Implement array.array.__contains__
|
2023-01-22 22:32:56 +09:00 |
|
Noa
|
c7faae9b22
|
Bump all crate versions to 0.2.0
|
2023-01-11 00:14:28 -06:00 |
|
Jeong YunWon
|
1848c45302
|
first cspell dict
|
2023-01-09 19:57:23 +09:00 |
|
Steve Shi
|
765933136c
|
Implement Sqlite3 Module (#4260)
* add supporting for PyAtomic<PyObject>
* create sqlite module
* add dependency sqlite3-sys
* add module constants
* import sqlite3 from cpython
* adjust lib
* add module structure
* impl Connection.cursor
* add module exceptions
* impl lstrip_sql
* impl statement new
* wip cursor.execute
* wip cursor
* wip error to exception
* add SqliteRaw and SqliteStatementRaw
* impl statement parameters binding
* wip cursor.execute
* add test_sqlite
* impl closeable connection
* impl closeable cursor
* impl cursor.executemany
* impl cursor.executescript
* impl cursor.fetch*
* impl connection.backup
* stage 1
* add support connection.backup with progress
* fix backup deadlock
* support changable isolation_level
* impl converter
* impl adapter
* impl text_factory and blob
* impl create_function
* impl create_function 2
* fix empty statement
* impl blob support
* impl create_aggregate
* impl create_aggregate 2
* refactor create_*
* impl enable_callback_traceback
* impl create_collation
* refactor create_* with CallbackData
* fix text and blob use SQLITE_TRANSIENT
* fix str to SQLITE_TEXT
* impl thread check
* impl Connection Factory
* impl busy timeout
* shift sqlite3-sys -> libsqlite3-sys
* refactor CallbackData
* impl create_window_function
* refactor callback functions
* add module attr converters
* fix nullable isolation_level
* add module attr adapters
* fix nullable adapt proto
* impl set_authorizer
* impl trace_callback
* impl set_progress_handler
* impl cancellable sqlite function*
* impl attributes for Connection
* fix some failed tests
* impl Row
* impl Blob methods
* impl Blob subscript & ass_subscript
* pass tests
* rebase
* no sqlite for wasm
* use ThreadId instead u64
* no libsqlite3-sys for wasm
* fix into_cstring for all platform
* fixup
* rebase
* fix windows into_bytes
* disable sqlite for android
* fixup
|
2023-01-07 22:03:24 +02:00 |
|
Steve Shi
|
b6c9882e1a
|
Fix bug in Sliceable and rename del_item* to delitem (#4333)
* fix bug in sliceable
* fixup
|
2023-01-01 17:28:42 +02:00 |
|
Moreal
|
d41f40879c
|
Allow trailing bits while decoding base64
|
2022-12-28 05:19:06 +09:00 |
|
Jeong YunWon
|
31b89fc124
|
Merge pull request #4347 from qingshi163/refactor-number
Refactor Number Protocol &PyNumber -> PyNumber
|
2022-12-24 22:30:37 +09:00 |
|
Kangzhi Shi
|
f16a48df39
|
Refactor Number Protocol
|
2022-12-24 15:42:06 +09:00 |
|
Dimitris Fasarakis Hilliard
|
29eaab0abf
|
Fix build error for ssl on android.
|
2022-12-18 11:45:40 +02:00 |
|
Jeong YunWon
|
5fed6a35af
|
Merge pull request #4310 from youknowone/fix-clippy
Fix nightly clippy warnings
|
2022-12-05 12:57:01 +09:00 |
|
Jeong YunWon
|
d935fbc445
|
Fix nightly clippy warnings
|
2022-12-05 12:18:16 +09:00 |
|
Dimitris Fasarakis Hilliard
|
a6bb9da6fe
|
Bump openssl
|
2022-12-05 03:15:35 +02:00 |
|
Discord9
|
e53693b3b3
|
depend: move once_cell to common depend
|
2022-11-24 12:38:42 +08:00 |
|
Discord9
|
290e8e077b
|
depend: update crossbeam-utils
|
2022-11-24 12:17:50 +08:00 |
|
Discord9
|
754b28c086
|
refactor: use Lazy for static
|
2022-11-24 12:17:07 +08:00 |
|
Jeong YunWon
|
499b34cee0
|
Apply let-else statements
|
2022-11-10 15:39:31 +09:00 |
|
Dimitris Fasarakis Hilliard
|
9d303a21d6
|
Fix errors from update to rust 1.65
|
2022-11-04 20:57:27 +02:00 |
|
Devon Hollowood
|
96bf177acc
|
Respond to reviewer comments
|
2022-10-27 18:27:06 -07:00 |
|