David Hewitt
|
5718adeec7
|
pyproto: remove deprecated feature
|
2022-09-06 08:38:44 +01:00 |
|
David Hewitt
|
caaf7bbda7
|
release: 0.17.1
|
2022-08-28 08:27:56 +01:00 |
|
David Hewitt
|
058af11c4d
|
pyfunction: fix clippy lint on **kwargs argument
|
2022-08-26 20:27:44 +01:00 |
|
David Hewitt
|
9d543b3f4b
|
pyfunction: fix from_py_with on Option<T> argument
|
2022-08-25 18:57:17 +01:00 |
|
David Hewitt
|
04c1ac87f1
|
release: 0.17.0
|
2022-08-23 21:21:19 +01:00 |
|
David Hewitt
|
d0492b7c72
|
Merge pull request #2570 from davidhewitt/pyclass-frozen-tidy
pyclass: tidy up frozen implementation
|
2022-08-21 09:35:51 +01:00 |
|
David Hewitt
|
24456f3f41
|
pyclass: tidy up frozen implementation
|
2022-08-21 08:21:06 +01:00 |
|
David Hewitt
|
fd8026c7bb
|
pyclass: add sequence option to implement sq_length
|
2022-08-20 07:14:26 +01:00 |
|
David Hewitt
|
a3f093d7f0
|
safety: abort on uncaught panics
|
2022-08-14 13:47:46 +01:00 |
|
David Hewitt
|
fa19f322d2
|
Merge pull request #2503 from davidhewitt/extract_argument_holder
pyfunction: use extract_argument with holder to avoid extractext
|
2022-07-17 07:14:53 +01:00 |
|
David Hewitt
|
d5e99b635d
|
refactor: remove all 0.15 deprecations
|
2022-07-15 06:33:14 +01:00 |
|
David Hewitt
|
209c942277
|
pyfunction: use extract_argument with holder to avoid extractext
|
2022-07-14 08:42:22 +01:00 |
|
David Hewitt
|
c4a2c6c912
|
clippy: fix some warnings from beta toolchain
|
2022-07-12 23:02:47 +01:00 |
|
David Hewitt
|
4da9c3a55f
|
llvm-lines: use iterator to collect class items
|
2022-06-25 22:03:28 +01:00 |
|
David Hewitt
|
e8e1729723
|
Merge pull request #2470 from davidhewitt/monomorphizations
opt: remove some generic code bloat
|
2022-06-22 23:44:57 +01:00 |
|
David Hewitt
|
3d9b78062e
|
opt: remove some generic code bloat
|
2022-06-22 22:53:32 +01:00 |
|
Gabriel Smith
|
75656949f9
|
macros: Support #[pyo3(name)] on enum variants
|
2022-06-22 09:36:40 -04:00 |
|
Gabriel Smith
|
2122faa547
|
macros: Use macro-defined name for enums in __repr__
|
2022-06-21 16:31:23 -04:00 |
|
David Hewitt
|
7725f17c46
|
pyclass: switch from immutable to frozen
|
2022-06-19 21:18:15 +01:00 |
|
David Hewitt
|
f81a01b604
|
macros: emit pymethod associated methods as a single block
|
2022-06-16 22:15:29 +01:00 |
|
Ivan Krivosheev
|
f19561c745
|
Allow #[classattr] take Python argument
|
2022-06-16 13:08:53 +03:00 |
|
David Hewitt
|
7c56a03d64
|
frompyobject: fix from_py_with ignored for transparent structs
|
2022-06-09 06:49:25 +01:00 |
|
David Hewitt
|
0aa4f95a98
|
frompyobject: improve error messages of derived impls
|
2022-06-02 11:13:35 +01:00 |
|
David Hewitt
|
e4ec720d51
|
frompyobject: tidy up generated code
|
2022-06-02 08:54:20 +01:00 |
|
David Hewitt
|
cfb91057af
|
frompyobject: improve error message for tuple case
|
2022-06-02 08:54:20 +01:00 |
|
David Hewitt
|
eafbbc5417
|
Merge pull request #2399 from davidhewitt/avoid-duplicate-pymethods
pymethods: prevent methods sharing the same name
|
2022-05-24 22:22:31 +01:00 |
|
David Hewitt
|
879eb14e27
|
Merge pull request #2395 from davidhewitt/fix-class-raw-ident
macros: fix raw-ident pyclasses having r# at the start of the Python name
|
2022-05-24 22:08:56 +01:00 |
|
David Hewitt
|
71abeeff8b
|
macros: fix raw-ident pyclasses having r# at the start of the Python name
|
2022-05-24 21:34:23 +01:00 |
|
David Hewitt
|
a306365db8
|
pymethods: prevent methods sharing the same name
|
2022-05-24 21:15:30 +01:00 |
|
David Hewitt
|
126bf49b8b
|
Merge pull request #2377 from herquan/herquan_cr1
Add macro append_to_inittab (issue #2359)
|
2022-05-24 08:02:47 +01:00 |
|
herquan
|
2ec477344d
|
Add macro append_to_inittab
Sometimes we need to debug in a real environment with our module installed. `append_to_inittab` will be a wrapper for PyImport_AppendInittab (https://docs.python.org/3/c-api/import.html#c.PyImport_AppendInittab) and help us to do this
|
2022-05-24 07:42:15 +01:00 |
|
David Hewitt
|
0de0e3f8d6
|
Allow #[classattr] methods to be fallible
|
2022-05-17 21:19:41 +01:00 |
|
David Hewitt
|
3dcbcb7a95
|
update main to reflect 0.16.5 release
|
2022-05-15 20:31:00 +01:00 |
|
David Hewitt
|
7a9e70e2c7
|
wrap_x: change macros back to macro_rules!
|
2022-05-14 20:42:07 +01:00 |
|
Bruno Kolenbrander
|
c57e5098b8
|
Fix IntoPyCallbackOutput paper cuts (#2326)
* Implement IntoPy for arrays of IntoPy
* Improve `IntoPyCallbackOutput` compile error
|
2022-05-09 18:15:43 +01:00 |
|
David Hewitt
|
e9bd41efb2
|
better mutability inheritance rules
|
2022-04-21 20:51:28 +01:00 |
|
David Hewitt
|
7118e94947
|
Merge branch 'main' into immutable
|
2022-04-19 19:00:33 +01:00 |
|
Adam Reichold
|
d2caa056e9
|
release: 0.16.4
|
2022-04-14 07:56:42 +01:00 |
|
Bruno Kolenbrander
|
bc6bd6099c
|
Merge branch 'main' into immutable
|
2022-04-12 14:22:33 +02:00 |
|
mejrs
|
b7745dffc8
|
Fix everything
|
2022-04-12 14:19:02 +02:00 |
|
David Hewitt
|
1ae0971a09
|
release: 0.16.3
|
2022-04-05 04:05:57 +01:00 |
|
David Hewitt
|
9774a7c1c1
|
Merge pull request #2273 from PyO3/dog-food-intern
Make use of intern! macro for attribute names used internally
|
2022-04-05 00:41:35 +01:00 |
|
Adam Reichold
|
2c95b3abb4
|
Intern the attribute names used by the derive macro for FromPyObject.
|
2022-04-04 22:26:14 +02:00 |
|
David Hewitt
|
981eb2d90e
|
Merge pull request #2265 from davidhewitt/pyclass-mapping
pyclass: mapping flag
|
2022-04-04 19:54:37 +01:00 |
|
Adam Reichold
|
d3dcbd72ba
|
Add PyString::intern to enable access to Python's built-in string interning. (#2268)
|
2022-04-03 21:07:58 +02:00 |
|
David Hewitt
|
c16cc35b30
|
pyclass: mapping flag
|
2022-04-02 16:15:44 +01:00 |
|
mejrs
|
086424b88c
|
Merge branch 'main' of https://github.com/mejrs/pyo3 into immutable
|
2022-04-01 23:11:02 +02:00 |
|
mejrs
|
9ab1e6927a
|
Merge branch 'immutable' of https://github.com/mejrs/pyo3 into immutable
|
2022-04-01 22:59:59 +02:00 |
|
Bruno Kolenbrander
|
43944aef76
|
Create a better error message for moving self (#2238)
|
2022-03-24 10:27:37 +01:00 |
|
mejrs
|
00ea040834
|
Feedback
|
2022-03-23 13:30:32 +01:00 |
|