531 Commits

Author SHA1 Message Date
Jeong, YunWon
cea23d2b07 Merge pull request #4951 from youknowone/repr-quote
Port configurable repr quote from Ruff and refactoring
2023-05-05 20:45:40 +09:00
Jeong YunWon
cfbdf7f924 Refactor common::bytes::repr using common::escape 2023-05-03 16:08:48 +09:00
Jeong YunWon
2080cc2067 Refactor common::str::repr using common::escape 2023-05-03 13:47:04 +09:00
Jeong YunWon
9f58921a6f Rename IterNextIterable -> SelfIter by following CPython 2023-04-30 03:54:32 +09:00
Jeong YunWon
9b9dd1100a Add missing with(Iterable) 2023-04-30 03:54:32 +09:00
Jeong YunWon
e2ccb48463 Remove Traverse from FromArgs 2023-04-28 13:27:57 +09:00
Jeong YunWon
317f432a20 PyModuleDef and #[pymodule(with(...))] 2023-04-25 04:08:11 +09:00
Jeong, YunWon
ce13fc5f03 Merge pull request #4898 from youknowone/pymodule-expose
module objects' type as PyModule
2023-04-25 04:00:52 +09:00
Jeong, YunWon
c16f813794 Merge pull request #4899 from youknowone/debug-friendly-tweaks
debug-friendly tweaks
2023-04-25 04:00:24 +09:00
Andrey Maltsev
514014f4fc add compare digest 2023-04-23 21:50:15 +09:00
Andrey Maltsev
508cf6b61d refactoring hashlib for tests 2023-04-23 21:48:02 +09:00
discord9
94bdb6b97a feature: PyTraverse derive macro for traverse object's childrens(like CPython's tp_traverse) (#4872) 2023-04-23 21:43:49 +09:00
Leslie Zhai
2c90b128c3 Add loongarch64 support (#4914) 2023-04-23 17:37:16 +09:00
Lee Dogeon
1fa69ebcc9 sqlite: Throw TypeError when callable is not callable (#4923) 2023-04-22 07:10:44 +09:00
Jeong YunWon
6996141448 debug-friendly tweaks 2023-04-20 21:21:50 +09:00
Jeong, YunWon
968f2ad7c9 Merge pull request #4849 from haxelion/feature/tp_repr_stdlib
Implemented tp_repr slots for more types
2023-04-20 21:02:55 +09:00
Jeong YunWon
19224505e8 module objects' type as PyModule 2023-04-20 20:48:57 +09:00
Faisal Alatawi
5f17d281a6 Convert Context::empty_str to &'static PyStrInterned (#4882)
The goal of this commit is to convert Context::empty_str to &'static PyStrInterned and to fix issue #4869
2023-04-17 20:55:24 +09:00
Charles Hubain
96a949189d Implemented tp_repr slots for more types 2023-04-06 00:42:01 +09:00
Jeong YunWon
7b08953c18 rename PyPathLike -> OsPath becasue it is not a python object 2023-03-28 17:01:18 +09:00
Jeong YunWon
877ba28d85 relocate FsPath -> vm::function::FsPath 2023-03-28 17:01:18 +09:00
Jeong, YunWon
11aefa3e42 Merge pull request #4735 from youknowone/try_from_borrowed_object
apply TryFromBorrowed more
2023-03-27 15:11:57 +09:00
dependabot[bot]
993c892ad9 Bump openssl from 0.10.45 to 0.10.48
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.45 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.45...openssl-v0.10.48)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-25 01:44:37 +00:00
Kangzhi Shi
ee78527a9e fix internal type slots 2023-03-21 20:27:45 +02:00
Jeong YunWon
80afab57d3 optimization with try_from_borrowed_object 2023-03-22 02:38:18 +09:00
Jeong YunWon
7b99df6c48 PyPayload::class takes ctx instead of vm 2023-03-20 21:03:40 +09:00
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