David Hewitt
ed994ca44f
pyo3-build-config: improve config file format
2021-08-04 09:02:10 +01:00
David Hewitt
fcd35c1c3b
Merge pull request #1755 from davidhewitt/macos-link-args
...
build: revert usage of cargo:rustc-cdylib-link-arg
2021-08-03 22:30:52 +01:00
David Hewitt
c2d6a50b35
build: revert usage of cargo:rustc-cdylib-link-arg
2021-08-03 20:04:56 +01:00
David Hewitt
7be6bdd97d
Merge pull request #1754 from davidhewitt/sync-lib-readme-examples
...
docs: sync README and lib.rs examples
2021-08-03 19:23:57 +01:00
David Hewitt
96ce1ee30c
Merge pull request #1756 from davidhewitt/remove-pypy-workaround
...
pypy: remove workaround for 7.3.4
2021-08-03 12:40:02 +01:00
David Hewitt
b5ca39c4f0
pypy: remove workaround for 7.3.4
2021-08-02 23:11:01 +01:00
David Hewitt
b66f539473
docs: sync README and lib.rs examples
2021-08-02 23:03:25 +01:00
David Hewitt
61aaed711d
Merge pull request #1752 from mejrs/with_gil
...
remove some of python::acquire_gil usage
2021-08-02 19:56:21 +01:00
David Hewitt
2f3592fca8
Merge pull request #1649 from FriendRat/enhanced_extract_type_errors
...
WIP: Enhanced extract type errors (Issue #1640 )
2021-08-02 12:22:11 +01:00
mejrs
88a5eb643f
Fix formatting
2021-08-02 13:09:02 +02:00
R2D2
d809e50c9b
Replaced require_gil with Python::with_gil in test_frompyobject.rs. Removed all unsafe code from macro generated code. Two other small fixes
2021-08-02 09:49:13 +02:00
mejrs
32f52fca91
remove public python::acquire_gil usage
2021-08-02 01:17:23 +02:00
R2D2
5b8efdd6e2
Refactored to prevent re-acquiring the gil
2021-08-01 22:38:34 +02:00
David Hewitt
5093c2939a
Merge pull request #1749 from davidhewitt/building-distribution-rewrite
...
guide: rewrite "Building and Distribution" chapter
2021-08-01 19:36:10 +01:00
David Hewitt
582d9c530f
build: move print-config into environment variable
2021-08-01 17:26:27 +01:00
David Hewitt
3d3dacf2ac
guide: rewrite "Building and Distribution" chapter
2021-08-01 16:59:47 +01:00
David Hewitt
9a69d120b4
Merge pull request #1748 from PyO3/more_doc
...
some more docstring proofreading
2021-08-01 09:40:51 +01:00
Georg Brandl
9c33c988ed
Apply suggestions from code review
...
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-08-01 10:11:46 +02:00
Georg Brandl
aa48e5be7a
some more docstring proofreading
2021-08-01 09:05:30 +02:00
David Hewitt
fab135c1df
Merge pull request #1747 from PyO3/pycell_doc
...
pycell: proofread docstrings
2021-08-01 07:43:56 +01:00
Georg Brandl
edd5ca9806
pycell: proofread docstrings
2021-08-01 00:23:59 +02:00
R2D2
3cfc76ae93
Reworked struct error messages to use the of an error rather than concatenating all error messages
2021-07-31 23:21:07 +02:00
R2D2
403d882d6c
Merge branch 'main' of https://github.com/PyO3/pyo3 into enhanced_extract_type_errors
2021-07-31 21:21:10 +02:00
R2D2
a42447bfe2
Small refactor
2021-07-31 21:20:57 +02:00
Jacob Turner
363383ea84
Update pyo3-macros-backend/src/from_pyobject.rs
...
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-07-31 20:38:44 +02:00
David Hewitt
8e7737d099
Merge pull request #1744 from davidhewitt/no-profile
...
pyo3-pytests: don't set profile in Cargo.toml
2021-07-31 18:55:52 +01:00
David Hewitt
ba0ba14fb8
pyo3-pytests: don't set profile in Cargo.toml
2021-07-31 16:52:30 +01:00
David Hewitt
fb744e1695
Merge pull request #1743 from davidhewitt/improve-readme
...
readme: slightly improve getting started notes
2021-07-31 16:51:58 +01:00
David Hewitt
13f8953d1a
readme: slightly improve getting started notes
2021-07-31 16:18:49 +01:00
David Hewitt
e6d750ae5d
Merge pull request #1745 from davidhewitt/rust-1.54
...
rust: updates for rust & clippy 1.54
2021-07-31 16:01:21 +01:00
David Hewitt
4c5aee92d5
pycell: fix calculation of dictoffset on 32-bit Windows
2021-07-31 15:09:12 +01:00
David Hewitt
16e6f78d9c
dev-deps: pin criterion to 0.3.4
2021-07-31 08:19:38 +01:00
David Hewitt
ee9a1678d5
rust: updates for rust & clippy 1.54
2021-07-31 08:19:38 +01:00
David Hewitt
32414676c3
Merge pull request #1740 from davidhewitt/mod-tests
...
testing: use `mod tests` instead of `mod test`
2021-07-26 19:31:36 +01:00
David Hewitt
a7244b864d
testing: use mod tests
instead of mod test
2021-07-26 18:19:53 +01:00
David Hewitt
bbe0e846b0
Merge pull request #1738 from davidhewitt/latest-links
...
docs: use pyo3.rs/latest instead of pyo3.rs/main
2021-07-24 17:57:03 +01:00
David Hewitt
4a71f82099
Merge pull request #1724 from davidhewitt/err-new-no-gil
...
err: don't use with_gil internally in PyErr::new()
2021-07-24 10:13:50 +01:00
messense
1a0f46b35d
Merge pull request #1737 from davidhewitt/pypy-buffer
...
pypy: fix FFI definition of Py_Buffer
2021-07-24 16:28:08 +08:00
David Hewitt
c09947a61c
err: don't use with_gil internally in PyErr::new()
2021-07-24 08:51:17 +01:00
David Hewitt
dc58815143
benches: add bench_err
2021-07-24 08:50:35 +01:00
David Hewitt
3794aab11f
docs: use pyo3.rs/latest instead of pyo3.rs/main
2021-07-24 08:47:02 +01:00
David Hewitt
243e5eea13
Merge pull request #1734 from davidhewitt/latest-tag
...
guide: add latest symlink
2021-07-24 08:38:07 +01:00
David Hewitt
d46d3265cb
pypy: fix FFI definition of Py_Buffer
2021-07-24 08:37:22 +01:00
Ivan Carvalho
bd0e0d808f
Add optional support for conversion from indexmap::IndexMap
( #1728 )
...
* Add support to IndexMap
* Fix indexmap version to 1.6.2
* Remove code duplication by mistake
* Fix ambiguity in test
* Minor change for doc.rs
* Add to lib.rs docstring
* Add indexmap to conversion table
* Add indexmap flag in docs.rs action
* Add indexmap feature to CI
* Add note in changelog
* Use with_gil in tests
* Move code to src/conversions/indexmap.rs
* Add PR number to CHANGELOG
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
* Add round trip test
* Fix issue in MSRV Ubuntu build
* Fix Github workflow syntax
* Yet Another Attempt to Fix MSRV Ubuntu build
* Specify hashbrown to avoid ambiguity in CI
* Add suggestions
* More flexible version for indexmap
* Add documentation
* Address PR comments
* Export indexmap for docs
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-07-22 08:15:26 +01:00
Eric Arellano
9ab7b1fad1
Rewrite module.md
for clarity and add tip on code organization ( #1693 )
...
* Rewrite `module.md` for clarity and add tip on code organization
* Add section on how to build the guide + add workaround proposed by David
* Make more clear references to #1709
2021-07-22 08:10:32 +01:00
David Hewitt
fccea9ff7c
guide: add latest symlink
2021-07-22 08:08:50 +01:00
David Hewitt
f72a9657d3
Merge pull request #1735 from davidhewitt/mdbook-0.4.10
...
guide: bump mdbook to 0.4.10
2021-07-21 07:52:41 +01:00
David Hewitt
6e0fb9e3a1
guide: bump mdbook to 0.4.10
2021-07-20 08:54:21 +01:00
messense
7957521b78
Merge pull request #1732 from davidhewitt/no-bench-alert
...
bench: don't alert on CI benchmark changes
2021-07-20 08:40:37 +08:00
David Hewitt
acede283e1
bench: don't alert on CI benchmark changes
2021-07-19 20:56:43 +01:00