Commit Graph

2753 Commits

Author SHA1 Message Date
jgirardet
dc18356947 add bytes/byterray title 2019-05-06 21:37:15 +02:00
Windel Bouwman
abf0a329ee Merge pull request #924 from Jongy/builtin-ord-improvements
Builtin ord improvements
2019-05-06 18:14:23 +02:00
Windel Bouwman
7ae533f860 Merge pull request #911 from sapir/fix-clippy-float-error
Fix clippy error about float comparison
2019-05-06 18:12:25 +02:00
Windel Bouwman
567fc4e94f Merge pull request #916 from jgirardet/bytergevalue
rewrite pybytearray with pybyteinner
2019-05-06 18:09:12 +02:00
Windel Bouwman
68d1fb8957 Merge pull request #915 from jgirardet/split
add  bytes split, expendtab, splitlines, zfil, replace
2019-05-06 17:46:43 +02:00
Windel Bouwman
720f2fed44 Merge pull request #925 from Jongy/builtin-chr-raise-error
Raise error on out-of-range input in `chr()`
2019-05-06 17:38:25 +02:00
Yonatan Goldschmidt
c656c5cc72 Add chr() test snippets 2019-05-06 03:10:53 +03:00
Yonatan Goldschmidt
ea535856b4 Raise error on out-of-range input in chr() 2019-05-06 03:04:19 +03:00
jgirardet
5a95c5af22 remove unittests 2019-05-05 23:29:49 +02:00
Windel Bouwman
51245639ab Merge pull request #923 from youknowone/floatint-format
str(1.0) == '1.0'
2019-05-05 21:18:43 +02:00
Windel Bouwman
e1bdae000c Merge pull request #904 from RustPython/async-stuff
Add async def and async for parsing.
2019-05-05 21:16:29 +02:00
Yonatan Goldschmidt
6a73790b26 Raise proper error when string of length 0 is given to ord() 2019-05-05 20:24:54 +03:00
Yonatan Goldschmidt
717c96837e Borrow instead of cloning in ord() 2019-05-05 20:24:20 +03:00
Jeong YunWon
6b495eac1e str(1.0) == '1.0' 2019-05-06 02:14:28 +09:00
Windel Bouwman
6228a207e1 Merge pull request #912 from sapir/repl-underscore
Repl underscore
2019-05-05 11:21:20 +02:00
coolreader18
de6bc057fb Merge pull request #919 from sapir/check-parent-equiv
Include reimplemented methods in whats_left.sh, and skip inherited methods
2019-05-04 19:11:48 -05:00
Y. Sapir
c38a3711d0 Include reimplemented methods in whats_left.sh, and skip inherited methods 2019-05-05 00:05:13 +03:00
Y. Sapir
88c3852b73 Don't check for methods on iter - it's a builtin function 2019-05-05 00:02:10 +03:00
Windel Bouwman
ee2b2a82fc Merge pull request #909 from sapir/add-bool-methods
Add bool methods
2019-05-04 22:34:43 +02:00
Windel Bouwman
a36fb77d42 Merge pull request #910 from sapir/print-file-parameter
Print file parameter
2019-05-04 22:33:55 +02:00
Y. Sapir
1a5bddc41b Fix clippy error about float comparison 2019-05-04 23:32:49 +03:00
Y. Sapir
bbb8df797f Refactor builtin_print to avoid duplicate loop code 2019-05-04 22:55:20 +03:00
Y. Sapir
ad2499f432 Implement print file parameter 2019-05-04 22:55:20 +03:00
Y. Sapir
4cce44ab31 Add test for print file parameter 2019-05-04 22:55:20 +03:00
Y. Sapir
45d7c383cd Implement bool.__ror__, __rand__ and __rxor__ 2019-05-04 22:27:43 +03:00
Windel Bouwman
c217685eeb Merge pull request #918 from palaviv/except-block
Except block
2019-05-04 18:49:23 +02:00
coolreader18
e91996b4e6 Merge pull request #896 from youknowone/pycomplex
PyComplex extend_class, uniform operand handling, missing methods + Complex64 IntoPyObject
2019-05-04 11:33:21 -05:00
coolreader18
406be20fe0 Merge pull request #914 from palaviv/wasm-import
Add browser.load_module
2019-05-04 10:32:07 -05:00
Aviv Palivoda
810b8ee4d0 Simplify PopException 2019-05-04 17:19:59 +03:00
Aviv Palivoda
32714f889e Remove empty params from ExceptHandler 2019-05-04 17:18:04 +03:00
Windel Bouwman
231343d63b Merge pull request #917 from palaviv/os-stat-2
Extend os.stat
2019-05-04 12:28:16 +02:00
Windel Bouwman
4a43872052 Merge pull request #903 from RustPython/lexer-error-improvements
Improve handling of lexical errors.
2019-05-04 11:56:33 +02:00
Aviv Palivoda
159063bb47 Convert windows file attributes to unix mode 2019-05-04 12:50:28 +03:00
Aviv Palivoda
d803acfdc5 Add yield in except test 2019-05-04 12:32:40 +03:00
Aviv Palivoda
5270da3934 Add ExceptHandler block 2019-05-04 12:32:40 +03:00
Aviv Palivoda
775be3a36a Add stat mode tests 2019-05-04 11:07:56 +03:00
Aviv Palivoda
b96f4a5758 Add CPython stat.py file 2019-05-04 11:00:36 +03:00
Aviv Palivoda
01b245f5df Add stat to DirEntry 2019-05-04 10:59:32 +03:00
jgirardet
5864c6e063 rewrite pybytearray with pybyteinner 2019-05-04 01:14:08 +02:00
Aviv Palivoda
c57fd1b96e Remove closure 2019-05-03 23:52:02 +03:00
Jeong YunWon
88e64adc56 Add complex __pow__ and __rpow__ 2019-05-04 01:05:27 +09:00
Jeong YunWon
930c8eef50 Add complex.{__mod__, __rmod__, __divmod__, __rdivmod__} 2019-05-04 01:05:27 +09:00
Jeong YunWon
9523baf5ac complex [r]truediv, [r]floordiv 2019-05-04 01:05:27 +09:00
Jeong YunWon
7c8880fb4a complex overflow message test 2019-05-04 01:05:27 +09:00
Jeong YunWon
2a2d0e4764 Add complex.__rmul__ 2019-05-04 01:05:27 +09:00
Jeong YunWon
982bbd69d8 complex.__bool__ uses Zero::is_zero instead of zero() 2019-05-04 01:05:27 +09:00
Jeong YunWon
61de5f2efc complex.__eq__ using try_float 2019-05-04 01:05:27 +09:00
Jeong YunWon
9a7fadcb6c Refactor PyComplex using try_complex 2019-05-04 00:59:19 +09:00
Jeong YunWon
7b438d9be8 impl IntoPyObject for Complex64 2019-05-04 00:59:19 +09:00
Jeong YunWon
9448254914 PyComplex uses extend_class for __new__ and __doc__ 2019-05-04 00:59:19 +09:00