Commit Graph

2981 Commits

Author SHA1 Message Date
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
kangalioo 08ef6992c5 Add PyDateTime::new_with_fold method 2021-01-20 19:40:47 +01:00
Yuji Kanagawa edcc2e6d18
Merge pull request #1388 from nw0/safety-doc
add some safety notes
2021-01-19 14:39:18 +09:00
Nicholas Sim 189ea208ca Update PyBytes::from_ptr docstring to reflect its usage 2021-01-18 18:31:38 +08:00
Nicholas Sim 5eeeb2cca9 Update doc links based on review 2021-01-16 22:11:11 +08:00
Nicholas Sim d2dfb141b1 Update new safety notes with requested changes 2021-01-16 21:31:16 +08:00
Nicholas Sim bb61680c58
Update src/conversion.rs
Co-authored-by: Yuji Kanagawa <yuji.kngw.80s.revive@gmail.com>
2021-01-16 21:16:14 +08:00
David Hewitt 3de51d59df
Merge pull request #1384 from ijl/pycfunctionfastwithkeyboards
Define _PyCFunctionFastWithKeywords() on CPython 3.7+
2021-01-15 14:50:35 +00:00
Nicholas Sim 66dc262949 add some safety notes 2021-01-15 22:31:40 +08:00
David Hewitt b6f595ba01
Merge pull request #1387 from nw0/ffi-4
ffi module cleanup: listobject.h to memoryobject.h
2021-01-15 13:01:58 +00:00
David Hewitt 2ada44b7e0
Apply suggestions from review
Co-authored-by: Nicholas Sim <nsim+github@posteo.net>
2021-01-15 12:58:06 +00:00
Nicholas Sim d023338ed5 speculatively add PR number 2021-01-15 18:26:26 +08:00
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
ijl d0145bb4ee Define _PyCFunctionFastWithKeywords() on CPython 3.7+ 2021-01-13 15:44:36 +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