Commit Graph

1836 Commits

Author SHA1 Message Date
Padraic Fanning
c3221a0d7b Unmark passing tests 2021-10-01 19:39:57 -04:00
Noa
b38ce3dbd3 Merge pull request #3158 from RustPython/pip-warnings
Miscellaneous pip fixes
2021-10-01 13:34:52 -05:00
Eric Hagman
e3e4071a00 fix: remove custom tests from cmath 2021-10-01 10:52:34 -04:00
Eric Hagman
787f6c1be6 Merge remote-tracking branch 'upstream/main' into cmath-sinh-cosh 2021-10-01 10:00:09 -04:00
Eric Hagman
55be9547d7 feat: add sinh and cosh to cmath 2021-10-01 09:52:39 -04:00
Jeong YunWon
7d859f54b9 unmark resolved test 2021-10-01 22:32:44 +09:00
snowapril
4014b91780 add decorators on failed & error tests
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-10-01 14:10:58 +09:00
snowapril
1253fe0952 add tset__osx_support.py from cpython 3.8
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-10-01 14:10:58 +09:00
snowapril
2432c784c3 add test_cmd_line_script.py from cpython 3.8
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-10-01 14:10:58 +09:00
snowapril
c2f11e593d add test_codeccallbacks.py from cpython 3.8
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-10-01 14:10:58 +09:00
snowapril
5317f88118 add test_binhex.py from cpython 3.8
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-10-01 14:10:58 +09:00
snowapril
4872e35210 add test_trace.py from cpython 3.8
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-10-01 14:10:58 +09:00
snowapril
957bae668b add test_zipapp.py from cpython 3.8
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-10-01 14:10:58 +09:00
Noa
65fa12a55a Fix test failures 2021-09-30 18:33:51 -05:00
Noa
5de5ce47ec Make tokenize work on wasm 2021-09-30 15:55:48 -05:00
Noa
830418914e Update zipfile.py to CPython 3.9 2021-09-30 15:55:47 -05:00
Noa
f9a8413860 Update distutils.{command.install,sysconfig} to fix pip warnings 2021-09-30 15:55:47 -05:00
lijm1358
438661dc44 Add atanh and atan to cmath 2021-10-01 01:19:43 +09:00
LeeBeomsu
59b707c2ac add asinh function to cmath
Signed-off-by: LeeBeomsu <dlqjatn2@gmail.com>
2021-09-30 21:46:25 +09:00
Dean Li
66bb59016d generalize IOErrorWithFilename to use PathOrFd 2021-09-29 22:16:45 +08:00
Dean Li
3af3b1f0d9 OSError with filename and filename2
Implement OSError members `filename` and `filename2` by adding a new
struct `IOErrorWithFilename` will implement `IntoPyException`.

This PR will *NOT* pass more CPython test(*) but will allow user to
access `attr:filename` in OSError exception which IMO is a important
feacture.
2021-09-28 20:08:57 +08:00
Dean Li
0c7246054e os: fix execv argument type 2021-09-26 00:39:04 +08:00
Jeong YunWon
c2b4755af4 CPython docs database for module items 2021-09-22 04:25:41 +09:00
Codemonk-adi
a07d3432c1 Redid the commit cause I messed up 2021-09-21 21:58:51 +05:30
Jeong YunWon
e6e2204bde Merge pull request #3083 from moreal/impl-genericalias
Introduce `types.GenericAlias` type
2021-09-21 01:32:51 +09:00
Jeong YunWon
46dc7f487b Merge pull request #3088 from deantvv/os-stat-result
os: fix stat_result test
2021-09-19 23:42:31 +09:00
Dean Li
96dcd68472 os: fix stat_result test
Implement tp_new for `stat_result`

To unpack args, this PR implement a `flatten_args` closure to
unpack args like
```
args = (1, 2, 3, 4, 5)
args = ((1, 2, 3, 4, 5))
args = (((1, 2, 3, 4, 5)))  # from pickle load
```
2021-09-19 10:07:53 +08:00
Moreal
7c3939a149 Mark failed tests by features not implemented yet 2021-09-19 03:36:24 +09:00
Moreal
2462d167d1 Bump types module to CPython 3.9.7 2021-09-19 03:36:24 +09:00
Tony Jinwoo Ahn
9de8511367 Add tan() and tanh() for cmath
Signed-off-by: Tony Jinwoo Ahn <tony.jinwoo.ahn@gmail.com>
2021-09-18 19:42:09 +09:00
Park Jiin
cc739b4ccf Implement cmath.acosh 2021-09-18 14:50:55 +09:00
Jeong YunWon
b12300e912 Merge pull request #3023 from Snowapril/syslog-module
Implement `syslog` module for unix
2021-09-18 13:18:15 +09:00
snowapril
358bf1e562 add expected failure on fail test
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-09-18 01:42:46 +09:00
snowapril
c6a261085d add test_syslog.py from cpython 3.8
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-09-18 01:42:46 +09:00
Connor Troy
14c9744050 Update test_cmath for log and log10 additions 2021-09-16 16:54:58 -06:00
Jim Fasarakis-Hilliard
e34198fc00 Remove HEAPTYPE flag from builtins. 2021-09-17 03:30:21 +09:00
Kangzhi Shi
52b7f3a5f7 unmark successful test 2021-09-16 15:29:26 +02: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
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
Padraic Fanning
360e0dd8a3 Unmark passing tests in test_uu 2021-09-14 23:59:58 +09:00
jfh
632f73b79a Allow sqrt to run some tests. 2021-09-14 04:40:54 +09:00
Jeong YunWon
f2ecab46ef unmark successful tests 2021-09-14 02:22:41 +09: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
e8736b6135 Merge pull request #3031 from DimitrisJim/cmath_impl
Add cmath module.
2021-09-11 21:36:00 +09:00
jfh
41f628a32a Skip failing tests. 2021-09-11 14:22:59 +03:00