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
Jeong YunWon
23381b9937
compatiibility for CPytthon descr_check
2020-02-06 03:42:01 +09:00
Noah
c435ba05ab
Merge pull request #1731 from RustPython/feature/implement-random
...
Implement _random.Random
2020-02-05 07:39:27 -06:00
Noah
3595f4e1a4
Merge pull request #1730 from youknowone/type-error
...
Fix type() error message and BaseException.__str__
2020-02-03 19:28:25 -06:00
malkoG
908abef5da
Apply code review for test snippet
2020-02-03 18:21:42 -06:00
malkoG
8a3fb408dc
Implement random module
2020-02-03 18:21:37 -06:00
Aviv Palivoda
9c12b95cf4
Support timeout in Popen.communicate
2020-02-01 09:54:05 +02:00
Jeong YunWon
c366c2074c
Fix type() error message and BaseException.__str__
2020-02-01 13:23:32 +09:00
Aviv Palivoda
19ce0c6d7f
Add missing assert
2020-01-31 10:08:11 +02:00
coolreader18
ff97ac5133
Fix subprocess test and byte{s,array}.{,l,r}strip
2020-01-28 11:33:11 -06:00
coolreader18
3a8f2aa25b
Only build the necessary rust target for test_snippets
2020-01-28 11:33:10 -06:00
Noah
bc121d791a
Merge pull request #1682 from RustPython/coolreader18/compare_digest
...
Add _operator._compare_digest
2020-01-25 12:20:08 -06:00
Aviv Palivoda
32d544d41a
Merge pull request #1699 from palaviv/splitlines-keepends
...
Support keepends in Str.splitlines
2020-01-25 17:06:43 +02:00
Aviv Palivoda
8bf0d93bb2
Refactor string.splitlines
2020-01-24 22:53:44 +02:00
Aviv Palivoda
ad4beab6f6
fix line continuation parsing
2020-01-24 21:50:19 +02:00
Aviv Palivoda
4a9e87b80d
Support keepends in Str.splitlines
2020-01-24 12:58:51 +02:00