Commit graph

3547 commits

Author SHA1 Message Date
Andrew J Westlake bf23f8bda7 Shortened the async/await guide 2021-08-08 14:58:46 -05:00
Andrew J Westlake 9037697bed
Update guide/src/ecosystem/async-await.md
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-08-08 10:15:01 -05:00
Andrew J Westlake d578f37f70
Removed "auto-initialize" feature from uvloop example
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-08-08 10:13:47 -05:00
Andrew J Westlake 92c3af5088
Forgot to bump another pyo3 version
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-08-08 09:59:17 -05:00
Andrew J Westlake dbb956fd4c
Forgot to bump pyo3 version
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-08-08 09:59:01 -05:00
Andrew J Westlake 5c5a406ce4 Updated async-await guide for pyo3-asyncio 0.14 2021-08-07 22:53:26 -05:00
David Hewitt 9a735698df
Merge pull request #1762 from deantvv/fix-compiler-warning
fix compiler warning
2021-08-07 10:51:27 +01:00
Dean Li 03981b373a
add CHANGELOG.md 2021-08-07 16:38:24 +08:00
Dean Li 1086fdb965
fix compiler warning
Fix issue [link](https://github.com/rust-lang/rust/issues/79813) which
will eventually deny trailing semicolons in expression macro in rust compiler.
2021-08-07 16:31:54 +08:00
David Hewitt 10cbba02d9
Merge pull request #1758 from davidhewitt/config-file
pyo3-build-config: support "config files"
2021-08-07 08:09:40 +01:00
David Hewitt 5af835daed pyo3-build-config: fix build for windows gnu targets 2021-08-07 00:25:14 +01:00
David Hewitt 2cf2c2fef9 pyo3-build-config: improve test coverage
[review] birkenfeld

Co-authored-by: Georg Brandl <georg@python.org>
2021-08-06 12:55:03 +01:00
David Hewitt 49387e9a70 pyo3-build-config: many tidy ups 2021-08-05 23:19:43 +01:00
David Hewitt 9507979d93
pyo3-build-config: inline config when not cross compiling 2021-08-04 12:54:45 +01:00
Tom Milligan 20b34a5528 create pyo3 config file directory if not exist 2021-08-04 09:02:10 +01:00
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