Commit Graph

863 Commits

Author SHA1 Message Date
Windel Bouwman
382e566315 Merge pull request #930 from jgirardet/byteraayfollow
add split, rsplit, partition, rpartition, expandtabs, spitlines, zfill,replace to bytearray
2019-05-07 21:50:39 +02:00
Windel Bouwman
d76e4d5433 Merge pull request #934 from Jongy/range-arg3-zero
Raise an error on `range()` with step=0
2019-05-07 21:30:00 +02:00
Windel Bouwman
c9ba9192f6 Merge pull request #922 from palaviv/os-symlink
Symlinks
2019-05-07 21:28:46 +02:00
Windel Bouwman
aed8e03473 Merge pull request #932 from youknowone/dict-unpacking
Add dict unpacking support for literal
2019-05-07 21:25:39 +02:00
Yonatan Goldschmidt
d4a3d7eb01 Raise an error on range() with step=0 2019-05-06 23:23:48 +03:00
Jeong YunWon
e12c6813ef Add dict unpacking support for literal 2019-05-07 04:42:58 +09:00
Yonatan Goldschmidt
04bff49ee0 Raise proper NameError on del when name is not defined
Closes #929.
2019-05-06 22:40:00 +03:00
jgirardet
ed94ddba2d add split, rsplit, partition, rpartition, expandtabs, spitlines, zfill,
replace to bytearray
2019-05-06 21:04:09 +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
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
Jeong YunWon
6b495eac1e str(1.0) == '1.0' 2019-05-06 02:14:28 +09:00
Aviv Palivoda
2c30e83896 Add follow_symlinks to stat 2019-05-05 20:04:39 +03:00
Aviv Palivoda
260af4d877 Add follow_symlinks to DirEntry.{is_file, is_dir} 2019-05-05 19:40:01 +03:00
Aviv Palivoda
914f32afc3 Add symlink tests 2019-05-05 19:17:30 +03: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
4cce44ab31 Add test for print file parameter 2019-05-04 22:55:20 +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
Aviv Palivoda
6c1dca7cc2 Add DirEntry.is_symlink 2019-05-04 18:14:21 +03:00
Aviv Palivoda
46ad1f5449 Add os.symlink 2019-05-04 18:01:23 +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
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
jgirardet
5864c6e063 rewrite pybytearray with pybyteinner 2019-05-04 01:14:08 +02: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
61de5f2efc complex.__eq__ using try_float 2019-05-04 01:05:27 +09:00
Windel Bouwman
e578dcfc46 Merge pull request #899 from youknowone/float-complex
Add numbers.Complex impl to float + extend_class
2019-05-03 17:22:12 +02:00
Windel Bouwman
daf70424d2 Merge pull request #847 from jgirardet/kwargs
add other bytes method
2019-05-03 17:15:09 +02:00
Adam
1d6e8d5aa5 Merge pull request #905 from RustPython/mappingproxy
Mappingproxy
2019-05-03 09:58:37 +01:00
Y. Sapir
6f66e8440d Add tests for return type of bool.__or__ etc. 2019-05-03 01:54:18 +03:00
Y. Sapir
ea347dfdec Implement bool.__or__, __and__ and __xor__ 2019-05-03 01:54:18 +03:00
Adam Kelly
65d602571d Create mappingproxy type with __getitem__ and __contains__. 2019-05-02 16:45:00 +01:00
Windel Bouwman
b3b523ffa9 Add await syntax. 2019-05-02 17:11:51 +02:00
Windel Bouwman
5bc1aa08dc Add async def and async for parsing. 2019-05-02 16:55:33 +02:00
Jeong YunWon
0bf7ff96b8 Special handling for base -1, 0, 1 for big exp 2019-05-02 23:11:00 +09:00
Jeong YunWon
c18615b6e5 Fix __builtins__.pow to perform modpow for 3rd argument 2019-05-02 22:59:08 +09:00
Jeong YunWon
8d4562b0bb Fix __builtins__.pow to reflect __rpow__ 2019-05-02 22:59:06 +09:00