ChJR
66bd4021f9
Add some tests to exit.py
2019-10-06 17:01:13 +09:00
Jeong YunWon
84f08c85d9
Merge pull request #1470 from makarchuk/string.__repr__
...
cpython compatible "".__repr__
2019-10-06 14:32:06 +09:00
Jeong YunWon
98abc916ce
Merge pull request #1473 from HyeockJinKim/slice_compare
...
Add comparison of slice
2019-10-06 14:31:27 +09:00
Jeong YunWon
997b0b05e5
Merge pull request #1478 from lazylife7157/magnitude_seperator_format
...
Fix #1476 Magnitude seperator format bug
2019-10-06 14:29:20 +09:00
lazylife7157
b1482d6318
Fix magnitude seperator format bug
2019-10-06 21:14:09 +09:00
lazylife7157
2bb1de85ee
Add magnitude seperator test
2019-10-06 21:13:01 +09:00
Noah
867c91b28f
Merge pull request #1459 from RustPython/coolreader18/sysexit
...
Correctly handle a SystemExit unwound to the top level of execution
2019-10-05 18:39:45 -05:00
Timur Makarchuk
027a25c123
Merge branch 'master' into string.__repr__
2019-10-05 22:14:34 +03:00
Noah
28142e0285
Merge pull request #1471 from sanxiyn/taberror
...
Implement TabError
2019-10-05 13:54:51 -05:00
Timur Makarchuk
4b962b89d7
Implement some __ne__ methods ( #1446 )
...
* Implement some __ne__ methods
Added test snippets from `__ne__` methods
* Fix incompatability in str.__eq__ befaviour
Previously "".__eq__(1) returned "False", which is not the case in
cpython.
Not it's returning 'NotImplemented', as it should
2019-10-06 00:50:02 +09:00
HyeockJinKim
a6a996d1ca
Add tests for comparison of slice
2019-10-05 17:34:46 +09:00
HyeockJinKim
67bc687b31
Add comparison of slice
...
Add gt, ge, lt, le for slice
Issue #1431
2019-10-05 17:34:08 +09:00
Jeong YunWon
0ac9cb861c
Merge pull request #1468 from dralley/new-style
...
Adopt new style for several more object impls
2019-10-05 16:33:38 +09:00
Jeong YunWon
9b78e9fa03
Merge pull request #1452 from HyeockJinKim/issue1450
...
Fix sequence comparison
2019-10-05 16:18:31 +09:00
Noah
e304504d22
Fix some miscellaneous stuff
...
Int division in _sre.py, float precision printf formatting
2019-10-04 22:05:01 -05:00
Noah
e89d00f167
Correctly handle a SystemExit unwound to the top level of execution
2019-10-04 22:05:01 -05:00
Seo Sanghyeon
f2e04c0e2f
Implement TabError
2019-10-05 10:12:02 +09:00
Timur
70fb3f69ef
cpython compatible "".__repr__
...
Fixes #1390
2019-10-05 01:17:17 +03:00
Noah
311b53d275
Merge pull request #1461 from dralley/cleanup-zip
...
Use new style for PyZip impl
2019-10-04 14:14:45 -05:00
Daniel Alley
c254c7eec1
Adopt new style for several more object impls
2019-10-04 13:53:06 -04:00
Daniel Alley
a6fcc664bd
Use new style for PyZip impl
2019-10-04 13:35:36 -04:00
Noah
f4c1ae269a
Merge pull request #1462 from dralley/cleanup-pystaticmethod
...
Use new style for PyStaticMethod impl
2019-10-04 12:02:50 -05:00
Windel Bouwman
521cf26b5d
Merge pull request #1466 from sanxiyn/unpack-for-call
...
Raise TypeError for duplicate keyword arguments
2019-10-04 16:07:48 +02:00
Daniel Alley
fb04771cad
Use new style for PyStaticMethod impl
2019-10-04 08:19:55 -04:00
HyeockJinKim
e812024737
Add tests for seqeunce comparison
2019-10-04 20:42:24 +09:00
HyeockJinKim
edf44a2b5d
Fix sequence comparison
...
Fixed gt, lt comparison of sequence. Also, the values of
le and ge are calculated using the not operation of gt and lt
Fixes #1450
2019-10-04 20:39:34 +09:00
Seo Sanghyeon
1faa37e208
Disable a Clippy warning
2019-10-04 20:06:07 +09:00
Seo Sanghyeon
a17456dba5
Raise TypeError for duplicate keyword arguments
2019-10-04 19:29:57 +09:00
Windel Bouwman
df6acaf163
Merge pull request #1439 from RustPython/coolreader18/xterm-local-echo
...
Improve the demo terminal's navigation
2019-10-04 11:03:00 +02:00
Windel Bouwman
0d9e723bdb
Merge pull request #1463 from lazylife7157/memoryview_hash
...
Fix #1394 Memoryview hash problem
2019-10-04 10:55:18 +02:00
lazylife7157
c3af2bb858
Make memoryview.__hash__() returns hash value of wrapped object
2019-10-05 01:41:49 +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
418de0f62f
Add Tests
...
* Test `__copy__` method for `tee` objects works properly.
* Cover the case where the iterable argument passed to `itertools.tee()`
has `__copy__` method implemented.
2019-10-04 15:44:57 +09:00
Jeong YunWon
162ff58f16
Merge pull request #1460 from dralley/tuple-twice
...
Don't init() objtuple twice
2019-10-04 15:12:26 +09:00
Daniel Alley
bb7ba3d2e7
Don't init() objtuple twice
2019-10-03 22:58:46 -04:00
Noah
c8e6ca7271
Merge pull request #1451 from sanxiyn/optimize-buildmap
...
Optimize BuildMap bytecode emission
2019-10-03 15:48:10 -05:00
Noah
9c4c39aef2
Merge pull request #1456 from RustPython/revert-1444-fix-int-arg
...
Revert "Fix argument keyword error in int/float/bool.__new__"
2019-10-03 15:18:32 -05:00
j30ng
5351b7d98d
Use Rc::clone(&rc) instead of rc.clone()
2019-10-04 04:03:34 +09:00
j30ng
048ec3e0ee
Add Testcases
2019-10-04 03:33:47 +09:00
Windel Bouwman
699450ddd7
Merge pull request #1447 from RustPython/coolreader18/type-attrs
...
Fix properties on `type`
2019-10-03 20:10:25 +02:00
j30ng
301e5a99ed
Implement built-in itertools.tee
2019-10-04 02:59:46 +09:00
Windel Bouwman
452e82f3a7
Merge pull request #1455 from RustPython/coolreader18/sre-py
...
Add the _sre module
2019-10-03 17:02:10 +02:00
Noah
0f50b28400
Merge pull request #1457 from sanxiyn/parser-panic
...
Do not panic in parser
2019-10-03 09:48:55 -05:00
coolreader18
936119073b
Add tests for type.__bases__, fix type.__bases__
2019-10-03 09:46:57 -05:00
Seo Sanghyeon
3f1009ec2c
Disable a Clippy warning
2019-10-03 20:16:40 +09:00
Seo Sanghyeon
bdb6208f6f
Do not panic in parser
2019-10-03 19:41:12 +09:00
coolreader18
8746f29d3b
Fix sre_compile._bytes_to_code
2019-10-02 22:09:31 -05:00
Noah
9ed825742c
Revert " Fix argument keyword error in int/float/bool.__new__"
2019-10-02 21:33:43 -05:00
coolreader18
e8073831f6
Fix _sre._Dispatcher.build_dispatch_table
2019-10-02 21:25:09 -05:00