Commit Graph

2951 Commits

Author SHA1 Message Date
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
Andrew J Westlake 411e97643a Changed overview paragraphs at the top, added some of my own changes to (hopefully) improve the flow 2021-02-08 22:43:21 +00:00
Andrew J Westlake e1b2bd20d0 Added sleep in the initialization example as suggested 2021-02-08 22:43:21 +00:00
Andrew J Westlake bc87c57f7c Updated guide to address some issues brought up in the PR 2021-02-08 22:43:21 +00:00
Andrew J Westlake 3b82cf475a Changed instance of Asyncio to `asyncio`
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-02-08 22:43:21 +00:00
Andrew J Westlake b4f338c68d Update guide/src/async-await.md
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-02-08 22:43:21 +00:00
Andrew J Westlake 8140dc99ec Fixed typo in README, flattened sections in Cargo Test portion of guide 2021-02-08 22:43:01 +00:00
Andrew J Westlake 946460caeb Added async/await example to the guide, added pyo3-asyncio to list of tools and libraries 2021-02-08 22:41:42 +00:00
David Hewitt bb5e68fdc8
readme: typo lirbary -> library 2021-02-08 22:09:04 +00:00
Yuji Kanagawa 7fbf7e4d04
Merge pull request #1413 from alex/patch-1
List pyca/cryptography in the README
2021-02-08 16:05:44 +09:00
Alex Gaynor 0d4eda2ee6
List pyca/cryptography in the README 2021-02-07 22:31:33 -05:00
David Hewitt e80eef4b18
Merge pull request #1408 from kylepollina/patch-1
Fix broken links
2021-01-31 13:07:12 +00:00
David Hewitt 6baa1e89d3
Merge branch 'master' into patch-1 2021-01-31 11:16:18 +00:00
David Hewitt 72de73b915
Merge pull request #1409 from tdamsma/patch-1
update url to jsonschema-rs
2021-01-31 11:12:43 +00:00
Thijs Damsma d907947f7d
update url to jsonschema-rs 2021-01-29 20:28:29 +01:00
kylepollina 3414cbbbcd
Fix broken links 2021-01-29 09:23:02 -06:00
Yuji Kanagawa e9cb69b2e1
Merge pull request #1401 from davidhewitt/more-guide-sublevels
guide: organise more chapters into sublevels
2021-01-27 17:48:14 +09:00
David Hewitt faf40954a7
Merge pull request #1405 from davidhewitt/build-script-encoding
build: fix support for non-utf8 systems
2021-01-27 07:24:26 +00:00
David Hewitt 59dac57689 build: fix support for non-utf8 systems 2021-01-26 23:16:47 +00:00
David Hewitt 0a7aee14fe guide: organise more chapters into sublevels 2021-01-26 22:09:02 +00:00
David Hewitt 3a627587f6
Merge pull request #1404 from nw0/mark-safe
Remove `unsafe` for some safe functions
2021-01-26 21:57:49 +00:00
David Hewitt 26368eea66
Merge pull request #1402 from maffoo/macro-result
Use fully-qualified Result in pyobject_native_type_base
2021-01-26 21:57:17 +00:00
Nicholas Sim 7dddb8b0c0 Remove `unsafe` for some safe functions 2021-01-26 17:52:26 +08:00
Matthew Neeley d92f22a7fc Add CHANGELOG entry 2021-01-25 11:49:20 -08:00
Matthew Neeley e85bb06e2b Use full-qualified Result in pyobject_native_type_base 2021-01-25 11:21:22 -08:00
David Hewitt fbe7de1efb
Merge pull request #1398 from kangalioo/datetime_with_fold
Add PyDateTime::new_with_fold() method
2021-01-24 11:23:02 +00:00
kangalioo a63c0e676e Add test for PyDateTime::new_with_fold() 2021-01-23 20:40:42 +01:00
David Hewitt f2bf58ea37
Merge pull request #1399 from davidhewitt/pystring-to-string
pystring: use PyUnicode_AsUTF8AndSize always from Python 3.10 and up
2021-01-23 16:01:09 +00:00
David Hewitt d82a1c70dc pystring: use PyUnicode_AsUTF8AndSize always from Python 3.10 and up 2021-01-23 14:20:06 +00:00
kangalioo 96e379fdec Disable PyDateTime::new_with_fold on PyPy 2021-01-21 09:56:39 +01:00
kangalioo f135bb046e Add changelog entry 2021-01-21 09:55:32 +01:00
kangalioo 487e1f6c3d Merge branch 'master' of https://github.com/PyO3/pyo3 into datetime_with_fold 2021-01-20 20:39:09 +01:00