Jeong Yunwon
|
e356d51af1
|
move ToPy* to convert
|
2022-04-18 07:17:24 +09:00 |
|
Jeong Yunwon
|
f6d70c8176
|
Into{PyObject,PyException,Pyresult} -> To{..}
The naming convention was wrong
|
2022-04-18 06:04:47 +09:00 |
|
Jeong YunWon
|
a42d547a3f
|
new_{utf8_str, ascii_literal} -> new_str again
|
2021-10-11 21:28:14 +09:00 |
|
Jeong YunWon
|
92de3619fa
|
move IntoPy{Object, Exception, Result} to vm::function
which are used to define function arguments - those functions are mostly placed in the crate
|
2021-10-06 19:10:16 +09:00 |
|
Jeong YunWon
|
44f7bc468a
|
vm::utils::ascii! -> common::ascii!
|
2021-09-28 15:47:54 +09:00 |
|
Jeong YunWon
|
225e7427a7
|
Merge pull request #3092 from youknowone/str-safe
Fix PyStr operations to be safe
|
2021-09-23 00:26:28 +09:00 |
|
Jeong YunWon
|
137a543ca7
|
regroup use items for bulitin stdlibs
|
2021-09-22 12:08:17 +09:00 |
|
Jeong YunWon
|
795738d32b
|
ascii! macro
|
2021-09-21 18:14:42 +09:00 |
|
Jeong YunWon
|
7395959f5f
|
Fix PyStr operations to be safe
|
2021-09-21 00:32:26 +09:00 |
|
Jeong YunWon
|
48dc5c96b6
|
PyStrKind
|
2021-09-16 03:35:44 +09:00 |
|
Noah
|
516eead348
|
Replace PyStr.borrow_value() with .as_str()
|
2021-05-20 10:29:48 -05:00 |
|
Noah
|
99104faaf7
|
Re-export pyobject::* from the root of the crate
|
2021-05-20 10:24:07 -05:00 |
|
Jeong YunWon
|
9e6dfca9e9
|
Fix build with new builtins path
|
2020-10-11 21:16:16 +09:00 |
|
Jeong YunWon
|
f81ad04ce3
|
PyString -> PyStr
|
2020-09-26 00:20:02 +09:00 |
|
Jeong YunWon
|
7b6ab8da72
|
Replace vm.new_{int,str,bool} with vm.new_pyobj
|
2020-08-10 02:16:29 +09:00 |
|
Jeong YunWon
|
ab37e455f3
|
BorrowValue for PyString
|
2020-08-09 14:14:55 +09:00 |
|
Jeong YunWon
|
9f8e2af123
|
impl IntoPyException for FormatParseError
|
2020-08-05 23:15:35 +09:00 |
|
Jeong YunWon
|
61455ce261
|
Separate IntoPyObject and IntoPyResult
|
2020-08-04 22:59:34 +09:00 |
|
Ben Lewis
|
e9a2944138
|
Fix clippy warnings
|
2020-08-02 07:22:05 +12:00 |
|
Ben Lewis
|
e90e2bfc6e
|
Implement string module.
|
2020-08-02 07:22:05 +12:00 |
|
Jeong YunWon
|
6c0f852b62
|
Refactor pymethod return types to be smaller as possible
|
2019-10-11 03:27:23 +09:00 |
|
Windel Bouwman
|
d16c288ef1
|
Improve re module. Favor string.py over string.rs
|
2019-07-10 11:19:01 +02:00 |
|
Adam Kelly
|
9ed051e3b7
|
Module Initialisation takes VirtualMachine rather than PyContext.
|
2019-04-05 09:50:31 +01:00 |
|
Adam Kelly
|
0ff5155af9
|
Rename mk_module to make_module.
|
2019-03-10 17:10:51 +00:00 |
|
Windel Bouwman
|
c33abe91e9
|
Use py_module macro at more places.
|
2019-02-26 19:53:58 +01:00 |
|
Joey
|
df76ffe116
|
Replace most relative imports with 2018-style crate
|
2019-02-20 08:50:53 -08:00 |
|
coolreader18
|
5ecff1b37e
|
Remove unnecessary to_string conversions
|
2019-01-27 21:45:21 -06:00 |
|
Riccardo Magliocchetti
|
e4ca1655e9
|
Implement most string module constants
whitespace and thus printable are excluded because i haven't found
a way to make tests pass.
|
2018-12-27 23:48:11 +01:00 |
|