Commit Graph

3881 Commits

Author SHA1 Message Date
lynskylate
b4335dc049 Merge branch 'master' of https://github.com/RustPython/RustPython into extend-socket 2019-08-26 01:07:53 +08:00
lynskylate
bd72869c34 Repalce OptionalArg to Option 2019-08-26 01:04:04 +08:00
Aviv Palivoda
124f16488c Merge pull request #1275 from zsaladin/json_dump
Modify `json.loads` for bytes and bytearray
2019-08-25 18:52:50 +03:00
lynskylate
d58abd3a66 Add timeout test 2019-08-25 22:31:21 +08:00
lynskylate
9677f77360 Merge branch 'master' of https://github.com/RustPython/RustPython into extend-socket 2019-08-25 15:01:21 +08:00
lynskylate
a8c295936f Refactor code 2019-08-25 15:01:15 +08:00
Noah
5b555aecd1 Merge pull request #1304 from RustPython/coolreader18/arraymodule
Add the array module
2019-08-24 23:13:22 -05:00
coolreader18
c3f64a3025 Add array tests, array.__eq__, array.__iter__ 2019-08-24 22:28:17 -05:00
Windel Bouwman
6cbab13098 Merge pull request #1298 from RustPython/clippy-warnings
Fix clippy warnings. Add proper names to symboltables.
2019-08-24 12:12:19 +02:00
coolreader18
825ee4bc7c Fix tests/clippy 2019-08-23 17:52:38 -05:00
coolreader18
3a15121324 Add TODO 2019-08-23 17:34:56 -05:00
coolreader18
ab4aeece96 Add array.__getitem__ 2019-08-23 17:34:56 -05:00
coolreader18
dacd119d4a Fix str.[r]split 2019-08-23 17:34:56 -05:00
coolreader18
b8eba6abe3 Add the array module 2019-08-23 17:34:52 -05:00
Windel Bouwman
89a97b66ad Merge pull request #1290 from mpajkowski/int_fix
Fix panics with int()
2019-08-23 17:12:33 +02:00
Windel Bouwman
bd293fad76 Merge pull request #1303 from youknowone/datetime
Datetime module
2019-08-23 16:53:10 +02:00
lynskylate
a0521bc986 Merge branch 'master' of https://github.com/RustPython/RustPython into extend-socket 2019-08-22 22:22:03 +08:00
Noah
e0de5fc139 Merge pull request #1314 from youknowone/bool-real
bool.real
2019-08-22 09:13:43 -05:00
Jeong YunWon
0327428aa5 bool.real 2019-08-22 13:57:44 +09:00
Noah
196a0de345 Merge pull request #1316 from Tom1380/master
Cleaned up two tests.
2019-08-21 20:44:21 -05:00
Tommaso Thea Cioni
d7187d426c Cleaned up two tests. 2019-08-22 03:11:51 +02:00
Marcin Pajkowski
6d618c5e5a Add changes suggested by @seeturtle
+ Add tests covering those changes
2019-08-20 06:11:59 +02:00
Marcin Pajkowski
5e37adcf68 Apply review comments 2019-08-20 06:11:59 +02:00
Marcin Pajkowski
d07edee3f6 Add more tests for int() 2019-08-20 06:11:59 +02:00
Marcin Pajkowski
3f3fa2e5af Fix panics with int()
+ add automatic radix detection based on given literal
  if optional arg base is set to 0 (CPython behavior)
+ tolerate underscore separators
2019-08-20 06:11:59 +02:00
Noah
a48df9d16a Merge pull request #1312 from mpajkowski/fix_oschmod
Fix failing os.chmod tests
2019-08-19 23:09:19 -05:00
Marcin Pajkowski
da92c4acd5 Fix failing os.chmod tests 2019-08-20 00:51:06 +02:00
coolreader18
a4d92cbac0 Fix os.chmod not defined on windows 2019-08-19 14:30:10 -05:00
lynskylate
70d9e43104 Add settimeout and setblocking for socket module 2019-08-20 01:18:34 +08:00
Noah
49949aa2f9 Merge pull request #1271 from suewoon/os-chmod
Add os.chmod
2019-08-19 11:58:07 -05:00
suewoon
7397f312e3 Fix: match on a boolean expression, change import 2019-08-20 01:09:38 +09:00
Aviv Palivoda
1675f05313 Merge pull request #1305 from RustPython/fix-try-else
Repair try-except-else syntax. Fixes #1300.
2019-08-19 18:50:04 +03:00
Aviv Palivoda
2ea516c43e Merge pull request #1307 from RustPython/cleanup-legacy
Remove unused CPython to bytecode compiler.
2019-08-19 18:48:16 +03:00
Aviv Palivoda
401de9ad97 Merge pull request #1308 from RustPython/fix-todos
Add support for ascii formatting of f-strings.
2019-08-19 18:47:44 +03:00
Daehee Kim
a010bc9b95 Add tests for json_load and json_loads of bytes and bytearray 2019-08-20 00:42:49 +09:00
suewoon
44806620fc Put os_chmod under #[cfg(unix)] attribute 2019-08-20 00:32:21 +09:00
suewoon
648d7e3250 Add os.chomd 2019-08-20 00:31:15 +09:00
Daehee Kim
04ac07126d Modify json.loads for byte-like object. 2019-08-20 00:10:05 +09:00
Windel Bouwman
291ffd2671 Add support for ascii formatting of f-strings. 2019-08-19 11:27:13 +02:00
Windel Bouwman
c8f24128a7 Remove unused CPython to bytecode compiler. 2019-08-19 09:41:04 +02:00
Jeong YunWon
35ce9c041e datetime test for rustpython 2019-08-19 16:26:00 +09:00
CPython 3.4.9
1c140fb6a1 test_datetime.py from CPython 3.4.9 2019-08-19 16:26:00 +09:00
Jeong YunWon
785d19a46e unittest compatible assertRaises 2019-08-19 16:26:00 +09:00
CPython 3.7.4
531a964f33 datetime.py from CPython 3.7.4 2019-08-19 16:26:00 +09:00
Windel Bouwman
19112cef49 Require at least finally or except on a try statement. 2019-08-19 09:00:08 +02:00
Windel Bouwman
2dab55864c Merge pull request #1301 from youknowone/isdst
Add isdst and slice support to time.struct_time
2019-08-19 08:48:59 +02:00
Windel Bouwman
3ed71308bf Repair try-except-else syntax. Fixes #1300. 2019-08-19 08:37:07 +02:00
Jeong YunWon
32861cee46 Add slice support for PyTimeStructure 2019-08-19 14:43:00 +09:00
Jeong YunWon
82d6fc81ff PySliceableSequence return type can be non-Self sequence 2019-08-19 14:43:00 +09:00
Jeong YunWon
27ab455e46 Add time.struct_time.isdst 2019-08-19 06:00:49 +09:00