Commit Graph

12845 Commits

Author SHA1 Message Date
Jeong YunWon
d41e46be14 remove is_typevar duplciation 2023-03-20 20:15:56 +09:00
Jeong YunWon
73364fa2db try &'static str for slots.name 2023-03-20 20:15:56 +09:00
Jeong YunWon
44f6446f6c End of IntoPyStrRef 2023-03-20 19:00:02 +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
Jeong YunWon
2ff3ae86d0 getattr to take &Py<PyStr> 2023-03-20 18:57:40 +09:00
TomZz
906dfd3b6c Fix windows+ssl build error with unmatched types (#4725) 2023-03-20 17:07:45 +09:00
Jim Fasarakis-Hilliard
a824e7b379 Merge pull request #4716 from youknowone/exception
Constructor/Initializer for BaseException
2023-03-19 22:56:20 +02:00
Jim Fasarakis-Hilliard
a2b358613b Merge pull request #4722 from youknowone/mmap
clean up mmap
2023-03-19 22:38:07 +02:00
Jeong YunWon
99b7a5b482 Merge pull request #4723 from coolreader18/redox-compat
Fix redox
2023-03-19 12:21:51 +09:00
Noa
725dac204f Fix redox 2023-03-18 21:17:23 -05:00
Jeong YunWon
ccc8f7ed37 clean up name() usage 2023-03-19 10:31:32 +09:00
Jeong YunWon
8d38bf8ded clean up mmap 2023-03-19 10:31:23 +09:00
Jeong YunWon
cdfc67661e Constructor/Initializer for BaseException 2023-03-19 10:26:25 +09:00
Jeong YunWon
4fba939726 Merge pull request #4706 from youknowone/py-type
#[pyclass] impl Py<PyType>
2023-03-19 07:49:50 +09:00
Jeong YunWon
cf2b48fc0c clean up memory 2023-03-19 05:51:43 +09:00
Jeong YunWon
962b3659c6 clean up genericalias 2023-03-19 05:51:43 +09:00
Jeong YunWon
717242636a clean up generator 2023-03-19 05:51:43 +09:00
Jeong YunWon
29055ab4a6 clean up enumerate 2023-03-19 05:51:43 +09:00
Jeong YunWon
29073cf711 clean up dict 2023-03-19 05:51:43 +09:00
Jeong YunWon
cf82d6f0a5 clean up descriptor 2023-03-19 05:51:43 +09:00
Jeong YunWon
8fd984a767 clean up coroutine 2023-03-19 05:51:43 +09:00
Jeong YunWon
1db415d897 clean up bytes 2023-03-19 05:51:43 +09:00
Jeong YunWon
914e14bb8d clean up bytearray 2023-03-19 05:51:43 +09:00
Jeong YunWon
c8eff6ec07 clean up asyncgen 2023-03-19 05:51:43 +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
13b4fd9b9f {PyRef->Py}<PyWeak>::upgrade 2023-03-19 04:57:07 +09:00
Jeong YunWon
e95eafe02a clean up io.{String,Bytes}IO 2023-03-19 04:57:07 +09:00
Jeong YunWon
2cc83ed1fe clean up Frame 2023-03-19 04:57:07 +09:00
Jeong YunWon
b052d646ee clean up PyCode 2023-03-19 04:57:06 +09:00
Jeong YunWon
174ef52df7 \#[pyclass] impl Py<PyType> for 2023-03-19 04:57:06 +09:00
Jeong YunWon
1fda3ba969 impl PyNativeFuncInternal for &Py<Self> form 2023-03-19 04:57:06 +09:00
Jeong YunWon
f314328294 lifetime bounded TryFromBorrwoedObject 2023-03-19 04:57:06 +09:00
Jeong YunWon
0f24d66234 pyclass macro to recognize Py/PyRef pattern 2023-03-19 04:57:06 +09:00
Jeong YunWon
fd028253fe Merge pull request #4719 from RustPython/DimitrisJim-patch-1
Update anystr.rs
2023-03-19 04:55:56 +09:00
Jim Fasarakis-Hilliard
2e4ff723aa Update anystr.rs 2023-03-18 21:22:01 +02:00
Jeong YunWon
1218ddd5dc Merge pull request #4709 from r3m0t/str-splitlines
Fix str.splitlines to recognise unicode line terminators
2023-03-19 00:42:18 +09:00
Jeong YunWon
330eaf3ed6 Add TODO comment to remove py_bytes_splitlines 2023-03-19 00:42:04 +09:00
Jim Fasarakis-Hilliard
2758a0ec53 Merge pull request #4714 from youknowone/refactor-useless-complexity
Refactor unnecessary complexity
2023-03-18 17:39:39 +02:00
Jim Fasarakis-Hilliard
1f63fc4fea Merge pull request #4713 from youknowone/common-int
relocate a few int functions to common
2023-03-18 17:35:26 +02:00
Jeong YunWon
de481bcd67 human readable PyIterIter::next 2023-03-18 22:43:32 +09:00
Jeong YunWon
12c96d06e4 Remove useless and_then 2023-03-18 22:10:25 +09:00
Jeong YunWon
b572b91783 relocate a few int functions to common 2023-03-18 21:53:15 +09:00
Jeong YunWon
ad29fbdd55 apply early returning pattern 2023-03-18 21:51:07 +09:00
Jeong YunWon
f21ad9b879 Merge pull request #4689 from haxelion/feature/tp_repr
Implemented repr slot
2023-03-18 21:47:24 +09:00
Jeong YunWon
8851a246de Simplify Representable impls 2023-03-18 20:42:12 +09:00
Charles Hubain
23cfdfffba Implemented repr slot 2023-03-18 19:28:05 +09:00
Tomer Chachamu
8bfbfe3e46 Fix str.splitlines to recognise unicode line terminators 2023-03-18 01:10:59 +00:00
Jeong YunWon
21615cb158 Merge pull request #4703 from tdub0/markupbase
Update _markupbase, html/parser for CPython v3.11.2
2023-03-18 03:30:30 +09:00