Commit Graph
6158 Commits
Author SHA1 Message Date
Ben Lewis ae8d64fdd0 Fix several struct module tests. 2020-08-08 10:49:46 +12:00
Ben Lewis 7129e76d62 Implement iter_unpack 2020-08-08 08:50:40 +12:00
Ben Lewis dc994e3c6f Accept array as byte like/buffer. 2020-08-08 08:50:40 +12:00
Ben Lewis 1fbeb80899 Implement pack_into/unpack_from in the struct module. 2020-08-08 08:50:40 +12:00
Jeong YunWon 2174967545 Merge pull request #2074 from youknowone/pyvalue-from
Use From::from for PyValues instead of new
2020-08-07 01:15:20 +09:00
Jeong YunWon 6edc82c192 new_bigint for &BigInt 2020-08-06 20:19:13 +09:00
Jeong YunWon 3f6ebd3385 Use From::from for PyValues instead of new 2020-08-06 20:18:56 +09:00
Jeong YunWon 63aced16ef Merge pull request #2036 from youknowone/dictkey-hash
DictKey for str shares same hash with PyString
2020-08-06 17:47:27 +09:00
Jeong YunWon bc8a0b9f6e DictKey for str shares same hash with PyString 2020-08-06 17:11:47 +09:00
Noah b31a6b7824 Merge pull request #2073 from youknowone/never-infallible
Reuse std::convert::Infallible as Never
2020-08-05 12:56:12 -05:00
Jeong YunWon 310989a4d1 Reuse std::convert::Infallible as Never 2020-08-06 01:51:13 +09:00
Jeong YunWon faae6ad045 Merge pull request #2072 from youknowone/format-parse-error
impl IntoPyException for FormatParseError
2020-08-05 23:59:47 +09:00
Jeong YunWon 9f8e2af123 impl IntoPyException for FormatParseError 2020-08-05 23:15:35 +09:00
Jeong YunWon 7d3b72257a Merge pull request #2055 from youknowone/into-pyexception
IntoPyException
2020-08-05 17:11:40 +09:00
Jeong YunWon ee90f7cfbd IntoPyException 2020-08-05 16:45:06 +09:00
Jeong YunWon 7489f13646 Merge pull request #2071 from youknowone/fix-broken
Fix broken build
2020-08-05 16:24:46 +09:00
Jeong YunWon 276180e4c3 Fix broken build 2020-08-05 15:45:17 +09:00
Noah c1941d6ec2 Merge pull request #2070 from RustPython/coolreader18/fix-wasi
Fix os module on wasi
2020-08-05 01:37:26 -05:00
Jeong YunWon 556f7d01b1 Merge pull request #2064 from youknowone/buffered-io
BufferedIO OptionalSize, truncate and readline
2020-08-05 15:32:19 +09:00
Jeong YunWon b135d4f4df Merge pull request #2069 from youknowone/into-pyresult
Separate IntoPyObject and IntoPyResult
2020-08-05 15:31:55 +09:00
Jeong YunWon d9ad79e970 Merge pull request #2067 from RustPython/coolreader18/refactor-rustpythonpath-pylib
Use pylib as a dependency of the rustpython binary in order to get a Lib path
2020-08-05 15:31:07 +09:00
Jeong YunWon ea25947b53 Remove impl IntoPyObject for &PyObjectRef and &PyRef
they doesn't give any benefit but just hide clone
2020-08-05 14:17:01 +09:00
Noah 477c968455 Call the _os module posix on minor platforms 2020-08-04 22:19:43 -05:00
Noah a995f973ea Fix os module on wasi 2020-08-04 14:07:58 -05:00
Jeong YunWon 61455ce261 Separate IntoPyObject and IntoPyResult 2020-08-04 22:59:34 +09:00
Jeong YunWon 9646bca3cc Remove byte_count 2020-08-04 21:10:37 +09:00
Jeong YunWon eabbd917a7 Remove loop from BufferedIO.readline 2020-08-04 20:28:19 +09:00
Jeong YunWon 78c6b0b24b BufferedIO OptionalSize & truncate 2020-08-04 20:28:19 +09:00
Noah c5807bc073 Add a description+other metadata to rustpython-pylib 2020-08-03 22:41:59 -05:00
Noah 3ad2f17a8b Add the license for rustpython-pylib as the psf license 2020-08-03 22:41:37 -05:00
Noah 6ec2374633 Don't include test files or pyc into rustpython-pylib 2020-08-03 22:24:57 -05:00
Noah f56e83a6d3 Make sure Lib gets included to rustpython-pylib 2020-08-03 13:20:06 -05:00
Noah 0876c19c04 Unskip test_json.test_tool 2020-08-03 13:20:06 -05:00
Noah dd8e9a6508 Use pylib as a dependency of the rustpython binary in order to get a Lib path 2020-08-03 13:20:06 -05:00
Noah d7bc12114d Get rid of proc-macro-hacky stuff for py_compile_bytecode 2020-08-03 13:20:04 -05:00
Jeong YunWon 1249fab930 Merge pull request #2035 from youknowone/dictkey
Refactor DictKey
2020-08-04 02:45:05 +09:00
Jeong YunWon d33579f8e1 Merge pull request #2063 from RustPython/coolreader18/sys-tests
Add test/test_sys.py
2020-08-04 02:16:00 +09:00
Jeong YunWon 67b5d61d1f Refactor DictKey 2020-08-04 02:12:56 +09:00
Jeong YunWon 7eaf57bed0 cloned() -> copied() 2020-08-04 02:08:01 +09:00
Noah a52e19bc21 Fix wasm 2020-08-03 10:33:12 -05:00
Noah 83e2a2d25f Add _osx_support.py from CPython 3.8.2 2020-08-03 10:31:35 -05:00
Jeong YunWon 4a4a7baeb6 Merge pull request #2061 from tobark/symlink
Add target_is_directory parameter for symlink function
2020-08-03 18:27:02 +09:00
Yi Hyunjoon 3d0453d47d Allow dead TargetIsDirectory temporary 2020-08-03 17:35:56 +09:00
Noah a822ef6275 Mark unsupported tests for test_sys.py, remove redundant test_sys_executable 2020-08-02 21:00:04 -05:00
Noah 4bd1153b24 Add/fix a bunch of sysmodule attributes 2020-08-02 20:59:36 -05:00
Noah e1656149aa Add test/test_sys.py from CPython 3.8.2 2020-08-02 20:57:56 -05:00
Noah 7a77dbc512 Merge pull request #2062 from youknowone/buffered-io
BufferedIO.read avoid clone
2020-08-02 12:51:51 -05:00
Noah ba8c0d9a82 Use sys.excepthook when exceptions bubble to the top level 2020-08-02 12:23:12 -05:00
Jeong YunWon 7bbc729477 BufferedIO.read avoid clone 2020-08-03 02:02:31 +09:00
Noah 3d5ea1b38d Merge pull request #2060 from skinny121/zlib_decompress
Fix zlib decompression
2020-08-02 09:48:47 -05:00