Commit Graph
1580 Commits
Author SHA1 Message Date
Jeong YunWon 8e8efe0ec8 reform every TODO: RUSTPYTHON to same format 2020-06-17 18:47:13 +09:00
Noah 2fc90e17ac Fix error messages for index overflows 2020-06-06 17:14:32 -05:00
Aviv Palivoda 38c0bf9d08 Support sign before dot in float parsing 2020-05-29 18:07:31 +03:00
Aviv Palivoda 7b6b92938f Support converting from string in complex 2020-05-29 17:06:41 +03:00
Noah 0ec86f17ee Add num_expected_failures stat to jsontests 2020-05-28 23:38:28 -05:00
Noah 0d7d4f0472 Add expected_failure result type to jsontests 2020-05-27 20:53:25 -05:00
Noah fc2f2d13f1 Add TODO in snippets.test_threading 2020-05-23 18:49:19 -05:00
TheAnyKey daaf906320 Implement Python 3.9 style string functions: removeprefix and removesuffix PEP616
* implement and test Py39 string operations removeprefix and removesuffix.
* Added test snippets for it using an also contained extension of testutils
2020-05-19 09:17:13 +09:00
Jeong YunWon 86dd0d6bfd suppress new version of flake8 lint error for test 2020-05-13 03:08:44 +09:00
TheAnyKey da09370fb6 Revert "merged from TheAnyKey/p39_string_rem_pre_suffix"
This reverts commit 84a6e8e8df.
2020-05-08 15:32:12 +00:00
TheAnyKey 84a6e8e8df merged from TheAnyKey/p39_string_rem_pre_suffix 2020-05-08 15:28:46 +00:00
TheAnyKey a447b88614 merges testutils 2020-05-08 08:49:09 +00:00
TheAnyKey d6192cd927 merged from other brach 2020-05-07 19:48:23 +00:00
Noah c6d3b1b8f4 Merge pull request #1899 from TheAnyKey/TheAnyKey/p38_self_documenting_fstrings
The any key/p38 self documenting fstrings
2020-05-05 10:24:15 -05:00
TheAnyKeyandJeong YunWon cba961ecfa Apply suggestions from code review
Co-authored-by: Jeong YunWon <youknowone@users.noreply.github.com>
2020-05-04 23:09:31 +02:00
TheAnyKey 620115d69a recommit 2020-05-01 10:14:02 -04:00
TheAnyKey f823af1975 skipping inkompatible test for the moment 2020-04-30 14:51:46 -04:00
TheAnyKey 80a9710aa8 fixed clippy; tests fail explicitly for python 3.7 and below 2020-04-30 14:25:49 -04:00
TheAnyKey 3e8cde7b9c Removed incompatibilty with CPython, fixed parser error handling 2020-04-30 12:48:41 -04:00
TheAnyKey 8e8e839b94 activated further test, removed todos 2020-04-29 17:16:23 -04:00
TheAnyKey 972503c3ab fixed qute handling in tests 2020-04-29 17:13:07 -04:00
TheAnyKey e7ec972ab7 now conversion flags can be followed by a format specifier and added tests 2020-04-29 16:55:21 -04:00
TheAnyKey 34478d3db7 implemented selfdocumenting fstrings and tests from cpython- current handling of quotes is too simple 2020-04-29 15:37:47 -04:00
Toan Phan 6266081d9a Add os.setreuid and os.setresuid methods 2020-04-28 13:35:57 +09:00
TheAnyKey 0dd111a4ff wrapped module imports with exception handlers and report when importing fails 2020-04-27 13:08:33 -04:00
Noah c50ab85bbb Add test for unpack regression 2020-04-25 02:15:14 -05:00
Noah 7ab9a641bc Remove the serde_json based json module, update tests 2020-04-08 12:16:19 -05:00
Noah 9a9246d517 Add callable iterator test 2020-04-08 10:10:56 -05:00
Noah f5de59a4bd Merge pull request #1834 from RustPython/coolreader18/jsontests
Add json output for CPython tests
2020-04-04 11:52:04 -05:00
Noah 5b2cfb442d Make from __future__ imports a syntactic construct in the compiler 2020-04-03 12:34:00 -05:00
Noah 80f11466b3 Add "incognito" compilation 2020-04-03 12:34:00 -05:00
Noah aad212299f Add tests for positional/keyword only arguments 2020-04-03 00:24:33 -05:00
Noah f66fde57c1 Add json output for CPython tests 2020-04-02 17:42:01 -05:00
Noah 44bd11fd49 Merge pull request #1822 from palaviv/glob
Add glob module
2020-03-21 09:37:48 -05:00
Noah 457602d5f1 Merge pull request #1819 from RustPython/coolreader18/only-gh-actions
Remove Travis and Azure CI
2020-03-20 14:39:56 -05:00
Aviv Palivoda a90157c1b7 Support bytes in os.listdir 2020-03-20 17:33:02 +02:00
Aviv Palivoda d95c10c023 Support bytes in stat 2020-03-20 17:24:24 +02:00
Aviv Palivoda 4f88b07d18 Support bytes as scandir path 2020-03-20 16:40:02 +02:00
Noah 831d9f3804 Fix Python 3.8 os.getcwd()/os.path.realpath() test 2020-03-15 23:48:00 -05:00
Noah 6e63e4fc04 Remove travis config 2020-03-14 23:44:33 -05:00
Noah e4c702e0aa Add a cron job to GH Actions CI 2020-03-14 23:44:32 -05:00
Aviv Palivoda 7925932459 bool packing check __bool__ 2020-03-14 16:33:13 +02:00
Aviv Palivoda bbb799f2c7 Resize pack_string with padding 2020-03-14 16:25:02 +02:00
Aviv Palivoda 395fd6bfbe Integer packing check __index__ 2020-03-14 12:30:41 +02:00
Abe 4c72a3c853 Implement format code e & E for floats and ints 2020-03-06 18:12:48 -07:00
coolreader18 43713c41e4 Add gi_ and cr_ attributes to generators and coroutines 2020-03-01 23:11:28 -06:00
Idan Dor 6ea5d58f24 Fix previous merge of objtype.rs.
Moved the tests to their more correct place of `tests/snippets/class.py`.
2020-02-29 16:34:14 +02:00
Idan Dor 23e0467876 Merge remote-tracking branch 'remotes/upstream/master' into feature/mro_resolution
# Conflicts:
#	vm/src/obj/objsuper.rs
#	vm/src/obj/objtype.rs
2020-02-29 13:17:33 +02:00
Noah 7be93a96da Merge pull request #1766 from RustPython/coolreader18/stdlib-typing
Add the typing standard library module, rework tp_new
2020-02-28 22:50:07 -06:00
Idan Dor 8b80707cf8 Fixes according to PR review and added tests:
Moved mro creation from super getattribute to super constructor.

Removed optional VM argument in new class construction and changed the function to return String which is later "unwrapped" if a vm is available.

Added the relevant tests to `types_snippet.py`.
2020-02-22 16:10:49 +02:00