Commit Graph
13222 Commits
Author SHA1 Message Date
DimitrisJim 7366a41b1c Update subprocess from CPython 3.11 2023-05-19 19:54:59 +03:00
DimitrisJim 2b43d4817c Add additional arguments to fork_exec. 2023-05-19 19:54:38 +03:00
jinnarajin 050f0bd0ad weakref.__reversed__ fixed (#4780) 2023-05-19 23:43:07 +09:00
Jim Fasarakis-Hilliard 7c56313d2b Update DEVELOPMENT.md (#4980)
add a note on the fact we're using cspell, we can then allow it during ci ref: https://github.com/RustPython/RustPython/pull/4700
2023-05-19 23:27:36 +09:00
Jeong, YunWon ff7055749c Update parser to specialize ConversionFlag (#4976) 2023-05-17 10:47:56 +09:00
Luca Sforza a1d9c649f6 Implemented __reduce__ method for types.SimpleNamespace (#4975) 2023-05-17 10:47:43 +09:00
Jim Fasarakis-Hilliard 1aeaf4afef Merge pull request #4912 from youknowone/issue-templates
Add more issue templates
2023-05-15 21:09:17 +03:00
Jeong, YunWon 5d3e12fca4 Reduce parser size and Avoid copying elements when parsing (#4974)
https://github.com/RustPython/Parser/pull/35
2023-05-16 01:35:50 +09:00
Luca Sforza 3ae6ce5216 Implemented __reduce__ method for the ImportError exception (#4973) 2023-05-15 20:51:20 +09:00
Jeong, YunWon f5fc30ae63 Move range to each Node (#4969) 2023-05-15 17:00:23 +09:00
Micha Reiser 7a6000d181 Use format and cformat from rustpython-literal (#4968)
* Use `format` and `cformat` from `rustpython-literal`

* Remove unused dependencies, use `rustpython-format`
2023-05-13 02:58:02 +09:00
Jeong, YunWon 15fdf1ee5b Merge pull request #4967 from youknowone/fix-bytearray
Fix repr(bytearray) in debug
2023-05-12 20:49:50 +09:00
Jeong YunWon 4c2ab63185 Fix repr(bytearray) in debug 2023-05-12 06:52:11 +09:00
Jeong, YunWon 0a10e6cbea Merge pull request #4963 from matthew-hagemann/fix/silent-if-error-in-trace()
Set trace_func / profile_func to none on error
2023-05-12 05:51:50 +09:00
Matthew Hagemann 935e35bb40 Updating test to expect passing 2023-05-11 20:58:03 +02:00
Jeong, YunWon 698134caab Merge pull request #4965 from youknowone/wasmuuid
Allow uuid on wasm32 and wasi
2023-05-12 02:11:05 +09:00
Jeong YunWon f12875027c Allow uuid on wasm32 and wasi 2023-05-12 01:42:20 +09:00
Jeong, YunWon 833371918d Merge pull request #4959 from bjoroen/report_overflow_error
Report overflow error
2023-05-11 17:13:34 +09:00
Matthew Hagemann a5f08d77a7 Set trace_func / profile_func to none on error 2023-05-10 23:00:22 +02:00
Jeong, YunWon f3e4d34092 Merge pull request #4962 from youknowone/fix-ast
Revert a few .as_str() calls by adding it to ast
2023-05-11 05:16:20 +09:00
Jeong YunWon a43a8c546e Revert a few .as_str() calls by adding it to ast 2023-05-11 04:43:57 +09:00
Jeong, YunWon b85e134477 Merge pull request #4961 from youknowone/byte-offset
location to byte offset (TextSize)
2023-05-10 21:26:28 +09:00
Jeong YunWon 4064c84cb4 ast::Identifier and ast::Int 2023-05-10 20:31:35 +09:00
Jeong YunWon dc569e9921 Refactoring 2023-05-10 19:35:27 +09:00
Jeong YunWon 5337dedadf CI using exclude 2023-05-10 15:35:00 +09:00
Jeong YunWon f1b261b4f8 Adapt byte-offset location 2023-05-10 04:13:30 +09:00
Jeong YunWon a5ed4070bf remove lalrpop deps from cron-ci.yaml 2023-05-10 04:13:30 +09:00
Eirik Bjoroen fa30d33c9b Added both errors, and used value error for year, month, day and overflow for hour, min and sec - test now passes 2023-05-08 20:52:23 +02:00
Eirik Bjoroen 3d9fb36cde Changed what error message is shown 2023-05-07 18:46:48 +02:00
Eirik Bjoroen 6603c46b41 Changed what type of error gets reported 2023-05-07 18:36:06 +02:00
Jeong YunWon c7025f70d5 Remove PySymbol*Ref types 2023-05-08 01:11:13 +09:00
Jeong, YunWon d03c7267d6 Merge pull request #4958 from RustPython/refactor-ast
Refactor ast to hold data as seperated type
2023-05-07 20:08:25 +09:00
Jeong YunWon 0af106c85c Refactor ast to hold data as seperated type 2023-05-07 19:31:31 +09:00
Jeong, YunWon da15bb282e Merge pull request #4957 from youknowone/Located-start
more location -> start()
2023-05-06 20:30:51 +09:00
Jeong YunWon ff808ad313 more location -> start() 2023-05-06 19:59:03 +09:00
Jeong, YunWon 0897385a30 Merge pull request #4956 from youknowone/remove-core-compiler-error
Remove compiler_core::CompileError
2023-05-06 19:14:57 +09:00
Jeong YunWon bac1cdc55f Remove compiler_core::CompileError 2023-05-06 18:22:25 +09:00
Jeong, YunWon 91b9ed17c2 Merge pull request #4954 from youknowone/parser-repository
Split parser to new repository
2023-05-06 15:12:30 +09:00
Jeong YunWon f2cfa5f0a7 Split parser to new repository
https://github.com/RustPython/Parser/commit/6b60f85cc4ca248af9b787697c41be2adb7a3ec8
2023-05-06 14:38:11 +09:00
Jeong, YunWon 306943a9f5 Merge pull request #4953 from youknowone/rustpython-literal
Remove rustpython-common dependency from parser
2023-05-05 23:06:07 +09:00
Jeong YunWon ff5076b12c rustpython-literal 2023-05-05 21:49:12 +09:00
Jeong, YunWon cea23d2b07 Merge pull request #4951 from youknowone/repr-quote
Port configurable repr quote from Ruff and refactoring
2023-05-05 20:45:40 +09:00
Jeong, YunWon 1dd5e84c9a Merge pull request #4873 from youknowone/method
Method overhaul with static PyMethodDef
2023-05-05 18:53:01 +09:00
Jeong YunWon cfbdf7f924 Refactor common::bytes::repr using common::escape 2023-05-03 16:08:48 +09:00
Jeong YunWon 2080cc2067 Refactor common::str::repr using common::escape 2023-05-03 13:47:04 +09:00
Jeong YunWon 9cc8f2dfa9 repr as single quote default 2023-05-01 03:30:34 +09:00
Jeong YunWonandCharlie Marsh 2315ce956e String repr quote option from Ruff project
Co-Authored-By: Charlie Marsh <charlie.r.marsh@gmail.com>
2023-05-01 03:08:13 +09:00
Jeong YunWon e73603945d Rename PyTypeFlags::METHOD_{DESCR => DESCRIPTOR} 2023-04-30 17:45:05 +09:00
Jeong YunWon 98eef0804e Method overhaul with PyMethodDef 2023-04-30 17:33:23 +09:00
Christopher Gambrell fa79055821 Format d bool support (#4948) 2023-04-30 16:29:04 +09:00