Nicholas Sim
a460f7d287
ffi module cleanup: listobject.h to memoryobject.h
2021-01-15 18:24:45 +08:00
David Hewitt
bf701fe914
Merge pull request #1386 from davidhewitt/pyproto-tidy
...
pyproto: small refactoring to backend macro
2021-01-15 07:05:34 +00:00
David Hewitt
d10708abbf
pyproto: small refactoring to backend macro
2021-01-15 00:21:16 +00:00
David Hewitt
8f4ed55801
Merge pull request #1383 from davidhewitt/raw-idents
...
macros-backend: fix raw idents in pymethods
2021-01-13 21:29:23 +00:00
David Hewitt
9807ef8ed4
macros-backend: fix raw idents in pymethods
2021-01-12 22:01:11 +00:00
David Hewitt
4a3c4b0139
Merge pull request #1355 from davidhewitt/finalization
...
gil: tidy ups to finalization
2021-01-12 21:16:24 +00:00
David Hewitt
0729fb1e03
Merge pull request #1374 from davidhewitt/macros-error-handling
...
macros-backend: improve error handling ergonomics
2021-01-12 08:05:30 +00:00
David Hewitt
dc7bcdaf9b
gil: move finalization from prepare_freethreaded_python to
...
with_embedded_python_interpreter
2021-01-12 07:44:37 +00:00
David Hewitt
7c61c9b7f9
gil: tidy ups to finalization
2021-01-12 07:42:47 +00:00
David Hewitt
ad40632c6b
Merge pull request #1366 from daniil-konovalenko/serde
...
implement Serialize, Deserialize for Py<T>
2021-01-12 07:36:19 +00:00
Daniil Konovalenko
abb5829e9c
implement Serialize, Deserialize for Py<T>
2021-01-11 22:19:10 +00:00
David Hewitt
b22ceb94dc
Merge pull request #1380 from decathorpe/master
...
Exclude more files from published crates
2021-01-10 21:50:17 +00:00
Fabio Valentini
180a51d420
Exclude more files from published crates
2021-01-10 18:59:50 +01:00
David Hewitt
6d795932bc
Merge pull request #1369 from PyO3/release-0.13.1
...
release: 0.13.1
2021-01-10 13:45:04 +00:00
David Hewitt
d2e87d95f3
release: 0.13.1
2021-01-10 12:20:10 +00:00
David Hewitt
69fcfadc56
Merge pull request #1370 from PyO3/pep-623
...
Deprecate functions from PEP 623
2021-01-10 12:17:45 +00:00
David Hewitt
1509b2fe26
Merge pull request #1371 from PyO3/maturin-abi3-windows-linker-args
...
Make abi3 linking work on windows
2021-01-10 11:58:25 +00:00
David Hewitt
de86b2c1d3
Merge pull request #1373 from davidhewitt/use-package-version
...
gil: use CARGO_PACKAGE_VERSION env var
2021-01-10 10:57:09 +00:00
David Hewitt
88872eba4f
macros-backend: improve error handling ergonomics
2021-01-10 10:25:43 +00:00
konstin
02f3d5cc90
Deprecate functions from PEP 623
2021-01-10 10:18:08 +00:00
David Hewitt
a8d8003b31
guide: document PYO3_NO_PYTHON on Windows
2021-01-10 10:16:37 +00:00
konstin
c8b290a254
build: make abi3 linking work on windows
2021-01-10 10:13:49 +00:00
Yuji Kanagawa
1303cf6202
Merge pull request #1372 from davidhewitt/deprecated-changelog
...
changelog: add Deprecated sections
2021-01-10 16:08:55 +09:00
David Hewitt
af9a58a8f9
gil: use CARGO_PACKAGE_VERSION env var
2021-01-09 14:42:46 +00:00
David Hewitt
0257acfd08
changelog: add Deprecated sections
2021-01-09 08:45:02 +00:00
David Hewitt
364b7c2214
Merge pull request #1365 from davidhewitt/fix-tp-dealloc
...
pyclass: fix reference count issue in subclass new
2021-01-08 06:43:03 +00:00
David Hewitt
b92441cd7c
pyclass: fix reference count issue in subclass new
2021-01-08 00:13:49 +00:00
Yuji Kanagawa
423b7bf79f
Merge pull request #1368 from dalcde/osraw
...
Prefer to use std::os::raw type definitions
2021-01-08 01:06:27 +09:00
Yuji Kanagawa
4562de7bd9
Merge branch 'master' into osraw
2021-01-07 17:06:03 +09:00
Yuji Kanagawa
4d242133a6
Merge pull request #1367 from PyO3/modern-path
...
Replace edition2015-style paths
2021-01-07 17:04:36 +09:00
Dexter Chua
005b0aa798
Prefer to use std::os::raw type definitions
...
Certain types e.g. c_char are provided by both std::os::raw and libc.
Previously, both are used interchangably. This commit changes all
instances to use std::os::raw, which is slightly more portable, since
libc is not implemented for all targets (e.g. wasm32-unknown-unknown).
2021-01-07 15:34:47 +08:00
kngwyu
05f32a2007
Replace edition2015-style paths
2021-01-07 13:32:17 +09:00
David Hewitt
c8172e9284
Merge pull request #1356 from davidhewitt/integration-tests-faq
...
readme/faq: document `rlib` crate type better
2021-01-06 07:55:40 +00:00
Auke Willem Oosterhoff
c1c4a5ffa5
readme/faq: document rlib
crate type better
2021-01-06 06:54:44 +00:00
David Hewitt
c021a0198d
Merge pull request #1364 from davidhewitt/pyclass-send-ui-test
...
pyclass: add !Send compile_error test
2021-01-06 06:03:22 +00:00
David Hewitt
22de3b4f44
pyclass: add !Send compile_error test
2021-01-05 23:25:28 +00:00
David Hewitt
b152fd6317
Merge pull request #1359 from dalcde/patch-2
...
Let pyconfig.h not define Py_ENABLE_SHARED
2021-01-05 22:22:50 +00:00
David Hewitt
d9452b3d18
Merge pull request #1360 from PyO3/update-mdbook
...
Update mdbook version
2021-01-05 07:06:55 +00:00
kngwyu
ab020f2a86
Update mdbook version
2021-01-05 12:32:23 +09:00
David Hewitt
8e37d378b5
Merge pull request #1347 from davidhewitt/embedding
...
auto-initialize: new feature to control initializing Python
2021-01-04 21:31:22 +00:00
David Hewitt
e0c35d17dd
auto-initialize: add CHANGELOG and docs
2021-01-04 21:08:08 +00:00
Dexter Chua
8f404c4db5
Let pyconfig.h not define Py_ENABLE_SHARED
...
If there is no line that defines Py_ENABLE_SHARED in `pyconfig.h`, then it is false
2021-01-04 22:24:39 +08:00
David Hewitt
d9ccc98565
Merge pull request #1353 from daniil-konovalenko/patch-1
...
Fix #[pyclass] arguments description
2021-01-02 17:00:13 +00:00
David Hewitt
59707f0b81
auto-initialize: new feature to control initializing Python
2021-01-02 16:08:10 +00:00
Daniil Konovalenko
74a8b3257d
Fix #[pyclass] arguments description
2021-01-02 19:03:29 +03:00
David Hewitt
42ca48a8b4
Merge pull request #1350 from davidhewitt/refactor-build-rs
...
Refactor build rs
2021-01-01 08:04:18 +00:00
David Hewitt
a317e0df74
build: use BuildFlags struct
2021-01-01 07:34:36 +00:00
Yuji Kanagawa
a16a9bc1b6
Merge pull request #1352 from davidhewitt/fix-clippy-examples
...
ci: deny clippy warnings for examples
2021-01-01 16:02:21 +09:00
David Hewitt
0da12bd0dc
ci: deny clippy warnings for examples
2020-12-31 22:11:48 +00:00
David Hewitt
a350dd2c20
build: make include dir optional when targeting Windows
2020-12-31 22:02:29 +00:00