Commit Graph

9699 Commits

Author SHA1 Message Date
Padraic Fanning
bb1947eb9d Clarify skip in test_math 2021-10-15 00:09:50 +09:00
Padraic Fanning
d5aa68d7b5 Clean up skips in test_itertools 2021-10-15 00:09:50 +09:00
Padraic Fanning
605f58c158 Clarify skip in test_isinstance 2021-10-15 00:09:49 +09:00
Padraic Fanning
4e21df2c3b Clean up skips in test_io 2021-10-15 00:09:49 +09:00
Padraic Fanning
122ddeb6fc Clean up skips in test_gzip 2021-10-15 00:09:49 +09:00
Padraic Fanning
a32007831a Clean up skips in test_ftplib 2021-10-15 00:09:49 +09:00
Padraic Fanning
26d55c824b Clean up skips in test_fileio 2021-10-15 00:09:49 +09:00
Padraic Fanning
063bf20307 Clean up skips in test_enum 2021-10-15 00:09:49 +09:00
Jim Fasarakis-Hilliard
3ca29014c9 Merge pull request #3297 from DimitrisJim/dict_views_new
Unconstructible for dict view types, test clean up.
2021-10-14 17:53:25 +03:00
Jeong YunWon
eb277d2191 Merge pull request #3301 from youknowone/half-3204
unskip tests
2021-10-14 23:12:21 +09:00
jfh
0e193f8ec3 Implement unconstructible for dict_views. 2021-10-14 17:10:16 +03:00
Jeong YunWon
bb0cdc5c91 Merge pull request #3299 from DimitrisJim/linkify_goodfirstissues
Add a link for good first issues
2021-10-14 21:28:40 +09:00
jfh
afbe1f80da Add a link for good first issues. [skip ci] 2021-10-14 15:09:00 +03:00
Jeong YunWon
a4e69dca76 Merge pull request #3296 from DimitrisJim/internal_types_unconstructible
Mark internal types as not constructible.
2021-10-14 19:01:09 +09:00
jfh
37ba1b8a87 Mark internal types as not constructible. 2021-10-14 12:09:31 +03:00
Jeong YunWon
2ac85e55aa Merge pull request #3292 from youknowone/socket
_socket uses `#[pymodule]`
2021-10-14 17:18:24 +09:00
Jeong YunWon
19dc69cef8 Merge pull request #3295 from DimitrisJim/cmp_recursions
Handle recursions when comparing objects.
2021-10-14 16:54:58 +09:00
Jeong YunWon
617e524556 clean up windows socket attrs 2021-10-14 16:36:01 +09:00
Jeong YunWon
f44c61efe5 Merge pull request #3293 from DimitrisJim/recursive_inst_subcls
Fix recursions in isinstance and issubclass.
2021-10-14 16:16:13 +09:00
jfh
54a5db29ae Handle recursions when comparing objects. 2021-10-14 10:13:25 +03:00
Jeong YunWon
b3220f961e Merge pull request #3281 from youknowone/type
Refactor type
2021-10-14 15:31:47 +09:00
Jeong YunWon
141ff2bb2f _socket uses #[pymodule] 2021-10-14 14:11:21 +09:00
Jeong YunWon
8cdde9150e Rename slot traits to drop Slot prefix 2021-10-14 13:44:22 +09:00
Jeong YunWon
b99cb2fffc Expose slot wrapper functions 2021-10-14 13:37:46 +09:00
Jeong YunWon
7cae6d24fe Refactor PyType creation 2021-10-14 13:37:45 +09:00
Jeong YunWon
c99b342fcd Merge pull request #3291 from DimitrisJim/unconstructible
Add Unconstructible trait
2021-10-14 13:28:23 +09:00
jfh
ff67ad445c Annotate iterators with Unconstructible. 2021-10-14 05:54:26 +03:00
jfh
4fad83e3cc Fix recursions in isinstance and issubclass. 2021-10-13 19:32:31 +03:00
jfh
8428048820 Add Unconstructible trait. 2021-10-13 18:53:47 +03:00
Jeong YunWon
9c6eaa5603 Merge pull request #3164 from moreal/correct-pystr-startswith
Fix `PyStr::startswith`
2021-10-13 23:01:51 +09:00
Jeong YunWon
9ee566b929 Merge pull request #3288 from Snowapril/add_getattro_for_ga
Add missing `SlotGetattro` for `GenericAlias`
2021-10-13 22:58:22 +09:00
Jeong YunWon
c39d1436e0 Merge pull request #3133 from youknowone/exception-utils-as-vm-methods
Exception utils as vm methods
2021-10-13 22:35:51 +09:00
Jeong YunWon
2423f34b21 Merge pull request #3285 from youknowone/ssl
`_ssl` module uses `#[pymodule]`
2021-10-13 22:35:10 +09:00
Jeong YunWon
0820708f0e _ssl module uses #[pymodule] 2021-10-13 15:31:11 +09:00
snowapril
f3fc4e40dd add missing SlotConstructor keyword on impl
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-10-13 15:14:01 +09:00
snowapril
6d3289f8cb add SlotGetattro on GenericAlias
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-10-13 15:14:01 +09:00
Jeong YunWon
7d6b36a55f Merge pull request #3273 from youknowone/into-pystrref
migrate TryIntoRef to IntoPyStrRef
2021-10-13 15:06:01 +09:00
Jim Fasarakis-Hilliard
e97ad7d81d Merge pull request #3287 from Snowapril/fix-dir-incompatibility
Fix `dir` incompatibility with cpython
2021-10-13 09:03:05 +03:00
Jim Fasarakis-Hilliard
a81f97dd9e Merge pull request #3280 from DimitrisJim/bad_indexing
Fix deadlocks when slicing mutable sequences.
2021-10-13 08:14:41 +03:00
Aphek
e732669224 Make it possible for rust functions to increase recursion depth (#3252)
Make it possible for rust functions to increase recursion depth
2021-10-13 08:12:12 +03:00
jfh
0539d33ce4 Export saturated index via slicable, use better naming conventions. 2021-10-13 07:05:26 +03:00
snowapril
c10e64647d add missing dir in GenericAlias
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-10-13 12:40:24 +09:00
snowapril
213ffd9ff3 move dir in builtins to vm
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-10-13 12:40:24 +09:00
Jeong YunWon
367b258862 Merge pull request #3286 from RustPython/coolreader18/mailmap
Add .mailmap
2021-10-13 05:57:26 +09:00
varun-krishnan
f5c4c0b4c0 added gethostbyname_ex function 2021-10-13 05:56:54 +09:00
Jeong YunWon
256de1eb46 Move free functions in vm::exceptions to vm methods 2021-10-13 05:53:43 +09:00
Noa
57a9db865b Add .mailmap 2021-10-12 15:43:02 -05:00
Jeong YunWon
319914d021 Optional subrange operation in StartsEndsWithArgs 2021-10-13 05:39:53 +09:00
Jeong YunWon
6f902d2705 Merge pull request #3283 from youknowone/comprehension
Do not check type when bytecode instruction already knows that
2021-10-13 05:09:20 +09:00
Jeong YunWon
527a4d9f92 Do not check type when bytecode instruction already knows that 2021-10-13 03:59:30 +09:00