Youngchan Lee
|
89579d3064
|
Pass function refs to single_or_tuple_any
|
2020-09-05 12:51:55 +09:00 |
|
Noah
|
4e80bfd158
|
Merge pull request #2141 from RustPython/coolreader18/pynativefunc-rework
Just use normal Box for PyNativeFunc
|
2020-08-22 22:17:37 -05:00 |
|
Jeong YunWon
|
bd3d4cfdb2
|
earlier returning for error
|
2020-08-23 06:54:25 +09:00 |
|
Noah
|
7218d1d998
|
Make more dyn Fn()s threading-optional
|
2020-08-22 16:18:26 -05:00 |
|
Noah
|
4d8ffc70ad
|
Just use normal Box for PyNativeFunc
|
2020-08-22 16:18:26 -05:00 |
|
Jeong YunWon
|
f45d2f03ef
|
avoid to_pystr to generate type name
|
2020-08-14 02:34:36 +09:00 |
|
Jeong YunWon
|
a846338395
|
BorrowValue for PyTuple
|
2020-08-09 14:55:09 +09:00 |
|
Jeong YunWon
|
61455ce261
|
Separate IntoPyObject and IntoPyResult
|
2020-08-04 22:59:34 +09:00 |
|
Jeong YunWon
|
1a653562b8
|
flat_option -> flatten
by following std::option::Option
|
2020-07-29 02:05:48 +09:00 |
|
Bolun Thompson
|
8cccf13c80
|
Implemented kwargs on __init_subclass__
|
2020-07-20 20:14:12 -07:00 |
|
Jeong YunWon
|
437a81996f
|
Merge pull request #1970 from youknowone/sub-1962
non-subprocess stuff from #1962
|
2020-06-22 03:57:47 +09:00 |
|
Noah
|
d40533be5f
|
Add os.wait[pid] and associated functions/constants
|
2020-06-21 20:53:45 +09:00 |
|
Jeong YunWon
|
82a596bd21
|
Fix clippy warning
|
2020-06-21 00:05:02 +09:00 |
|
Noah
|
97c51be6b8
|
Add _thread.start_new_thread
|
2020-05-23 16:03:08 -05:00 |
|
Noah
|
37912dfbe0
|
Add closefd arg to open
|
2020-05-03 18:03:22 -05:00 |
|
Aviv Palivoda
|
affac62bce
|
Make PyNativeFunc Send + Sync
|
2020-04-28 20:36:24 +03:00 |
|
Jeong YunWon
|
0d2b817dd3
|
single_or_tuple_any uses TryFromObject instead of PyValue
|
2020-04-16 15:38:48 +09:00 |
|
Noah
|
0e55bc9821
|
Make PyObject.dict private and a Mutex; add some TODOs
|
2020-04-11 15:16:50 -05:00 |
|
Noah
|
e2d7ab30aa
|
Don't allocate for PyNativeFunc when it's just a fn pointer
|
2020-04-02 13:57:08 -05:00 |
|
Noah
|
3d07a73346
|
Fix clippy failure on Rust 1.42.0
|
2020-03-12 17:42:37 -05:00 |
|
Noah
|
7be93a96da
|
Merge pull request #1766 from RustPython/coolreader18/stdlib-typing
Add the typing standard library module, rework tp_new
|
2020-02-28 22:50:07 -06:00 |
|
Aviv Palivoda
|
f21e35c31a
|
Merge pull request #1771 from palaviv/set-tests
Add CPython Set tests and support Args in methods
|
2020-02-22 10:01:02 +02:00 |
|
Noah
|
0dcb4d4b2e
|
Reorganize struct module, add struct.Struct
|
2020-02-20 22:33:25 -06:00 |
|
Noah
|
e682959c9a
|
Properly pass kwargs to metaclass in builtin_build_class
|
2020-02-16 16:02:43 -06:00 |
|
Aviv Palivoda
|
34d8c44952
|
Support Args in set/frozenset methods
|
2020-02-16 20:32:50 +02:00 |
|
Jeong YunWon
|
cdc39701d8
|
Add PyBuiltinDescriptor for descriptors
|
2020-01-14 15:37:15 +09:00 |
|
Jeong YunWon
|
24289964d3
|
Merge pull request #1649 from youknowone/func-vm
Allow to skip VM param for IntoPyNativeFunc functions
|
2020-01-12 18:24:01 +09:00 |
|
Jeong YunWon
|
9f4f8ad0ec
|
PyTuple::elements into private
|
2020-01-06 02:34:56 +09:00 |
|
Jeong YunWon
|
92ba35d1b1
|
Allow to skip VM param for IntoPyNativeFunc functions
|
2020-01-03 02:18:56 +09:00 |
|
Noah
|
97c8d11092
|
Make PyResult<T> = Result<T, PyBaseExceptionRef>
|
2019-12-27 11:22:52 -06:00 |
|
coolreader18
|
ea7db95a70
|
Have single_or_tuple_any recursively check for tuples
|
2019-12-03 21:39:34 -06:00 |
|
coolreader18
|
4c0ba7b1bd
|
Set up the machinery behind the codecs module
|
2019-11-28 13:33:24 -06:00 |
|
Jeong YunWon
|
7333fd13b5
|
Lib/ast.py
|
2019-10-12 14:57:50 +09:00 |
|
Jeong YunWon
|
cb2a994b46
|
Result<T, PyObjectRef> -> PyResult<T>
|
2019-10-11 18:09:55 +09:00 |
|
Daniel Alley
|
a6fcc664bd
|
Use new style for PyZip impl
|
2019-10-04 13:35:36 -04:00 |
|
Noah
|
a429b09a0b
|
Allow match_class match expressions without parens around the target
|
2019-09-19 20:07:18 +00:00 |
|
Noah
|
dfeeda1c4c
|
Match an actual match expression in match_class!
|
2019-09-19 18:27:34 +00:00 |
|
coolreader18
|
6a34a720e4
|
Update dependencies
|
2019-09-10 21:53:53 -05:00 |
|
coolreader18
|
d33d5ce5f6
|
Initialize attributes on new modules
|
2019-08-15 23:06:30 -05:00 |
|
coolreader18
|
8dae17ac99
|
Add Match methods
|
2019-08-08 17:41:39 -05:00 |
|
Jeong YunWon
|
7f2560c9e1
|
Add str.encode for utf-8
|
2019-05-29 21:25:34 +09:00 |
|
Maxim Kurnikov
|
737ec52365
|
simplify PyFuncArgs get_kwarg/get_optional_kwarg with cloned()
|
2019-05-22 12:47:28 +03:00 |
|
Maxim Kurnikov
|
b5352da2c0
|
fix formatting
|
2019-05-22 03:30:30 +03:00 |
|
Maxim Kurnikov
|
0098e8485a
|
move PyFuncArgs.kwargs to IndexMap
|
2019-05-22 03:18:15 +03:00 |
|
Yonatan Goldschmidt
|
84684e5f7d
|
Don't use RefCell in tuple object
|
2019-05-19 23:57:32 +03:00 |
|
ben
|
90711f10a0
|
Accept tuple for first arg in str.startswith and str.endswith
|
2019-05-12 13:14:27 +12:00 |
|
Adam Kelly
|
cad4a13cf7
|
Add utility methods for default optional args.
|
2019-04-25 09:07:17 +01:00 |
|
ben
|
f2873a519d
|
Merge branch 'master' into slice_new
# Conflicts:
# tests/snippets/builtin_slice.py
# vm/src/frame.rs
# vm/src/obj/objrange.rs
# vm/src/obj/objslice.rs
|
2019-04-17 19:44:46 +12:00 |
|
ben
|
6650ad895a
|
Fix a bunch of clippy warnings
|
2019-04-14 10:07:50 +12:00 |
|
Adam
|
78ab68a64e
|
Merge pull request #817 from skinny121/function_metadata
Add __name__, __qualname__ and __module__ to functions and classes
|
2019-04-13 09:44:33 +01:00 |
|