Commit Graph

749 Commits

Author SHA1 Message Date
Windel Bouwman
549c95c83f Merge pull request #1344 from youknowone/thread-timeout
_thread.TIMEOUT_MAX
2019-10-06 14:06:41 +02:00
lazylife7157
725d153937 Add type constraints to memoryview constructor 2019-10-07 02:27:12 +09:00
Jeong YunWon
035c51b360 _thread.TIMEOUT_MAX 2019-10-04 21:03:00 +09:00
Windel Bouwman
faee9e3652 Merge pull request #1458 from j30ng/itertools-tee
Implement itertools.tee
2019-10-04 10:53:25 +02:00
j30ng
0b7da12463 Fix Bug in tee.__next__ + Add Test 2019-10-04 16:11:43 +09:00
j30ng
5351b7d98d Use Rc::clone(&rc) instead of rc.clone() 2019-10-04 04:03:34 +09:00
j30ng
301e5a99ed Implement built-in itertools.tee 2019-10-04 02:59:46 +09:00
coolreader18
8746f29d3b Fix sre_compile._bytes_to_code 2019-10-02 22:09:31 -05:00
Noah
8612ccc151 Rename re with the Rust regex crate to regex_crate 2019-10-02 20:11:48 +00:00
Noah
36a4e107d7 Merge pull request #1414 from RustPython/coolreader18/enum-module
Fix weirdness with type.__new__()/type()/metaclass.__new__() in order to support enum
2019-10-01 07:26:31 -05:00
Aviv Palivoda
da17726a90 Merge pull request #1380 from mpajkowski/os_scandir_contextmanager
os.scandir refinement
2019-09-30 23:53:33 +03:00
Noah
d22cac2dd8 Rename new slots to tp_new 2019-09-29 23:14:37 -05:00
Noah
2bb04f4836 Don't try to put __new__ on every type 2019-09-29 23:14:37 -05:00
coolreader18
b581975ef6 Fix clippy lints 2019-09-29 23:14:36 -05:00
coolreader18
c46b5b50bd Fix weirdness with type.__new__()/type()/metaclass.__new__() 2019-09-29 23:14:31 -05:00
j30ng
b056044b5a Fix CI Build in Rust 1.38.0 2019-09-28 03:24:47 +09:00
Daniel Alley
a964f216c4 Fix clippy warnings 2019-09-26 17:45:36 -04:00
Marcin Pajkowski
c893a5e307 Implement context manager protocol for os.scandir 2019-09-25 21:44:28 +02:00
Windel Bouwman
51c3f71eed Merge pull request #1406 from lntuition/fix-1405
Fix int type casting error with negative base value
2019-09-25 17:15:48 +02:00
Hyunji Kim
239115f686 itertools.compress 2019-09-25 22:55:05 +09:00
Sang-Heon Jeon
545e9d39df Fix int type casting error with negative base value
Change base type from u32 to PyIntRef

Fixed: #1405
2019-09-25 01:01:21 +09:00
Noah
0160cd1159 Merge pull request #1402 from lntuition/Fix-typo
Fix Typo in vm/src/stdlib/pystruct.rs
2019-09-23 12:29:08 -05:00
Noah
2a9ae1e797 Merge pull request #1398 from Writtic/module_copysign
Update copysign module of math
2019-09-23 11:31:20 -05:00
Noah
dd9bece293 Fix os_open 2019-09-23 11:26:04 -05:00
Noah
46c91414ad Maybe fix os.open 2019-09-22 14:46:46 -05:00
unknown
c76739fed7 Fix Typo in vm/src/stdlib/pystruct.rs 2019-09-22 20:27:39 +09:00
Riey
6f12e35120 Fix os_symlink compile error 2019-09-22 18:08:54 +09:00
johan.park
040c290a6e Apply clippy 2019-09-22 16:27:38 +09:00
johan.park
db10a82cbe Update copysign module of math
- Implement copysign function with test case
- Add constants of NAN, INF, NINF on top of `math_module.py`
2019-09-22 16:12:41 +09:00
Noah
00a0e455f3 Merge pull request #1387 from RustPython/coolreader18/string-hash-field
Add a hash field to PyString á la CPython, make PyString.value private
2019-09-21 17:15:17 -05:00
Noah
f846cd7327 Fix failing socket test 2019-09-21 15:33:52 -05:00
Noah
0def37d78e Make PyString.value private 2019-09-19 17:45:48 -05:00
Noah
a429b09a0b Allow match_class match expressions without parens around the target 2019-09-19 20:07:18 +00:00
Noah
dfeeda1c4c Match an actual match expression in match_class! 2019-09-19 18:27:34 +00:00
Noah
59d4e4e7c1 Fix os_open 2019-09-18 11:43:22 -05:00
Noah
0280a1c83c Merge pull request #1227 from yjhmelody/master
Add unix constant for os module
2019-09-18 09:03:14 -05:00
yjhmelody
c007b14476 fix op 2019-09-18 14:15:20 +08:00
yjhmelody
d6c8064a7e fix O_RDONLY 2019-09-18 12:31:05 +08:00
yjhmelody
3f229f2e37 fix errors 2019-09-18 10:32:03 +08:00
yjhmelody
4a322b5129 remove O_RSYNC 2019-09-17 16:39:28 +08:00
Jeong YunWon
be782f3a16 remove unused loop in macos 2019-09-17 17:36:13 +09:00
yjhmelody
8ab84c270c fix errors about fmt and clippy 2019-09-17 16:11:34 +08:00
yjh
e926acd68a Merge branch 'master' into master 2019-09-17 15:57:26 +08:00
yjhmelody
0f62a47b7e update os.open 2019-09-17 15:53:36 +08:00
Noah
ff0b840469 Merge pull request #1375 from RustPython/coolreader18/distutils-module
Add distutils module and update os module, among others
2019-09-16 11:36:49 -05:00
Noah
62a737ff42 Merge pull request #1376 from palaviv/into-py-float
Add IntoPyFloat
2019-09-16 10:28:57 -05:00
coolreader18
7bcc6d3383 Fix os_putenv 2019-09-15 22:55:39 -05:00
Aviv Palivoda
6a6a10afa1 Use IntoPyFloat in math.rs 2019-09-14 12:50:58 +03:00
j30ng
d4e5d76441 Use into_ref_with_type() 2019-09-14 12:02:05 +09:00
j30ng
f920982755 Python 'None' Value -> Option 2019-09-14 11:52:56 +09:00