Commit Graph

185 Commits

Author SHA1 Message Date
TheAnyKey
90e52ab514 merged and prepared for PR 2020-05-16 14:33:30 +00:00
TheAnyKey
ebebda3ca6 implementation of generalized decorators and test update from cpython 2020-05-16 14:33:30 +00:00
Aviv Palivoda
160afdade2 Merge pull request #1916 from TheAnyKey/TheAnyKey/p39_math_pr
Implement Py3.9 LCM and GCD
2020-05-15 09:05:15 +03:00
TheAnyKey
b7e91677a7 simplified implementation and commented tests 2020-05-10 20:53:09 +00:00
Aviv Palivoda
25913a613f Remove expected failure from test_exhausted_iterator 2020-05-09 23:29:20 +03:00
TheAnyKey
ab9c2f2251 imported tests from cpython 3.6a5 for math. skipping all failing tests 2020-05-08 17:37:36 +00:00
Windel Bouwman
3814b5cb22 Merge pull request #1908 from RustPython/coolreader18/doctests
Allow doctest to be imported and run
2020-05-07 23:19:24 +02:00
Jeong YunWon
9a8f47b14e Merge pull request #1904 from RustPython/coolreader18/zipimport
Add zipimport to allow importing from zip files
2020-05-06 15:50:16 +09:00
Noah
84b71c9563 Enable doctest in test_json 2020-05-05 12:23:58 -05:00
Noah
c2e52c27ff Merge pull request #1889 from RustPython/coolreader18/_json-optimizations
Add the _json module and _json.make_scanner
2020-05-05 11:09:09 -05:00
Noah
e65a5edc34 Unmark expectedFailures from test_iter 2020-05-04 13:08:13 -05:00
Jeong YunWon
46945c334c Merge pull request #1897 from youknowone/fix-bytes-find
Fix find/index/count not to crash for bigint start/end arguments
2020-05-01 00:51:23 +09:00
Jeong YunWon
0c5d333cdb Merge pull request #1891 from RustPython/coolreader18/fix-codec-tests
Fix a few codecs tests
2020-04-30 03:58:33 +09:00
Noah
3937e846bd Merge pull request #1890 from RustPython/coolreader18/fix-int-tests
Fix a few int tests
2020-04-29 11:58:50 -05:00
Jeong YunWon
a115005c3d Fix find/index/count not to raise error for bigint start/end arguments 2020-04-29 23:07:12 +09:00
Noah
316ee37b38 Mark unsupported tests for _json 2020-04-28 13:45:53 -05:00
Noah
dcbce354d5 Fix string repr in int invalid literal error 2020-04-28 13:35:28 -05:00
Jeong YunWon
ec00d727dd Fix str.center and all pad methods into pystr 2020-04-29 03:05:01 +09:00
Noah
8a4af38f54 Unskip test_unicode.test_codecs_errors 2020-04-27 15:13:49 -05:00
Noah
92b5d2091d Unskip int test 2020-04-27 15:03:04 -05:00
Noah
e132e2f2e7 Fix int base-0 parsing 2020-04-27 15:03:04 -05:00
Jeong YunWon
f471f61472 Fix bytes.count 2020-04-27 11:35:37 +09:00
Jeong YunWon
06463f98eb Fix bytes.find 2020-04-27 11:34:46 +09:00
Jeong YunWon
98b5876de8 Merge pull request #1864 from youknowone/bytes-setslice
Fix bytes.__setitem__ slice for inversed range
2020-04-25 03:37:36 +09:00
Jeong YunWon
37e5c9bd7e Fix bytes.replace 2020-04-19 03:23:56 +09:00
Aviv Palivoda
f60b07aa1a Merge pull request #1840 from palaviv/pathlib
Add Pathlib
2020-04-18 18:09:04 +03:00
Aviv Palivoda
5e52c7174e Skip test_handling_bad_descriptor 2020-04-18 17:01:13 +03:00
Aviv Palivoda
709010f80c Mark unsupported tests 2020-04-18 17:01:13 +03:00
Aviv Palivoda
f78ef86c8d Add test_pathlib from CPython 3.8 2020-04-18 17:00:26 +03:00
Jeong YunWon
4c9486fb97 Fix bytes.{start|end}swith 2020-04-16 17:26:30 +09:00
Jeong YunWon
1c93a36891 Merge pull request #1861 from youknowone/str-split
Fix str.split bytes.split
2020-04-16 15:17:46 +09:00
Noah
8276803cac Merge pull request #1869 from RustPython/coolreader18/unicode-name-escape
Remove unnecessary unic dependencies and add `\N{}` unicode name escapes
2020-04-15 22:32:56 -05:00
Jeong YunWon
2423a046fa Unmark test_bytes test_returns_new_copy
which uses tons of bytes methods
2020-04-15 11:36:40 +09:00
Jeong YunWon
2516f69879 Fix bytes.split 2020-04-15 11:36:38 +09:00
Noah
a540f042e8 Add _codecs.charmap_build, fix other _codecs issues 2020-04-14 14:59:54 -05:00
Noah
d92cebd953 Unskip tests that depend on \N 2020-04-14 13:06:32 -05:00
Jeong YunWon
18fe9672ee Fix bytes.__setitem__ slice for inversed range 2020-04-13 03:56:46 +09:00
Jeong YunWon
7d7d048758 Fix {str|bytes|bytearray}.partition 2020-04-12 14:14:49 +09:00
Noah
7ae0244927 Make byte* iterators atomic to fix a shared list/bytearray test 2020-04-11 15:56:24 -05:00
Jeong YunWon
8b23271800 Merge pull request #1852 from youknowone/bytes-strip
Fix {bytes|bytearray}.{|r|l}strip
2020-04-12 02:30:36 +09:00
Jeong YunWon
6e305c57d7 Merge pull request #1856 from youknowone/bytes-zfill
Fix bytes.zfill and integrate with str.zfill
2020-04-12 02:30:06 +09:00
Jeong YunWon
a12671d5e5 Merge pull request #1857 from youknowone/str-split
Fix str.split to raise empty seprator error
2020-04-11 23:38:24 +09:00
Jeong YunWon
f434898fa5 Fix bytes.zfill and integrate with str.zfill 2020-04-11 23:37:04 +09:00
Jeong YunWon
de8b32574a Merge pull request #1854 from youknowone/strbytes-iscased
Fix {bytes|bytearray}.{isascii,islower,isupper}
2020-04-11 23:24:10 +09:00
Jeong YunWon
97cdded44e Merge pull request #1853 from youknowone/bytes-overflow
Fix new bytes with overflow error
2020-04-11 23:23:41 +09:00
Jeong YunWon
75ebaedaf1 Fix {bytes|bytearray}.{|r|l}strip 2020-04-11 22:22:33 +09:00
Jeong YunWon
e57d4d3d7b Fix str.split to raise empty seprator error 2020-04-11 19:00:28 +09:00
Jeong YunWon
95e938cb9b Fix {str|bytes|bytearray}.{isascii,islower,isupper} 2020-04-11 11:01:05 +09:00
Jeong YunWon
aa36a944bf Fix new bytes with overflow error 2020-04-11 10:56:24 +09:00
Jeong YunWon
62febeb80c Fix str.replace negative value 2020-04-11 10:42:29 +09:00