Commit Graph

2913 Commits

Author SHA1 Message Date
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
David Hewitt 7c61c9b7f9 gil: tidy ups to finalization 2021-01-12 07:42:47 +00:00
David Hewitt ad40632c6b
Merge pull request #1366 from daniil-konovalenko/serde
implement Serialize, Deserialize for Py<T>
2021-01-12 07:36:19 +00:00
Daniil Konovalenko abb5829e9c implement Serialize, Deserialize for Py<T> 2021-01-11 22:19:10 +00:00
David Hewitt b22ceb94dc
Merge pull request #1380 from decathorpe/master
Exclude more files from published crates
2021-01-10 21:50:17 +00:00
Fabio Valentini 180a51d420
Exclude more files from published crates 2021-01-10 18:59:50 +01:00
David Hewitt 6d795932bc
Merge pull request #1369 from PyO3/release-0.13.1
release: 0.13.1
2021-01-10 13:45:04 +00:00
David Hewitt d2e87d95f3 release: 0.13.1 2021-01-10 12:20:10 +00:00
David Hewitt 69fcfadc56
Merge pull request #1370 from PyO3/pep-623
Deprecate functions from PEP 623
2021-01-10 12:17:45 +00:00
David Hewitt 1509b2fe26
Merge pull request #1371 from PyO3/maturin-abi3-windows-linker-args
Make abi3 linking work on windows
2021-01-10 11:58:25 +00:00
David Hewitt de86b2c1d3
Merge pull request #1373 from davidhewitt/use-package-version
gil: use CARGO_PACKAGE_VERSION env var
2021-01-10 10:57:09 +00:00
David Hewitt 88872eba4f macros-backend: improve error handling ergonomics 2021-01-10 10:25:43 +00:00
konstin 02f3d5cc90 Deprecate functions from PEP 623 2021-01-10 10:18:08 +00:00
David Hewitt a8d8003b31 guide: document PYO3_NO_PYTHON on Windows 2021-01-10 10:16:37 +00:00
konstin c8b290a254 build: make abi3 linking work on windows 2021-01-10 10:13:49 +00:00
Yuji Kanagawa 1303cf6202
Merge pull request #1372 from davidhewitt/deprecated-changelog
changelog: add Deprecated sections
2021-01-10 16:08:55 +09:00
David Hewitt af9a58a8f9 gil: use CARGO_PACKAGE_VERSION env var 2021-01-09 14:42:46 +00:00
David Hewitt 0257acfd08 changelog: add Deprecated sections 2021-01-09 08:45:02 +00:00
David Hewitt 364b7c2214
Merge pull request #1365 from davidhewitt/fix-tp-dealloc
pyclass: fix reference count issue in subclass new
2021-01-08 06:43:03 +00:00