Commit Graph

  • 4c09505865 Merge branch 'master' into title jgirardet 2019-05-08 18:16:02 +02:00
  • 099b1f4752 Merge pull request #936 from palaviv/os-path coolreader18 2019-05-08 10:44:08 -05:00
  • f5653cbc68 Use supported raise from Aviv Palivoda 2019-05-08 16:47:49 +03:00
  • 216f69e635 Use os.path Aviv Palivoda 2019-05-08 16:46:45 +03:00
  • ac9ddf7756 Add CPython ntpath.py Aviv Palivoda 2019-05-08 16:32:09 +03:00
  • daae7aa998 Add CPython posixpath.py Aviv Palivoda 2019-05-08 16:31:21 +03:00
  • 6153e2d6ca Add CPython genericpath.py Aviv Palivoda 2019-05-08 16:25:33 +03:00
  • 6f31cf7554 Merge pull request #913 from Jongy/str-preallocate-and-rmul Windel Bouwman 2019-05-07 21:54:31 +02:00
  • 382e566315 Merge pull request #930 from jgirardet/byteraayfollow Windel Bouwman 2019-05-07 21:50:39 +02:00
  • d76e4d5433 Merge pull request #934 from Jongy/range-arg3-zero Windel Bouwman 2019-05-07 21:30:00 +02:00
  • c9ba9192f6 Merge pull request #922 from palaviv/os-symlink Windel Bouwman 2019-05-07 21:28:46 +02:00
  • aed8e03473 Merge pull request #932 from youknowone/dict-unpacking Windel Bouwman 2019-05-07 21:25:39 +02:00
  • 7727d09691 Merge pull request #933 from Jongy/nameerror-on-bad-del coolreader18 2019-05-07 13:31:58 -05:00
  • d4a3d7eb01 Raise an error on range() with step=0 Yonatan Goldschmidt 2019-05-06 23:23:48 +03:00
  • e12c6813ef Add dict unpacking support for literal Jeong YunWon 2019-05-07 04:41:31 +09:00
  • 04bff49ee0 Raise proper NameError on del when name is not defined Yonatan Goldschmidt 2019-05-06 22:40:00 +03:00
  • dc18356947 add bytes/byterray title jgirardet 2019-05-06 21:37:15 +02:00
  • ed94ddba2d add split, rsplit, partition, rpartition, expandtabs, spitlines, zfill, replace to bytearray jgirardet 2019-05-06 21:04:09 +02:00
  • e35dec64f9 Add vm.new_name_error helper Yonatan Goldschmidt 2019-05-06 21:47:18 +03:00
  • abf0a329ee Merge pull request #924 from Jongy/builtin-ord-improvements Windel Bouwman 2019-05-06 18:14:23 +02:00
  • 7ae533f860 Merge pull request #911 from sapir/fix-clippy-float-error Windel Bouwman 2019-05-06 18:12:25 +02:00
  • 567fc4e94f Merge pull request #916 from jgirardet/bytergevalue Windel Bouwman 2019-05-06 18:09:12 +02:00
  • 68d1fb8957 Merge pull request #915 from jgirardet/split Windel Bouwman 2019-05-06 17:46:43 +02:00
  • 720f2fed44 Merge pull request #925 from Jongy/builtin-chr-raise-error Windel Bouwman 2019-05-06 17:38:25 +02:00
  • c656c5cc72 Add chr() test snippets Yonatan Goldschmidt 2019-05-06 03:10:53 +03:00
  • ea535856b4 Raise error on out-of-range input in chr() Yonatan Goldschmidt 2019-05-05 20:40:32 +03:00
  • 5a95c5af22 remove unittests jgirardet 2019-05-05 23:29:49 +02:00
  • 51245639ab Merge pull request #923 from youknowone/floatint-format Windel Bouwman 2019-05-05 21:18:43 +02:00
  • e1bdae000c Merge pull request #904 from RustPython/async-stuff Windel Bouwman 2019-05-05 21:16:29 +02:00
  • ecd6e85f3c Fix windows build try 2 Aviv Palivoda 2019-05-05 21:32:49 +03:00
  • c06b6ccc96 Fix windows build Aviv Palivoda 2019-05-05 21:19:20 +03:00
  • 6a73790b26 Raise proper error when string of length 0 is given to ord() Yonatan Goldschmidt 2019-05-05 20:24:54 +03:00
  • 717c96837e Borrow instead of cloning in ord() Yonatan Goldschmidt 2019-05-05 20:24:20 +03:00
  • 6b495eac1e str(1.0) == '1.0' Jeong YunWon 2019-05-06 02:13:47 +09:00
  • 2c30e83896 Add follow_symlinks to stat Aviv Palivoda 2019-05-05 20:04:39 +03:00
  • 260af4d877 Add follow_symlinks to DirEntry.{is_file, is_dir} Aviv Palivoda 2019-05-05 19:40:01 +03:00
  • 914f32afc3 Add symlink tests Aviv Palivoda 2019-05-05 19:17:30 +03:00
  • 5bd23b4fb6 is_dir and is_file follow_symlink by default Aviv Palivoda 2019-05-05 19:14:34 +03:00
  • 6228a207e1 Merge pull request #912 from sapir/repl-underscore Windel Bouwman 2019-05-05 11:21:20 +02:00
  • de6bc057fb Merge pull request #919 from sapir/check-parent-equiv coolreader18 2019-05-04 19:11:48 -05:00
  • c38a3711d0 Include reimplemented methods in whats_left.sh, and skip inherited methods Y. Sapir 2019-05-05 00:05:13 +03:00
  • 88c3852b73 Don't check for methods on iter - it's a builtin function Y. Sapir 2019-05-05 00:02:10 +03:00
  • ee2b2a82fc Merge pull request #909 from sapir/add-bool-methods Windel Bouwman 2019-05-04 22:34:43 +02:00
  • a36fb77d42 Merge pull request #910 from sapir/print-file-parameter Windel Bouwman 2019-05-04 22:33:55 +02:00
  • 1a5bddc41b Fix clippy error about float comparison Y. Sapir 2019-05-03 02:34:13 +03:00
  • 6225de3098 Change file attributes to consts Aviv Palivoda 2019-05-04 23:15:22 +03:00
  • bbb8df797f Refactor builtin_print to avoid duplicate loop code Y. Sapir 2019-05-04 22:55:14 +03:00
  • ad2499f432 Implement print file parameter Y. Sapir 2019-05-03 02:25:32 +03:00
  • 4cce44ab31 Add test for print file parameter Y. Sapir 2019-05-03 02:24:55 +03:00
  • 45d7c383cd Implement bool.__ror__, __rand__ and __rxor__ Y. Sapir 2019-05-03 01:54:10 +03:00
  • c217685eeb Merge pull request #918 from palaviv/except-block Windel Bouwman 2019-05-04 18:49:23 +02:00
  • e91996b4e6 Merge pull request #896 from youknowone/pycomplex coolreader18 2019-05-04 11:33:21 -05:00
  • 406be20fe0 Merge pull request #914 from palaviv/wasm-import coolreader18 2019-05-04 10:32:07 -05:00
  • 6c1dca7cc2 Add DirEntry.is_symlink Aviv Palivoda 2019-05-04 18:14:21 +03:00
  • 46ad1f5449 Add os.symlink Aviv Palivoda 2019-05-04 18:01:23 +03:00
  • 810b8ee4d0 Simplify PopException Aviv Palivoda 2019-05-04 17:19:59 +03:00
  • 32714f889e Remove empty params from ExceptHandler Aviv Palivoda 2019-05-04 17:18:04 +03:00
  • 231343d63b Merge pull request #917 from palaviv/os-stat-2 Windel Bouwman 2019-05-04 12:28:16 +02:00
  • 4a43872052 Merge pull request #903 from RustPython/lexer-error-improvements Windel Bouwman 2019-05-04 11:56:33 +02:00
  • 159063bb47 Convert windows file attributes to unix mode Aviv Palivoda 2019-05-04 12:50:28 +03:00
  • d803acfdc5 Add yield in except test Aviv Palivoda 2019-05-04 12:28:19 +03:00
  • 5270da3934 Add ExceptHandler block Aviv Palivoda 2019-05-04 12:25:17 +03:00
  • 775be3a36a Add stat mode tests Aviv Palivoda 2019-05-04 11:07:56 +03:00
  • b96f4a5758 Add CPython stat.py file Aviv Palivoda 2019-05-04 11:00:36 +03:00
  • 01b245f5df Add stat to DirEntry Aviv Palivoda 2019-05-04 10:59:32 +03:00
  • 5864c6e063 rewrite pybytearray with pybyteinner jgirardet 2019-05-04 01:14:08 +02:00
  • c57fd1b96e Remove closure Aviv Palivoda 2019-05-03 23:52:02 +03:00
  • 88e64adc56 Add complex __pow__ and __rpow__ Jeong YunWon 2019-05-01 05:43:31 +09:00
  • 930c8eef50 Add complex.{__mod__, __rmod__, __divmod__, __rdivmod__} Jeong YunWon 2019-05-01 02:57:23 +09:00
  • 9523baf5ac complex [r]truediv, [r]floordiv Jeong YunWon 2019-05-01 02:35:16 +09:00
  • 7c8880fb4a complex overflow message test Jeong YunWon 2019-05-01 02:27:50 +09:00
  • 2a2d0e4764 Add complex.__rmul__ Jeong YunWon 2019-05-01 02:11:13 +09:00
  • 982bbd69d8 complex.__bool__ uses Zero::is_zero instead of zero() Jeong YunWon 2019-05-01 02:07:50 +09:00
  • 61de5f2efc complex.__eq__ using try_float Jeong YunWon 2019-05-01 02:03:28 +09:00
  • 9a7fadcb6c Refactor PyComplex using try_complex Jeong YunWon 2019-05-01 01:52:42 +09:00
  • 7b438d9be8 impl IntoPyObject for Complex64 Jeong YunWon 2019-05-01 01:51:01 +09:00
  • 9448254914 PyComplex uses extend_class for __new__ and __doc__ Jeong YunWon 2019-05-01 01:11:14 +09:00
  • e578dcfc46 Merge pull request #899 from youknowone/float-complex Windel Bouwman 2019-05-03 17:22:12 +02:00
  • daf70424d2 Merge pull request #847 from jgirardet/kwargs Windel Bouwman 2019-05-03 17:15:09 +02:00
  • d121b422b6 Add browser.load_module Aviv Palivoda 2019-05-03 12:14:47 +03:00
  • 857a7014c2 Enable and extend strings/membership tests Yonatan Goldschmidt 2019-05-03 03:05:27 +03:00
  • 1d6e8d5aa5 Merge pull request #905 from RustPython/mappingproxy Adam 2019-05-03 09:58:37 +01:00
  • 199fce22be Merge pull request #900 from youknowone/int-pow Windel Bouwman 2019-05-03 07:30:16 +02:00
  • 821959b889 Save REPL return value as _ Y. Sapir 2019-05-03 03:09:29 +03:00
  • 29ec26917f Return last expression in compile Mode::Single Y. Sapir 2019-05-03 03:08:42 +03:00
  • d1730a53ad Add basic string multiplication tests Yonatan Goldschmidt 2019-05-03 03:04:19 +03:00
  • f12268f79a Implement str.__rmul__ Yonatan Goldschmidt 2019-05-03 02:59:39 +03:00
  • a118497a4b Preallocate cloned strings with the minimum expected length Yonatan Goldschmidt 2019-05-03 02:55:51 +03:00
  • 18264b2881 Merge pull request #907 from Jongy/str-title-preallocate coolreader18 2019-05-02 18:38:15 -05:00
  • 6f66e8440d Add tests for return type of bool.__or__ etc. Y. Sapir 2019-05-03 01:41:52 +03:00
  • ea347dfdec Implement bool.__or__, __and__ and __xor__ Y. Sapir 2019-05-03 01:04:52 +03:00
  • 26306b528f Simplify PyInt.rxor to reuse PyInt.xor Y. Sapir 2019-05-03 01:38:32 +03:00
  • 620bea7830 Preallocate output string of str.title() with required size Yonatan Goldschmidt 2019-05-03 01:00:49 +03:00
  • 65d602571d Create mappingproxy type with __getitem__ and __contains__. Adam Kelly 2019-05-02 16:42:31 +01:00
  • dd0c70f289 Fix typo in objobject. Adam Kelly 2019-05-02 16:36:35 +01:00
  • b3b523ffa9 Add await syntax. Windel Bouwman 2019-05-02 17:11:51 +02:00
  • 5bc1aa08dc Add async def and async for parsing. Windel Bouwman 2019-05-02 16:55:33 +02:00
  • 0bf7ff96b8 Special handling for base -1, 0, 1 for big exp Jeong YunWon 2019-05-02 22:42:28 +09:00
  • c18615b6e5 Fix __builtins__.pow to perform modpow for 3rd argument Jeong YunWon 2019-05-01 23:34:11 +09:00
  • 8d4562b0bb Fix __builtins__.pow to reflect __rpow__ Jeong YunWon 2019-05-01 22:32:45 +09:00