Commit Graph

  • e592f3d888 Add py_compile_bytecode! macro coolreader18 2019-06-14 10:42:45 -05:00
  • 60e799727f Support reversed on sequence Aviv Palivoda 2019-06-14 15:25:24 +03:00
  • e61fa6dd74 Use Iterator to create from_list Aviv Palivoda 2019-06-14 08:49:20 +03:00
  • 4938c03d6f Improve compiler import Aviv Palivoda 2019-06-14 08:45:30 +03:00
  • 12a3028806 Import all from_list in one __import__ call Aviv Palivoda 2019-06-13 20:41:37 +03:00
  • 8b894a11fb Merge pull request #1029 from RustPython/coolreader18/rustpython_compiler coolreader18 2019-06-13 15:48:11 -04:00
  • bfd6145d5f Use RUSTPYTHONPATH in ouroboros instructions coolreader18 2019-06-13 12:34:30 -05:00
  • c2502bf8ef Add doc comments and individual compile functions coolreader18 2019-06-12 22:04:59 -05:00
  • 45bb2bd263 Split off bytecode compilation into a separate crate coolreader18 2019-06-12 21:43:43 -05:00
  • 3f343aff6c Merge pull request #1018 from palaviv/imp3 Windel Bouwman 2019-06-12 16:21:26 +02:00
  • 02821324b7 Merge pull request #1028 from RustPython/coolreader18/update-deps1 coolreader18 2019-06-11 18:07:09 -05:00
  • cb2fe657a9 Merge pull request #1014 from mkurnikov/cleanup-get-method-error-handling coolreader18 2019-06-11 17:43:58 -05:00
  • 07c6a90045 Update cargo dependencies coolreader18 2019-06-11 16:00:35 -05:00
  • 1de9f73bd0 Optimize already loaded modules Aviv Palivoda 2019-06-11 22:54:54 +03:00
  • 50662c488a Merge pull request #968 from RustPython/walrus Windel Bouwman 2019-06-11 15:06:04 +02:00
  • ea8e28026b Simplify objmodule Aviv Palivoda 2019-06-11 13:10:29 +03:00
  • 0e320f9af6 Change comment to XXX Aviv Palivoda 2019-06-10 21:50:37 +03:00
  • 603ef1ad05 Support from_list Aviv Palivoda 2019-06-10 21:45:05 +03:00
  • e1472f2277 Add sys.dont_write_bytecode Aviv Palivoda 2019-06-10 19:09:09 +03:00
  • 03735a6d26 Add optional parameters to compile Aviv Palivoda 2019-06-10 19:07:27 +03:00
  • 8dec522f96 compile source may be bytes Aviv Palivoda 2019-06-09 23:17:57 +03:00
  • 10828e01fb Set sys.pycache_prefix to None Aviv Palivoda 2019-06-09 23:06:09 +03:00
  • b567464378 Add ModuleNotFoundError to builtins Aviv Palivoda 2019-06-09 22:59:53 +03:00
  • 5df05d4f95 Add script dir to sys.path Aviv Palivoda 2019-06-09 22:59:24 +03:00
  • d9d0ea1834 Fix os to _os in class Aviv Palivoda 2019-06-09 22:15:00 +03:00
  • 5584733cda Add sys.path_importer_cache Aviv Palivoda 2019-06-09 10:56:52 +03:00
  • c8248c3211 Expose __name__ in __dict__ Aviv Palivoda 2019-06-09 10:49:23 +03:00
  • 375790e142 objmodule should have a dict Aviv Palivoda 2019-06-08 11:05:45 +03:00
  • fe0284aa05 Add new to objmodule and change __name__ to property Aviv Palivoda 2019-06-08 10:49:02 +03:00
  • 6615e811c0 Collapse concat Aviv Palivoda 2019-06-08 09:58:50 +03:00
  • 5c53e58547 Print frozen import file name in stacktrace Aviv Palivoda 2019-06-07 21:58:43 +03:00
  • 0e76dbb749 Add needed methods to _thread Aviv Palivoda 2019-06-07 21:28:19 +03:00
  • 2817214c88 Remove unused imports Aviv Palivoda 2019-06-07 20:20:12 +03:00
  • 7f61125866 Use _bootstrap.py __import__ Aviv Palivoda 2019-06-07 20:00:34 +03:00
  • 58d9d9deeb Add sys.path_hooks Aviv Palivoda 2019-06-07 19:32:58 +03:00
  • b0cccf35ad Change os_details Aviv Palivoda 2019-06-07 19:32:02 +03:00
  • a57f38b07f Rename builtin io to _io Aviv Palivoda 2019-06-07 19:26:59 +03:00
  • fbaff7fd50 Install external importers on init_importlib Aviv Palivoda 2019-06-07 19:16:12 +03:00
  • 37b40c55da Add frozen _bootstrap_external.py Aviv Palivoda 2019-06-07 19:15:16 +03:00
  • 0d9a066712 Add sys.meta_path Aviv Palivoda 2019-06-07 19:03:27 +03:00
  • f2145880fa Don't set __file__ for frozen modules Aviv Palivoda 2019-06-07 11:09:31 +03:00
  • f1af6b1f40 Include _bootstrap.py as str Aviv Palivoda 2019-06-07 10:28:20 +03:00
  • 698044b128 Add Module.__name__ Aviv Palivoda 2019-06-05 22:41:48 +03:00
  • e88d6ac1ef Add init_importlib Aviv Palivoda 2019-06-05 22:35:30 +03:00
  • 7ff59b27d7 Add _bootsrap.py as frozen module Aviv Palivoda 2019-06-01 17:33:27 +03:00
  • 740e8387b8 Merge pull request #1027 from alanjds/format-bang coolreader18 2019-06-10 10:56:00 -05:00
  • 33885a8334 Namespace added for objstr: get_value, PyStringRef rmliddle 2019-06-10 22:48:28 +10:00
  • 854bacf452 Fix the Rust tests Alan Justino 2019-06-09 18:45:08 -03:00
  • f0a2b4c50b Apply the {!r} on str.format calls Alan Justino 2019-06-09 18:11:10 -03:00
  • e19b674abf FormatSpec got a preconversor:FormatPreconversor to handle !r, !s and !a Alan Justino 2019-06-09 16:22:22 -03:00
  • 68011df6cb Merge pull request #1024 from yanganto/str_isprintable coolreader18 2019-06-09 13:07:47 -05:00
  • 65d0093822 Dont fail on '{!r}'.format(...) Alan Justino 2019-06-09 13:45:37 -03:00
  • f76be43d26 str.isprintable Antonio Yang 2019-06-09 11:12:31 +08:00
  • 6542d3586e Optional args on new for Bytes/StringIO rmliddle 2019-06-10 00:57:17 +10:00
  • 6767b4efb1 BytesIO First Pass rmliddle 2019-06-09 21:33:16 +10:00
  • aa6b155e1e Merge branch 'master' of https://github.com/RustPython/RustPython into walrus Windel Bouwman 2019-06-09 11:49:02 +02:00
  • 1b968e9406 Merge pull request #1022 from RustPython/coolreader18/demo-repl-continuation Windel Bouwman 2019-06-09 11:16:35 +02:00
  • d45c632f49 Add incompatibility issue template coolreader18 2019-06-08 18:59:02 -05:00
  • b0db7c1096 Add RFC issue template coolreader18 2019-06-08 18:28:18 -05:00
  • cd61248635 Merge branch 'master' into coolreader18/demo-repl-continuation coolreader18 2019-06-08 13:17:05 -05:00
  • 9d9fcfc034 Removal of walrus operator. Windel Bouwman 2019-06-08 16:38:15 +02:00
  • 9592e94920 Isolate determination of indentation into seperate method. Windel Bouwman 2019-06-08 16:23:51 +02:00
  • eb234ca3c5 Merge pull request #1021 from mkurnikov/speed-up-file-open Windel Bouwman 2019-06-08 16:13:42 +02:00
  • a1e2da6807 Merge pull request #1020 from RustPython/coolreader18/no-pwd-android Windel Bouwman 2019-06-08 16:12:23 +02:00
  • baf62d56d2 get io reader/writer classes only when needed Maxim Kurnikov 2019-06-08 02:42:06 +03:00
  • 2b555cb40e Merge pull request #1016 from mkurnikov/fix-io-open-r coolreader18 2019-06-07 12:07:47 -05:00
  • 50252b4e80 Disable the pwd module on android coolreader18 2019-06-07 11:50:15 -05:00
  • d27840c11d Merge pull request #1019 from palaviv/warnings coolreader18 2019-06-07 11:45:48 -05:00
  • 8fccad1e09 Print warning to stderr Aviv Palivoda 2019-06-07 18:59:41 +03:00
  • c0e1702869 split mode/type for io.open properly, fix open('r') case Maxim Kurnikov 2019-06-07 16:34:16 +03:00
  • 8a5182a8a1 make get_method_or_type_error() error message lazy Maxim Kurnikov 2019-06-07 16:08:37 +03:00
  • d2a82b1acd Add _warnings Aviv Palivoda 2019-06-07 15:14:27 +03:00
  • 1b7088c353 Merge pull request #1017 from michelhe/memoryview_obj Windel Bouwman 2019-06-05 13:22:49 +02:00
  • 74d52ee82f Merge pull request #1011 from palaviv/_imp2 coolreader18 2019-06-05 00:43:10 -05:00
  • b2cdeab0c6 Fix memoryview.obj misimplementation. Michel Heily 2019-06-05 01:43:32 +03:00
  • 0c9d3c8918 Merge pull request #1015 from mkurnikov/empty-exception-message Windel Bouwman 2019-06-04 15:52:47 +02:00
  • bc33921fdb make empty exception message format compatible with CPython Maxim Kurnikov 2019-06-04 14:56:44 +03:00
  • 3bfd66bb89 make some exception messages more compatible with CPython, split get_method() into two methods and make raising TypeError more explicit for get_method() errors Maxim Kurnikov 2019-06-03 19:46:32 +03:00
  • 1b9c054d03 make new exception logs a bit more descriptive Maxim Kurnikov 2019-06-03 17:27:58 +03:00
  • e871ab0673 Merge pull request #1013 from mkurnikov/source-line-in-traceback coolreader18 2019-06-02 23:05:59 -05:00
  • 7ddfa1c4ce Merge pull request #1012 from mkurnikov/more-refactorings-2 coolreader18 2019-06-02 22:58:11 -05:00
  • 58b1f4a8ee add indented source line in traceback Maxim Kurnikov 2019-06-02 18:21:52 +03:00
  • 3b5cc1ad2f more doc comments, split with_exit() method for context manager __exit__ into two methods Maxim Kurnikov 2019-06-02 01:12:05 +03:00
  • 106f5f7054 Add _imp.is_frozen_package Aviv Palivoda 2019-06-01 15:14:17 +03:00
  • 0acce07631 Add _imp.init_frozen Aviv Palivoda 2019-06-01 15:11:55 +03:00
  • 4faaf2d6ca Add _imp.get_frozen_object Aviv Palivoda 2019-06-01 15:03:45 +03:00
  • 9a168b10d1 Add _imp.exec_builtin that does nothing Aviv Palivoda 2019-06-01 14:49:12 +03:00
  • 1294b56cbe Add _imp.create_builtin Aviv Palivoda 2019-06-01 14:32:23 +03:00
  • b6edd19331 Merge pull request #1010 from mkurnikov/fix-clippy-warnings coolreader18 2019-05-31 20:19:49 -05:00
  • bc35a64e54 fix most of clippy warnings Maxim Kurnikov 2019-06-01 03:19:22 +03:00
  • e0dbfb553f Merge pull request #1009 from mkurnikov/refactorings Windel Bouwman 2019-05-31 22:25:52 +02:00
  • 1949239592 cleanups, type fixes and renames Maxim Kurnikov 2019-05-31 21:56:10 +03:00
  • 849c6eb1ee Merge pull request #995 from stwen77/binascii Windel Bouwman 2019-05-31 09:30:19 +02:00
  • 8a9e6ef0de Merge pull request #1008 from RustPython/coolreader18/cpython-libs1 Windel Bouwman 2019-05-31 09:27:16 +02:00
  • e9f3f4b89a Merge branch 'master' into binascii stwen77 2019-05-31 14:22:42 +08:00
  • e452d5523e use crate crc to replace crc table Shitong Wen 2019-05-31 14:16:31 +08:00
  • 39c63ef139 Update Lib/operator.py and add Lib/heapq.py from cpython coolreader18 2019-05-30 23:03:58 -05:00
  • 9e88b808dd Add _imp.is_frozen Aviv Palivoda 2019-05-30 18:50:46 +03:00
  • 15f94679c4 Merge pull request #988 from skinny121/sys_flags Windel Bouwman 2019-05-30 12:24:04 +02:00
  • d2757a2680 Fix merge issue with PyTuple::fast_getitem ben 2019-05-30 21:22:30 +12:00