Commit Graph

2853 Commits

Author SHA1 Message Date
Windel Bouwman
5273bdc836 Merge pull request #955 from youknowone/sys-builtin_module_names
Add sys.builtin_module_names
2019-05-12 15:07:45 +02:00
Windel Bouwman
878cc3b120 Merge pull request #943 from Furyzer0/master
[WIP] implement str.translate and str.maketrans
2019-05-12 15:04:31 +02:00
Windel Bouwman
41f4cdc6f9 Merge pull request #952 from youknowone/fix-exec-locals
Fix exec to populate locals only when globals() is not given
2019-05-12 15:03:01 +02:00
Windel Bouwman
b5140a9924 Merge pull request #953 from youknowone/classmethod-func
Add classmethod.__func__
2019-05-12 12:53:26 +02:00
Jeong YunWon
ddf676569a Add sys.builtin_module_names 2019-05-12 19:18:37 +09:00
Jeong YunWon
e311b4f156 Fix exec to populate locals only when globals() is not given 2019-05-12 19:15:39 +09:00
zer0
04c017d268 unit testing for str.maketrans 2019-05-12 12:47:23 +03:00
Windel Bouwman
0a1399a42b Merge pull request #962 from skinny121/os_stat_time
Add st_{a,m,c}time to os.stat
2019-05-12 11:42:57 +02:00
Windel Bouwman
937704fbd9 Merge pull request #881 from youknowone/globals-builtins
Add __builtins__ to globals()
2019-05-12 11:40:07 +02:00
Windel Bouwman
9f39fa50c8 Merge pull request #949 from Jongy/itertools-repeat
Itertools repeat
2019-05-12 11:36:35 +02:00
Windel Bouwman
2261988648 Merge pull request #948 from Jongy/itertools
Itertools
2019-05-12 11:34:22 +02:00
zer0
764215151d more idiomatic code 2019-05-12 00:40:43 +03:00
zer0
b94923314d removed import warning 2019-05-12 00:00:21 +03:00
zer0
268cb8d217 fix str.maketrans 2 and 3 arguments cases 2019-05-11 23:58:42 +03:00
ben
645c6dec48 Add wait between file modification and access 2019-05-12 08:55:39 +12:00
ben
f2703511b9 Fix dead code warning on windows and disable access time tests
as file access time on windows has quite bad resolution.
2019-05-12 08:26:37 +12:00
ben
4070baa6ac Add fsync and more tests for file times 2019-05-12 07:51:14 +12:00
coolreader18
9dcfacbf3b Merge pull request #963 from palaviv/sys-platform
Add sys.platform
2019-05-11 13:50:46 -05:00
Aviv Palivoda
d1c95d1c51 Remove patch in posixpath.py 2019-05-11 17:17:00 +03:00
Windel Bouwman
c276357c8e Merge pull request #961 from palaviv/os-cwd
os.{getcwd,chdir}
2019-05-11 14:45:07 +02:00
Windel Bouwman
57e250f9b2 Merge pull request #957 from Jongy/binascii
Binascii
2019-05-11 14:43:08 +02:00
Yonatan Goldschmidt
12e831380d Add itertools.repeat 2019-05-11 15:42:11 +03:00
Windel Bouwman
ad86bd5a37 Merge pull request #951 from youknowone/str-isidentifier
Fix str.isidentifier() and add tests snippets
2019-05-11 14:35:38 +02:00
Yonatan Goldschmidt
322aff70df Add binascii.b2a_hex, binascii.a2b_hex 2019-05-11 12:01:35 +03:00
Yonatan Goldschmidt
070529d8c7 Add binascii.unhexlify 2019-05-11 12:01:35 +03:00
Yonatan Goldschmidt
8dd664ef20 Add binascii.hexlify 2019-05-11 12:01:35 +03:00
Yonatan Goldschmidt
f7531d8b08 Add binascii module skeleton 2019-05-11 11:57:46 +03:00
Yonatan Goldschmidt
ce514d2aa5 Add itertools.count 2019-05-11 11:48:27 +03:00
Yonatan Goldschmidt
7490724b65 Add itertools module skeleton 2019-05-11 11:48:26 +03:00
Aviv Palivoda
152c1654d6 Add sys.platform 2019-05-11 11:43:11 +03:00
ben
b01e960da7 Add st_{a,m,c}time to os.stat 2019-05-11 19:15:54 +12:00
Aviv Palivoda
c7e9bdd464 Add tests for chdir and getcwd 2019-05-11 09:29:24 +03:00
Aviv Palivoda
f0fd371b69 Add os.chdir 2019-05-11 09:29:09 +03:00
Aviv Palivoda
8294ac5451 Add os.getcwd 2019-05-11 09:17:23 +03:00
Jeong YunWon
c0f14eace3 Fix str.isidentifier() and add tests snippets 2019-05-11 14:30:47 +09:00
zer0
6e05795521 added str.maketrans 2019-05-11 01:03:22 +03:00
zer0
b15a584168 added small test to snippets 2019-05-10 23:47:11 +03:00
zer0
2f253ca054 cargo fmt 2019-05-10 23:31:11 +03:00
Jeong YunWon
7564833b6e Add classmethod.__func__ 2019-05-11 05:30:27 +09:00
Jeong YunWon
b720681c7b PyClassImpl for PyClassMethod 2019-05-11 05:30:27 +09:00
Jeong YunWon
509394080b Inject __builtins__ to scope only when it doesn't exist 2019-05-11 03:05:18 +09:00
Jeong YunWon
f69c79bdc7 Add __builtins__ to globals() 2019-05-11 01:17:22 +09:00
coolreader18
0a683f2be6 Merge pull request #946 from stwen77/fix_floor_div
fix floor div for int
2019-05-10 08:25:24 -05:00
coolreader18
385d4851d1 Merge pull request #942 from Jongy/fix-unused-macros-warn
Define `os_unix_stat_inner` only when required
2019-05-10 08:00:20 -05:00
Windel Bouwman
d14fb6edbb Merge pull request #947 from palaviv/file
Support __file__
2019-05-10 14:41:12 +02:00
Aviv Palivoda
fc1a063a2c Add __file__ for file executed from main 2019-05-10 14:06:23 +03:00
Aviv Palivoda
da3df8a0ae Add __file__ for imported modules 2019-05-10 13:58:10 +03:00
Yonatan Goldschmidt
fe37ecf8d3 Define os_unix_stat_inner only when required
Avoids warn when building on Windows.
2019-05-10 11:24:28 +03:00
Shitong Wen
50c119a503 fix floor div for int 2019-05-10 14:21:09 +08:00
Windel Bouwman
352bd85681 Merge pull request #944 from sapir/more-bytearray-methods
More bytearray methods
2019-05-10 07:06:30 +02:00