Jeong YunWon
ee995a9ca8
better error for pyimpl(with)
2021-09-16 03:29:37 +09:00
Jeong YunWon
458c4d4870
Better error messages for pymethod and pyproperty
2021-09-16 03:29:37 +09:00
Jeong YunWon
60fddd1553
little bit better error message for signature error
2021-09-16 03:29:33 +09:00
Steve Shi
c064118e6b
Impl array.fromfile ( #3065 )
2021-09-16 03:18:13 +09:00
Nikita Sobolev
b723bbfbb5
All exceptions are now modified with extend_exception! macro
2021-09-16 03:17:19 +09:00
Jeong YunWon
00a86ba65a
Merge pull request #3029 from youknowone/pybuffer
...
Refactor PyBuffer
2021-09-15 15:11:19 +09:00
Jeong YunWon
76bb68a2d0
Merge pull request #3062 from youknowone/fix-derive-pyclass-err
...
better error for wrong py* attributes in pyclass
2021-09-15 07:34:38 +09:00
Jeong YunWon
1dd1f50af8
Merge pull request #3063 from DimitrisJim/text_signature_enchancement
...
Add $module for function text signatures.
2021-09-15 07:34:06 +09:00
jfh
e846b82bf5
Add 'module' at start of function signature.
2021-09-15 01:05:39 +03:00
Jeong YunWon
69701d1422
Merge pull request #3061 from youknowone/type-test
...
type test for __new__
2021-09-15 07:00:52 +09:00
Jeong YunWon
24168791af
type test for __new__
2021-09-15 05:20:44 +09:00
Jeong YunWon
d8e43b292d
better error for wrong py* attributes in pyclass
2021-09-15 04:41:06 +09:00
Jim Fasarakis-Hilliard
1a39cbc752
Merge pull request #3059 from eldpswp99/add-super-test
...
Add test_super from CPython 3.8
2021-09-14 22:03:46 +03:00
Aaditya
97f9390308
Implemented sin and cos ( #3056 )
...
Implemented sin and cos
2021-09-14 22:01:33 +03:00
eldpswp99
cd9b4946fe
add TODO:RUSTPYTHON
2021-09-15 02:12:48 +09:00
eldpswp99
72be296c1d
add super test by CPython 3.8
2021-09-15 02:06:23 +09:00
Jeong YunWon
3406daf0cc
Merge pull request #3042 from fanninpm/uu-encoding
...
Add uuencoding/decoding code to binascii.rs
2021-09-15 00:01:21 +09:00
Jeong YunWon
c08562c4c1
Clean up binascii.rs
2021-09-14 23:59:58 +09:00
Padraic Fanning
360e0dd8a3
Unmark passing tests in test_uu
2021-09-14 23:59:58 +09:00
Padraic Fanning
77fd1237b2
Add uuencoding/decoding code to binascii.rs
...
The code is based on the PyPy implementation. It may not work properly.
2021-09-14 23:59:58 +09:00
Jeong YunWon
c4949f99cc
Merge pull request #3055 from DimitrisJim/fix_duplicate_entry
...
Remove duplicate entry for warnoptions.
2021-09-14 23:39:29 +09:00
jfh
8d45654595
Remove duplicate entry for warnoptions.
2021-09-14 15:40:13 +03:00
Jeong YunWon
a006aade5d
Merge pull request #3047 from Codemonk-adi/main
...
Implemented sqrt for cmath
2021-09-14 06:16:24 +09:00
Jim Fasarakis-Hilliard
aae20e3210
Merge pull request #3051 from DimitrisJim/sig_for_bltins
...
Try to generate a text signature template for both methods and functions
2021-09-13 22:59:26 +03:00
jfh
632f73b79a
Allow sqrt to run some tests.
2021-09-14 04:40:54 +09:00
Aaditya
4cc160eafe
Update vm/src/stdlib/cmath.rs
...
Co-authored-by: Jim Fasarakis-Hilliard <d.f.hilliard@gmail.com >
2021-09-14 04:40:54 +09:00
Aaditya
75a9413e22
Implemented sqrt for cmath
2021-09-14 04:40:47 +09:00
jfh
c063fc3d64
Try and generate a text signature template for both methods and functions.
2021-09-13 22:10:02 +03:00
Jeong YunWon
f2ecab46ef
unmark successful tests
2021-09-14 02:22:41 +09:00
Jeong YunWon
f7289ddabd
PyBuffer overhaul
...
PyBuffer doesn't require vtable access for options
maintaining internal using manual Rc model
2021-09-14 02:22:41 +09:00
Jeong YunWon
5033540c92
Merge pull request #3049 from youknowone/no-ssl
...
remove '--features=ssl' from debugger config
2021-09-14 02:09:51 +09:00
Jeong YunWon
fd41cf914f
remove '--features=ssl' from debugger config
2021-09-14 01:26:35 +09:00
Jeong YunWon
a3bee931e7
revert git-add from precommit
2021-09-14 01:24:52 +09:00
Jim Fasarakis-Hilliard
5720d41107
Merge pull request #3044 from RustPython/redox-times
...
Redox does not have libc::times or libc::nice
2021-09-12 22:36:45 +03:00
Noa
01f5020f6a
Redox does not have libc::times or libc::nice
2021-09-12 12:47:45 -05:00
Myunghoon Park
8c91269977
add precommit which runs fmt
2021-09-12 17:45:59 +09:00
Jeong YunWon
e0f3f1983c
Merge pull request #3041 from RustPython/upd-rustyline
...
Update rustyline to 9.0
2021-09-12 17:40:31 +09:00
Jeong YunWon
0a690634c2
Merge pull request #3040 from DimitrisJim/refactor_optionals
...
Clean up more instances of matching on Optional.
2021-09-12 06:23:04 +09:00
Noa
61749bf4cf
Remove unnecessary redox patches
2021-09-11 15:48:22 -05:00
jfh
f1be6d5427
Clean up more instances of matching on Optional.
2021-09-11 23:41:14 +03:00
Jeong YunWon
dcc8043edd
Merge pull request #3037 from owljoa/fix-math-remainder-test
...
Fix failed test remainder in test_math
2021-09-12 00:12:12 +09:00
Jeong YunWon
478dce52b0
Merge pull request #3038 from DimitrisJim/use_associated_consts
...
Use associated constants instead of module constants.
2021-09-12 00:09:44 +09:00
Dongin Kim
516df295d5
Reduce duplicated conditions
...
Co-authored-by: Jim Fasarakis-Hilliard <d.f.hilliard@gmail.com >
2021-09-11 22:54:16 +09:00
jfh
166e69e731
Use associated constants instead of module constants.
2021-09-11 16:29:06 +03:00
Jeong YunWon
e8736b6135
Merge pull request #3031 from DimitrisJim/cmath_impl
...
Add cmath module.
2021-09-11 21:36:00 +09:00
Dongin Kim
7055a1cb34
apply cargo fmt
2021-09-11 21:18:38 +09:00
jfh
41f628a32a
Skip failing tests.
2021-09-11 14:22:59 +03:00
Dongin Kim
1406f80c3c
fix failed test remainder in test_math
...
add conditions for below rules
1. remainder(x, inf) is x, for non-NaN non-infinite x
2. According to IEEE 754-2008 7.2(f)
2-1. remainder(x, 0) for non-NaN x is invalid operation
2-2. remainder(infinity, x) for non-NaN x is invalid operation
2021-09-11 20:00:29 +09:00
Jeong YunWon
47056f5ee7
Merge pull request #3036 from youknowone/os-comment
...
implementation comments for os utility
2021-09-11 17:41:12 +09:00
Jeong YunWon
2b15bf1844
implementation comments for os utility
2021-09-11 13:53:10 +09:00