Commit graph

2982 commits

Author SHA1 Message Date
Yuji Kanagawa cca560649e
Apply suggestions from davidhewitt
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-03-07 23:26:45 +09:00
Yuji Kanagawa 7c1cc29612
Apply suggestions from birkenfeld
Co-authored-by: Georg Brandl <georg@python.org>
2021-03-06 23:59:46 +09:00
kngwyu a591b55219 Architecture.md: Initial draft 2021-03-06 17:52:54 +09:00
Yuji Kanagawa f1fc17cbf0
Merge pull request #1424 from davidhewitt/pyclass-impl
pyclass-impl: merge implementation traits
2021-02-20 14:02:00 +09:00
Yuji Kanagawa 2aeb02151e
Merge pull request #1429 from nw0/ffi-6
ffi cleanup: object.h
2021-02-20 14:01:21 +09:00
David Hewitt 1e134aa0de pyclass-impl: use impl Trait arguments
Co-authored-by: Yuji Kanagawa <yuji.kngw.80s.revive@gmail.com>
2021-02-19 07:45:14 +00:00
David Hewitt 9521abcd0d
Merge pull request #1431 from davidhewitt/update-msrv-policy
contributing: update minimum supported Rust policy
2021-02-18 09:02:08 +00:00
David Hewitt fcb51677c2 benches: add benchmark for type object initialization 2021-02-18 08:19:07 +00:00
David Hewitt 7b99e391fa pyclass-impl: merge implementation traits 2021-02-18 08:19:07 +00:00
David Hewitt cd7a27b34f contributing: update minimum supported Rust policy
Co-authored-by: Georg Brandl <georg@python.org>
Co-authored-by: Yuji Kanagawa <yuji.kngw.80s.revive@gmail.com>
2021-02-18 07:57:21 +00:00
Nicholas Sim 04c9388a3d
Merge branch 'master' into ffi-6 2021-02-16 19:46:49 +08:00
Nicholas Sim d8198f8beb ffi cleanup: remove PyTypeObject_INIT
This should only be used internally. See discussion:
https://github.com/PyO3/pyo3/pull/1429#discussion_r575837123
2021-02-16 19:36:15 +08:00
David Hewitt 7fa3b36eb4
Merge pull request #1428 from PyO3/macos-arm64-cross
Don't require PYO3_CROSS_LIB_DIR when compiling for x86_64 from macOS arm64 and reverse
2021-02-14 14:06:12 +00:00
Nicholas Sim ac3282e527 ffi cleanup: fix another bad import 2021-02-14 21:27:08 +08:00
Nicholas Sim 3f222b7dd8 ffi: cpython: object: use correct printfunc def 2021-02-14 21:17:46 +08:00
David Hewitt 07c7624506
Merge pull request #1379 from kangalioo/master
OsStr and Path conversions
2021-02-14 13:13:53 +00:00
Nicholas Sim 031840652c
Merge branch 'master' into ffi-6 2021-02-14 21:00:28 +08:00
Nicholas Sim a3b1f35767 CHANGELOG: update with PR number 2021-02-14 20:55:58 +08:00
Nicholas Sim 67e1755f9c ffi cleanup: deprecate some nonexistent functions 2021-02-14 20:44:55 +08:00
Nicholas Sim edaf35c1ea ffi cleanup: object: initial changes 2021-02-14 20:21:29 +08:00
David Hewitt 442a04efdd
Merge pull request #1397 from kangalioo/get_fold_bool
Make PyTimeAccess::get_fold() return bool instead of u8
2021-02-14 12:17:38 +00:00
messense ebc52c4aea Don't require PYO3_CROSS_LIB_DIR when compiling for x86_64 from macOS arm64 and reverse 2021-02-14 16:43:50 +08:00
David Hewitt 83821bd961
Merge pull request #1426 from davidhewitt/0.14-deprecations
0.14: deprecations
2021-02-14 08:29:06 +00:00
David Hewitt 28aff42e80
Merge pull request #1425 from nw0/ffi-5
ffi cleanup: methodobject to moduleobject
2021-02-14 07:48:01 +00:00
kangalioo 87ee51fb86 Make PyTimeAccess::get_fold return bool 2021-02-13 20:28:28 +00:00
kangalioo fe9b4625d1 Implement conversions for Path/PathBuf 2021-02-13 20:22:16 +00:00
David Hewitt 1196cbd396 0.14: deprecations 2021-02-13 20:03:39 +00:00
Nicholas Sim 2d7d482d8d another conditional import fix 2021-02-13 19:06:31 +08:00
Nicholas Sim 39a29a59f0 ffi: methodobject: conditional import for CI 2021-02-13 18:59:33 +08:00
Nicholas Sim 96fcfe6e0c ffi: methodobject: PyModule_Check: update for Py39 change 2021-02-13 17:10:29 +08:00
Nicholas Sim 1c845e7b3b PyModule: filename: use non-deprecated function 2021-02-13 17:07:19 +08:00
Nicholas Sim aaddb20a22 CHANGELOG: update as requested 2021-02-13 17:07:03 +08:00
Nicholas Sim b35a6a58b0 ffi: methodobject: PyCFunction_Check: fix outdated def 2021-02-13 17:06:20 +08:00
Nicholas Sim d34856ba59 CHANGELOG: add PR number 2021-02-13 15:43:12 +08:00
Nicholas Sim d84d0de604 ffi cleanup: methodobject to moduleobject 2021-02-13 15:36:59 +08:00
David Hewitt 0b30904eab
Merge pull request #1400 from PyO3/release-0.13.2
release: 0.13.2
2021-02-12 23:34:25 +00:00
David Hewitt 190eb72803 release: 0.13.2 2021-02-12 21:34:29 +00:00
David Hewitt 3df4f9b2da
Merge pull request #1423 from lazka/mingw-support
Support building with Mingw Python
2021-02-12 21:28:44 +00:00
David Hewitt d148c79aa3
Merge pull request #1422 from davidhewitt/fixes-rust-1_50
rust 1.50: clippy and lint fixes
2021-02-12 19:32:16 +00:00
Christoph Reiter e067b32521 Support building with Mingw Python
The DLL of the mingw Python in MSYS2 is named libpython3.8.dll:

$ python3 -m sysconfig | grep LIBPYTHON
        LIBPYTHON = "-lpython3.8"

Add another special case to in get_rustc_link_lib() to handle that case.
Afaik the mingw build doesn't support the limited ABI, so skipt that as well.

This makes all tests pass in an MSYS2 environment and lets us build
python-cryptography.
2021-02-12 12:31:20 +00:00
David Hewitt b2675b11fe rust 1.50: clippy and lint fixes 2021-02-11 22:03:34 +00:00
David Hewitt 83f71d85fa
Merge pull request #1421 from birkenfeld/rust1.41
Restore compatibility with Rust 1.41(.1).
2021-02-11 20:28:24 +00:00
Georg Brandl fa8d7518ca Restore compatibility with Rust 1.41.
This version is currently supported by Debian stable and Alpine Linux.

Fixes #1420
2021-02-11 10:14:25 +01:00
David Hewitt 414c05c14e
Merge pull request #1419 from cfbolz/patch-1
Fix the PyPy link in README.md
2021-02-10 22:04:39 +00:00
Carl Friedrich Bolz-Tereick 9288cf024c
Fix the PyPy link in README.md 2021-02-10 14:01:24 +01:00
David Hewitt 479d67a1eb
Merge pull request #1417 from awestlake87/master
Updated guide after merging awestlake87/pyo3-asyncio#10
2021-02-10 07:21:18 +00:00
Andrew J Westlake db3668898a Updated guide after merging attributes branch into pyo3-asyncio 2021-02-09 18:26:14 -06:00
David Hewitt 377335a0ac
Merge pull request #1415 from davidhewitt/async-await-guide
Added async/await example to the guide
2021-02-09 19:46:47 +00:00
Yuji Kanagawa 8815c6d162
Merge pull request #1414 from PyO3/davidhewitt-patch-1
readme: typo lirbary -> library
2021-02-09 18:57:15 +09:00
Andrew J Westlake 80d4c5b3ad rebased on #1401 2021-02-08 22:43:21 +00:00