messense
284c03af62
Add a changelog entry
2022-05-28 16:18:56 +08:00
messense
2bd24565c4
Rename fixup_import_libs
to generate_import_libs
2022-05-28 15:07:10 +08:00
messense
4787ad75c9
Add a default_lib_name_for_target
function
2022-05-28 14:59:10 +08:00
messense
4986d8ee7f
Fixup lib_name
when using PYO3_CONFIG_FILE
2022-05-28 13:58:54 +08: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
a21bd6f967
Merge pull request #2385 from davidhewitt/classattr-results
...
Allow `#[classattr]` methods to be fallible
2022-05-21 19:09:07 +01:00
David Hewitt
48690525e1
Merge pull request #2386 from davidhewitt/datetime-docs
...
datetime: remove reference to leap seconds
2022-05-19 06:29:52 +01:00
David Hewitt
82b26b7cfa
datetime: remove reference to leap seconds
2022-05-17 21:21:15 +01:00
David Hewitt
0de0e3f8d6
Allow #[classattr]
methods to be fallible
2022-05-17 21:19:41 +01:00
David Hewitt
e16dad3dd6
Merge pull request #2387 from davidhewitt/fix-internal-docs
...
docs: fix nightly build
2022-05-17 20:11:36 +01:00
David Hewitt
570107d103
docs: fix nightly build
2022-05-17 19:48:40 +01:00
David Hewitt
23a3069d53
Merge pull request #2376 from davidhewitt/changelog-0.16.5
...
update main to reflect 0.16.5 release
2022-05-16 06:00:40 +01:00
David Hewitt
3dcbcb7a95
update main to reflect 0.16.5 release
2022-05-15 20:31:00 +01:00
David Hewitt
3544b61390
Merge pull request #2374 from davidhewitt/test-initconfig
...
add regression test for PEP 587
2022-05-15 17:16:00 +01:00
David Hewitt
a85c622a3d
ci: unpin 3.11-dev
2022-05-15 16:08:21 +01:00
David Hewitt
8636db67f5
add regression test for PEP 587
2022-05-15 16:08:21 +01:00
David Hewitt
7e638e233f
Merge pull request #2371 from indygreg/initconfig-311
...
ffi: add new 3.11 fields to PyConfig
2022-05-15 06:20:16 +01:00
David Hewitt
1215951afd
Merge pull request #2363 from davidhewitt/macro_rules_wrap
...
wrap_x: change macros back to `macro_rules!`
2022-05-14 22:14:51 +01:00
David Hewitt
7a9e70e2c7
wrap_x: change macros back to macro_rules!
2022-05-14 20:42:07 +01:00
David Hewitt
a8b74a7f33
Merge pull request #2372 from messense/interpreter-config-import-lib
...
Auto generate Windows import libraries when using a pyo3 config file
2022-05-14 20:40:35 +01:00
messense
ded0d9fc93
Allow false positive clippy::unnecessary-wraps
lint
2022-05-14 20:45:03 +08:00
messense
742774cdb5
Auto generate Windows import libraries when using a pyo3 config file
2022-05-14 20:45:02 +08:00
Gregory Szorc
f1c477b536
ffi: add new 3.11 fields to PyConfig
...
These are the new fields in 3.11 so far. 3.11 is supposedly feature
frozen, so hopefully we don't need to revisit this struct before 3.11
final.
2022-05-13 17:52:31 -07:00
Gregory Szorc
03cb561d41
ffi: add PyConfig::warn_default_encoding to 3.10+
...
This field was added in 3.10 but we missed it. This was causing
offsets of subsequent fields to be wrong. This could lead to
unexpected behavior or even crashes.
2022-05-13 17:49:58 -07:00
messense
87bd10c9a3
Merge pull request #2364 from messense/import-lib
...
Add support for generating non-abi3 python import libraries for Windows targets
2022-05-12 15:30:16 +08:00
messense
5508de8925
Update changelog for #2364
2022-05-12 14:32:55 +08:00
messense
df6e9bcdb2
Change default python lib name for Windows when cross compiling
...
Stop treating `gnu` abi as mingw by default.
2022-05-12 14:32:21 +08:00
messense
5472fa6917
Add Windows non-abi3 cross compile test
2022-05-12 14:32:20 +08:00
messense
c477718fe7
Add support for generating non-abi3 python import libraries for Windows
...
targets
2022-05-12 14:32:20 +08:00
messense
10cb5a1f95
pyo3-build-config: switch to python3_dll_a::ImportLibraryGenerator
2022-05-12 14:32:17 +08:00
David Hewitt
1482b526de
types: add dict views ( #2358 )
2022-05-11 20:34:22 +01:00
David Hewitt
1ae6b80b78
Merge pull request #2368 from davidhewitt/update-ffi-eval
...
ffi: remove eval.rs
2022-05-11 04:24:05 +01:00
David Hewitt
10b09297b1
ffi: remove eval.rs
2022-05-11 03:44:27 +01:00
messense
76c09ac3ed
Remove #[doc(hidden)]
from trait impl items ( #2365 )
...
See https://github.com/rust-lang/rust/pull/96008
2022-05-10 19:26:53 +01:00
Colin Jermain
f5357f9395
Updating debugging docs with more info on rust-gdb ( #2361 )
2022-05-10 07:00:56 +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
bc8641c790
Merge pull request #2350 from mejrs/ignore-less
...
Expand on AsPyPointer docs and un-ignore doc examples
2022-05-06 06:51:54 +01:00
mejrs
5bdf6987c3
Delete section about immutability of pyclasses
2022-05-05 22:24:49 +02:00
David Hewitt
21bbe3f870
Merge pull request #2357 from PyO3/davidhewitt-patch-1
...
ffi: remove with_thread cfg
2022-05-05 08:28:24 +01:00
David Hewitt
5d8fd4d30e
ffi: remove with_thread cfg
2022-05-05 07:26:05 +01:00
David Hewitt
f6daa8d290
Merge pull request #2351 from cjermain/add_examples
...
Adding polars and rust-python-coverage PyO3 examples
2022-05-03 19:31:16 +01:00
Colin Jermain
baa026958b
Adding polars and rust-python-coverage PyO3 examples
2022-05-03 19:08:13 +01:00
mejrs
8921d5d1c0
Fix CI
2022-05-03 11:36:24 +02:00
David Hewitt
0d807fcb10
Merge pull request #2352 from PyO3/davidhewitt-patch-1
...
Fix CI for hashbrown 0.12.1
2022-05-03 07:00:42 +01:00
David Hewitt
0162df616e
Fix CI for hashbrown 0.12.1
2022-05-03 06:18:45 +01:00