sobolevn
|
a725e2b8cf
|
Adds alternative extend_exception! macro
|
2021-08-20 00:02:53 +03:00 |
|
sobolevn
|
81654d4cff
|
More exception types
|
2021-08-19 23:32:47 +03:00 |
|
sobolevn
|
155da36b73
|
More progress, adds more exception types and more tests
|
2021-08-19 15:30:17 +03:00 |
|
sobolevn
|
b5c03c6804
|
Adds pyexception macro
|
2021-08-19 10:40:15 +03:00 |
|
sobolevn
|
0ab0c0b50e
|
Typo
|
2021-08-18 22:20:36 +03:00 |
|
sobolevn
|
fc4a948ea9
|
WIP: adds better exception macro, refs #2771
|
2021-08-18 22:20:36 +03:00 |
|
sobolevn
|
cf6195934a
|
Cleans up pyproperty definitions
|
2021-08-12 19:03:25 +03:00 |
|
Jeong YunWon
|
4e60bcd741
|
clean up #[pymethod(magic)]
|
2021-08-12 06:44:52 +09:00 |
|
Jeong YunWon
|
a611ba2e45
|
handle cause and context with same code block
|
2021-08-10 04:20:51 +09:00 |
|
sobolevn
|
83914a9f54
|
Fixes infinite recursion on raise e from e, refs #2779
|
2021-08-09 20:58:36 +03:00 |
|
sobolevn
|
e939346850
|
Adds class field to PyGetSet to fix __qualname__ and (in future) repr, refs #2790
|
2021-08-08 18:53:57 +03:00 |
|
Nikita Sobolev
|
73ae7a6116
|
Adds __qualname__ to PyBuiltinMethod
|
2021-08-01 09:16:27 +09:00 |
|
Jeong YunWon
|
ff4efd0f60
|
Fix unnessessary borrow
|
2021-07-30 02:32:16 +09:00 |
|
Noah
|
68922a91a4
|
Overhaul CString handling
|
2021-06-10 20:53:27 -05:00 |
|
Noah
|
3d9812e748
|
Remove remaining borrow_value() uses
|
2021-05-20 10:30:42 -05:00 |
|
Noah
|
46e94b5720
|
Replace PyTuple.borrow_value() with .as_slice()
|
2021-05-20 10:29:49 -05:00 |
|
Noah
|
99104faaf7
|
Re-export pyobject::* from the root of the crate
|
2021-05-20 10:24:07 -05:00 |
|
Noah
|
b2470bba85
|
More socket stuff
|
2021-05-03 12:26:54 -05:00 |
|
Noah
|
f608626f27
|
Fix tests in test_ntpath/add functions to the nt module
|
2021-04-27 21:04:59 -05:00 |
|
Noah
|
2e33b227b3
|
Impl py_io::Write for String
|
2021-04-25 18:03:28 -05:00 |
|
Noah
|
e6d9af43ca
|
Miscellaneous fixes for aiohttp
|
2021-02-20 21:04:29 -06:00 |
|
Noah
|
0ab451c519
|
Rework the vm exception stack to handle errors better
|
2021-02-15 17:44:48 -06:00 |
|
Noah
|
2e831f5daa
|
Store OSError errno in the args tuple
|
2021-02-07 19:39:36 -06:00 |
|
Noah
|
5a56dd1a77
|
repr() functions with their names
|
2020-12-17 16:29:44 -06:00 |
|
Noah
|
a4aef93327
|
Make all builtin functions have names
|
2020-12-17 16:29:43 -06:00 |
|
Noah
|
374a956d03
|
Misc changes; exception chaining, PyBytesLike::into_buffer
|
2020-11-06 11:11:07 -06:00 |
|
Jeong YunWon
|
ecf1120bee
|
Clean up static-type affected apis
|
2020-10-20 02:29:28 +09:00 |
|
Jeong YunWon
|
4add0220ae
|
PyValue::class() returns ref
|
2020-10-20 02:29:20 +09:00 |
|
Jeong YunWon
|
5b32064cd6
|
trait StaticType
|
2020-10-20 01:43:39 +09:00 |
|
Noah
|
cb9c9ec4cf
|
Add some utility methods to function::Args and PyBaseException
|
2020-10-16 20:49:57 -05:00 |
|
Jeong YunWon
|
19ed4f85e7
|
clean up vm::builtins
|
2020-10-13 15:42:11 +09:00 |
|
Jeong YunWon
|
9e6dfca9e9
|
Fix build with new builtins path
|
2020-10-11 21:16:16 +09:00 |
|
Jeong YunWon
|
4da1b62c18
|
PyFuncArgs -> FuncArgs
which does not represent a single python object
|
2020-10-11 09:38:07 +09:00 |
|
Jeong YunWon
|
a089c9b6d3
|
TypeProcotol::lease_class() -> TypeProtocol::class()
|
2020-10-11 09:11:58 +09:00 |
|
Jeong YunWon
|
0a8f1e14a8
|
TypeProcotol::class() -> TypeProtocol::clone_class()
|
2020-10-11 09:11:58 +09:00 |
|
Noah
|
dbbdd75b31
|
Rename rustpython_common::{cell -> lock}
|
2020-09-26 23:39:10 -05:00 |
|
Jeong YunWon
|
59db19d1ea
|
PyClass -> PyType
|
2020-09-26 07:32:38 +09:00 |
|
Jeong YunWon
|
5c81e7b044
|
Reuse empty tuple singleton
|
2020-09-26 02:59:33 +09:00 |
|
Jeong YunWon
|
f81ad04ce3
|
PyString -> PyStr
|
2020-09-26 00:20:02 +09:00 |
|
Jeong YunWon
|
b876629606
|
Reduce direct usage of vm.ctx.none
|
2020-09-19 11:00:31 +09:00 |
|
Jeong YunWon
|
0f7ed21eda
|
remove vm.get_none and clean up its use cases
|
2020-09-19 10:20:20 +09:00 |
|
Jeong YunWon
|
f14ec5d4c8
|
objsingletons
|
2020-09-19 08:26:52 +09:00 |
|
Noah
|
ee2dff68b3
|
Implement atexit functionality
|
2020-09-18 12:00:24 -05:00 |
|
Jeong YunWon
|
a1a8d0320d
|
Merge pull request #2163 from RustPython/coolreader18/immutable-slots
Make class.slots completely immutable
|
2020-09-06 01:09:41 +09:00 |
|
Noah
|
619f1a1de9
|
Make PyStructSequence a derive macro
|
2020-08-30 15:46:04 -05:00 |
|
Noah
|
79c0efc491
|
Make class.slots completely immutable
|
2020-08-30 15:46:04 -05:00 |
|
Ben Lewis
|
a83c6c5ce1
|
Add JitError.
|
2020-08-30 08:59:09 +12:00 |
|
Jeong YunWon
|
9d025b0e4e
|
#[pyclass] now requires module field
|
2020-08-23 18:24:46 +09:00 |
|
Jeong YunWon
|
f497c99ec7
|
Give correct names to types
|
2020-08-22 06:32:39 +09:00 |
|
Jeong YunWon
|
23c2c58140
|
Move out read-only flags of slots.
|
2020-08-21 09:47:02 +09:00 |
|