Commit Graph

  • eb9ca06ee7 Add int.__rpow__ Jeong YunWon 2019-05-01 05:09:11 +09:00
  • 614378d720 Add int.__pow__ negative exp impl Jeong YunWon 2019-05-01 04:56:51 +09:00
  • c138dea992 Remove int.__pow__ float handling Jeong YunWon 2019-05-01 04:03:18 +09:00
  • 8f3b62ba0e Merge pull request #895 from youknowone/pyrange-extend coolreader18 2019-05-01 20:15:58 -05:00
  • 3051702a2d Merge branch 'master' into pyrange-extend coolreader18 2019-05-01 20:15:50 -05:00
  • fc729fd610 Merge pull request #892 from youknowone/float-round coolreader18 2019-05-01 20:07:02 -05:00
  • fa148a4aed Merge branch 'master' into float-round coolreader18 2019-05-01 20:06:52 -05:00
  • 3e7d43e27c Merge pull request #889 from adrian17/iter-class coolreader18 2019-05-01 16:32:46 -05:00
  • c7fd54e809 Convert iterators to pyclass macros Adrian Wielgosik 2019-04-28 13:25:57 +02:00
  • 1247a35be9 Improve handling of lexical errors. Windel Bouwman 2019-05-01 21:05:21 +02:00
  • 1f002e8df3 Merge pull request #887 from youknowone/to_int Windel Bouwman 2019-05-01 19:08:54 +02:00
  • 4a598d03e2 Add float.imag, float.conjugate Jeong YunWon 2019-05-01 03:37:01 +09:00
  • bb878a3402 PyFloat to use extend_class for __new__ and __doc__ Jeong YunWon 2019-05-01 01:25:04 +09:00
  • 08b716f694 Merge pull request #898 from youknowone/builtins-divmod Windel Bouwman 2019-05-01 14:23:38 +02:00
  • eb5cef20ba Merge pull request #897 from youknowone/test-utils Windel Bouwman 2019-05-01 14:11:23 +02:00
  • 7358017671 Merge pull request #902 from lili668668/bytearray_append Windel Bouwman 2019-05-01 14:10:17 +02:00
  • 4ef65d8ac3 Add bytearray.append Tzu-Yin Hong 2019-05-01 15:53:28 +08:00
  • 0d891cba2c Temporary fix to assertRaises and assert_raises prints errors Jeong YunWon 2019-05-01 02:59:43 +09:00
  • b542b39f5e Merge pull request #893 from youknowone/float-overflow coolreader18 2019-04-30 21:36:27 -05:00
  • 14dd85a596 Fix __builtins__.divmod to reflect __rdivmod__ Jeong YunWon 2019-05-01 03:00:54 +09:00
  • 22a35c9b90 extend_class for PyRangeIterator Jeong YunWon 2019-05-01 01:00:25 +09:00
  • 0d505adbb5 use PyBytinner as arg jgirardet 2019-04-30 22:01:45 +02:00
  • 1c814ff2b5 Add float.__rpow__ Jeong YunWon 2019-05-01 04:02:34 +09:00
  • 09710b5222 Add float.__rdivmod__ and div/mod tests Jeong YunWon 2019-05-01 03:15:28 +09:00
  • fd614b7a75 refactor split options Jimmy Girardet 2019-04-30 17:12:36 +02:00
  • cf70323475 add replace Jimmy Girardet 2019-04-21 12:40:21 +02:00
  • b60d7413b9 add zfill Jimmy Girardet 2019-04-21 11:26:12 +02:00
  • 29f674fa1d fix split with empty bytes jgirardet 2019-04-21 01:01:51 +02:00
  • d89ca3c3e4 add spitlines jgirardet 2019-04-21 00:38:27 +02:00
  • 434985d6d0 add partition/reparition refactor split/rsplit jgirardet 2019-04-20 21:04:13 +02:00
  • 0af8ad05eb add expandstab jgirardet 2019-04-20 17:03:12 +02:00
  • cfff7cbd63 add split and rsplit jgirardet 2019-04-19 08:17:16 +02:00
  • 813307f8f9 Refactor PyFloat using try_float() Jeong YunWon 2019-04-30 02:58:50 +09:00
  • a0ad4368c6 Add float.pow OverflowError handling Jeong YunWon 2019-04-30 01:59:38 +09:00
  • a318e4e09e objfloat.rs try_float for common operand handling Jeong YunWon 2019-05-01 01:19:53 +09:00
  • 5d13daef20 remove all try_as_bytes_like Jimmy Girardet 2019-04-30 18:01:40 +02:00
  • 599f1f678f extend_class for PyRange Jeong YunWon 2019-04-30 06:03:41 +09:00
  • ece6601851 add PyByteInner as fn argument / use Either jgirardet 2019-04-30 15:47:41 +02:00
  • 177704f1ea Merge pull request #891 from ntrinquier/add-methods-for-numeric-types Windel Bouwman 2019-04-30 08:16:44 +02:00
  • c951cb3cfd float.__round__ for ndigits == 0 Jeong YunWon 2019-04-30 03:27:06 +09:00
  • 132d34fc67 Add range.__eq__ Jeong YunWon 2019-04-27 00:27:47 +09:00
  • 9c4a0710f3 Merge pull request #880 from youknowone/fix-range-negative coolreader18 2019-04-29 15:09:20 -05:00
  • b7c7591639 Fix float.__trunc__ to handle abnormal values Jeong YunWon 2019-04-30 01:48:03 +09:00
  • 4c8f655d4e float.__round__ inf/nan support Jeong YunWon 2019-04-30 01:37:47 +09:00
  • 490db0a84f Add support for complex type for the to_complex function Nicolas Trinquier 2019-04-29 20:13:01 +02:00
  • 68e15a2bd8 Add basic float.__round__ without ndigits support Jeong YunWon 2019-04-29 14:46:04 +09:00
  • fd91d26444 Merge pull request #890 from palaviv/exc-stack coolreader18 2019-04-29 13:07:00 -05:00
  • 56ef6ec5f8 Change to is_some Aviv Palivoda 2019-04-29 20:08:15 +03:00
  • eebdbfe679 Add int and float methods for the complex type Nicolas Trinquier 2019-04-28 22:57:56 +02:00
  • f8373aa38a Add mul method for the complex type Nicolas Trinquier 2019-04-28 22:57:34 +02:00
  • e3e2e7f905 Merge pull request #869 from skinny121/isinstance_tuple_arg Windel Bouwman 2019-04-29 13:34:40 +02:00
  • 63a71d6b50 Merge pull request #855 from RustPython/nonlocal-errors Adam 2019-04-29 11:30:39 +01:00
  • 4a4631a622 Use match_class instead of Either in isinstance/issubclass ben 2019-04-28 16:58:42 +12:00
  • 81dd5faa81 Accept a tuple for the second argument of isinstance and issubclass ben 2019-04-25 11:13:51 +12:00
  • 2c7f3b5bb1 Merge pull request #888 from youknowone/math-rounding Windel Bouwman 2019-04-29 08:05:15 +02:00
  • 9feeee059e Merge pull request #886 from youknowone/pycomplex coolreader18 2019-04-28 18:44:21 -05:00
  • 388b62aae2 objint::to_int to call __int__ Jeong YunWon 2019-04-28 13:44:06 +09:00
  • 6afe78c9a6 Add math.ceil / math.floor Jeong YunWon 2019-04-28 20:43:25 +09:00
  • c3714c2eca Add math.trunc Jeong YunWon 2019-04-28 19:22:03 +09:00
  • 53dea486d2 Merge pull request #878 from sanxiyn/fix-just Windel Bouwman 2019-04-28 19:13:33 +02:00
  • bea6b48d1f Merge pull request #885 from youknowone/pyfloat Windel Bouwman 2019-04-28 19:08:32 +02:00
  • b72fc3bc9d Add test for #867 Aviv Palivoda 2019-04-28 19:20:16 +03:00
  • af7a89aa99 pop exception on context Aviv Palivoda 2019-04-28 19:06:14 +03:00
  • f1551af0f5 Add tests - not working Aviv Palivoda 2019-04-28 18:52:52 +03:00
  • 20b2f64cef Add float.__rmod__ Jeong YunWon 2019-04-28 20:15:02 +09:00
  • 304cea89b8 objint::get_float_value Jeong YunWon 2019-04-28 20:31:07 +09:00
  • 8047ab3d3e Add float tests Jeong YunWon 2019-04-28 20:03:30 +09:00
  • 4810a55c82 Add float.__trunc__ Jeong YunWon 2019-04-28 12:44:25 +09:00
  • 9dda776e25 Add float.__int__ / float.__float__ Jeong YunWon 2019-04-28 05:24:33 +09:00
  • dc05459459 Add float.__sub__, float.__rsub__ Jeong YunWon 2019-04-28 12:09:49 +09:00
  • a2625916f5 Fix complex.__add__ to support float Jeong YunWon 2019-04-28 12:01:54 +09:00
  • 2eae737f3d complex.__add__ can raises OverflowError Jeong YunWon 2019-04-28 06:52:54 +09:00
  • 15e4e678ca Add complex.__bool__ Jeong YunWon 2019-04-28 06:19:12 +09:00
  • ed79ccc6b1 PyComplex uses PyClassImpl Jeong YunWon 2019-04-28 06:04:21 +09:00
  • 7fb98c91d2 PyFloat uses #[pyclass] #[pyimpl] #[pymethod] Jeong YunWon 2019-04-28 05:05:33 +09:00
  • 88e52ef842 Merge pull request #884 from adrian17/imul Windel Bouwman 2019-04-27 21:08:39 +02:00
  • a2858cee7e Merge pull request #882 from youknowone/add-type-name Windel Bouwman 2019-04-27 21:07:17 +02:00
  • 60afbb4bf5 Don't pop exeption for context Aviv Palivoda 2019-04-27 21:53:08 +03:00
  • d87468a1cb Add type.__name__ Jeong YunWon 2019-04-27 18:48:41 +09:00
  • 9d40a4c9d8 Support list.__imul__ Adrian Wielgosik 2019-04-27 17:44:21 +02:00
  • 180ec22d4b Add constants to os module (#883) Agent 2019-04-27 22:41:19 +08:00
  • 4b9bafc824 Remove in_exc_handler for Raise Aviv Palivoda 2019-04-27 14:33:24 +03:00
  • 462c8233f3 Add exceptions stack to VirtualMachine Aviv Palivoda 2019-04-27 13:49:54 +03:00
  • a7091ca88d Add range.__eq__ Jeong YunWon 2019-04-27 00:27:47 +09:00
  • 16353f4f54 range negative side bound error Jeong YunWon 2019-04-27 00:06:07 +09:00
  • 16152a1d32 Fix range() to support negative index Jeong YunWon 2019-04-26 23:49:51 +09:00
  • 0e9acdc12b Fix justification Seo Sanghyeon 2019-04-26 15:33:37 +09:00
  • 6e867edb6d Fix json.loads (#876) Agent 2019-04-26 12:17:16 +08:00
  • 13a8bc1c11 Merge pull request #875 from sanxiyn/test-json-dict coolreader18 2019-04-25 20:41:30 -05:00
  • 1088f7061c Merge pull request #874 from RustPython/coolreader18/os-android coolreader18 2019-04-25 17:59:24 -05:00
  • e4698987bb Add a cfg for os.stat for android coolreader18 2019-04-25 15:14:43 -05:00
  • e6f08cf93e Enable dict round trip test for json Seo Sanghyeon 2019-04-26 06:29:01 +09:00
  • 950344990a Merge pull request #872 from ypyf/master Windel Bouwman 2019-04-25 20:37:45 +02:00
  • 3145d2a8fd Merge pull request #870 from RustPython/dict_fromkeys Windel Bouwman 2019-04-25 20:35:57 +02:00
  • b30b446fe2 Merge pull request #871 from sanxiyn/strip-arg coolreader18 2019-04-25 09:17:13 -05:00
  • d48b59fd74 Fix os_stat for MacOS Yan Feng 2019-04-25 20:13:04 +08:00
  • f38f263d93 Implement stripping with arguments Seo Sanghyeon 2019-04-25 18:29:25 +09:00
  • d3f4c8f6e1 Use unwrap_or_else for OptionalArg in dictionary. Adam Kelly 2019-04-25 08:36:38 +01:00
  • 4f0b17e84f Add dict.fromkeys. Adam Kelly 2019-04-25 08:30:32 +01:00
  • 1a48fb17df Add PyContext.new_classmethod Adam Kelly 2019-04-25 08:29:41 +01:00