Commit Graph
1619 Commits
Author SHA1 Message Date
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
Noah 15163acdaa Merge pull request #1769 from RustPython/coolreader18/struct-class
Reorganize struct module, add struct.Struct
2020-02-21 13:05:02 -06:00
Windel Bouwman 90b862258b Merge pull request #1765 from youknowone/allow-star-exp
Allow star expression for list elements
2020-02-21 10:07:21 +01:00
Noah e1b63bdd4a Add struct.Struct test 2020-02-20 22:33:33 -06:00
Noah bad4c40904 Fix tests 2020-02-16 17:49:56 -06:00
Noah c5e856a34d Rework super() 2020-02-16 16:28:28 -06:00
Jeong YunWon 1abe7e3313 Allow star expression for list elements 2020-02-16 17:32:51 +09:00
Do Nhat Minh 0c731e8a9b Add as_integer_ratio to PyInt 2020-02-11 16:01:22 -05:00
Do Nhat Minh 914454e4ba Add __pos__ to PyComplex 2020-02-10 11:23:50 -05:00
Jeong YunWon 8d7be94b03 PyBool 2020-02-07 11:56:31 +09:00
Aviv Palivoda 2633f9f844 Add struct.calcsize 2020-02-06 21:21:44 +02:00
Jeong YunWon 844b6395ce Fix SyntaxError initial value 2020-02-06 10:39:52 +09:00