Commit Graph

2777 Commits

Author SHA1 Message Date
Yuji Kanagawa e64dc12de1
Merge pull request #1315 from PyO3/abi3-128bit-integer
Faster conversion from u128/i128 to PyLong with abi3
2020-12-19 15:56:08 +09:00
Yuji Kanagawa 58ade65b99
Merge pull request #1323 from davidhewitt/deny-warnings
ci: deny all warnings
2020-12-19 15:55:40 +09:00
Yuji Kanagawa db60480e48
Merge pull request #1279 from davidhewitt/refactor-macros
types: refactor native_type macros
2020-12-19 15:54:30 +09:00
David Hewitt dd479052e2 pypy: fix warnings 2020-12-18 23:57:14 +00:00
kngwyu b341dffd4f Use $(;$generics)* instead of generics: <$(;$generics)+> 2020-12-18 23:15:45 +00:00
David Hewitt f8d408f3b5 types: refactor native_type macros 2020-12-18 23:15:39 +00:00
David Hewitt 3d6356223e docs: fix warnings 2020-12-18 23:11:10 +00:00
David Hewitt e245f5239a ci: deny all warnings 2020-12-18 23:11:10 +00:00
David Hewitt ff5e2d0856
Merge pull request #1325 from davidhewitt/pypy-ci-version
ci: use explicit pypy syntax
2020-12-18 23:09:58 +00:00
Yuji Kanagawa d416988f88
Merge pull request #1238 from davidhewitt/ci-py3_10
ci: add Python 3.10-dev
2020-12-18 14:05:31 +09:00
kngwyu cd7348fc51 Use proptest for testing 128bit intger conversion 2020-12-18 13:26:29 +09:00
kngwyu c274b6008b Fix py_run macro so that we can use it internally 2020-12-18 13:26:21 +09:00
David Hewitt 90a1221008 ci: use explicit pypy syntax 2020-12-17 08:51:00 +00:00
David Hewitt e155562cd5 ci: add Python 3.10-dev 2020-12-17 03:05:54 +00:00
Yuji Kanagawa b444f98586
Merge pull request #1319 from davidhewitt/pyclass-new-custom-error
pyclass #[new]: allow using custom error type
2020-12-15 00:12:19 +09:00
David Hewitt fa8c93cfd1 pyclass #[new]: allow using custom error type 2020-12-13 23:50:03 +00:00
David Hewitt c66dfa4e15
Merge pull request #1318 from alex/document-abi3-limitations
Clearly document the limitations of abi3
2020-12-13 16:09:28 +00:00
Alex Gaynor 3edd961fa3 Clearly document the limitations of abi3
closes #1288
2020-12-13 10:26:37 -05:00
kngwyu 3ebf5268ae Faster conversion from PyLong to u128/i128 with LIMITED_API 2020-12-13 23:49:05 +09:00
David Hewitt 2b94da1cbd
Merge pull request #1316 from PyO3/add-license-links
Add symbolic links to LICENSE in subcrates
2020-12-13 14:07:32 +00:00
kngwyu c0587ac919 Add symbolic links to LICENSE in subcrates 2020-12-13 17:56:59 +09:00
kngwyu a93d97b351 Faster conversion from u128/i128 to PyLong with abi3 2020-12-13 17:52:26 +09:00
Yuji Kanagawa 22359e9097
Merge pull request #1310 from PyO3/abi3-128bit-integer
Implement 128bit integer conversion for limited API
2020-12-12 22:30:15 +09:00
Yuji Kanagawa 560fb4883d
Merge pull request #1312 from birkenfeld/fix-1311
ffi: use recommended stable way to represent an opaque C struct
2020-12-12 22:29:45 +09:00
Yuji Kanagawa 2a3a730db5
Merge pull request #1303 from scalexm/lit
Do not include the double quotes in `#[pyclass(name = "literal")]`
2020-12-12 22:28:56 +09:00
David Hewitt 5133f81e6d deprecate pyclass name without quotes 2020-12-12 11:11:11 +00:00
Yuji Kanagawa 7a0542d44e
Update CHANGELOG.md
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2020-12-12 19:38:49 +09:00
kngwyu 8c4cba25b7 Implement 128bit integer conversion for limited API 2020-12-12 19:13:53 +09:00
Georg Brandl 7d5ff2d768 ffi: use recommended stable way to represent an opaque C struct
After `extern { type ... }` has stabilized for a while, this can
be replaced.  For now, I used a macro since it is much easier to
spot the locations to touch at that time.

fixes #1311
2020-12-12 10:59:36 +01:00
Yuji Kanagawa 9aa70f7c89
Merge pull request #1263 from PyO3/abi3-min-python
Add abi3-py* features
2020-12-08 12:52:00 +09:00
Yuji Kanagawa 7bef4e7a7f
Merge pull request #1307 from Stranger6667/dd/expand-examples
Add `jsonschema-rs` and `css-inline` to the examples list
2020-12-08 12:50:53 +09:00
kngwyu 49143724d5 Rename PYO3_NO_INTERPRETER by PYO3_NO_PYTHON 2020-12-07 17:30:04 +09:00
Dmitry Dygalo 4ad9dacd4a
Add `jsonschema-rs` and `css-inline` to the examples list 2020-12-06 12:25:56 +01:00
Yuji Kanagawa 6da6bc9461
Apply suggestions from @davidhewitt
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2020-12-06 16:06:10 +09:00
kngwyu 1b838504b7 Introduce PYO3_NO_INTERPRETER variable for build script 2020-12-01 23:40:49 +09:00
scalexm 7dadf59fde Do not include the double quotes in `#[pyclass(name = "literal")]` 2020-11-30 22:04:07 +01:00
David Hewitt 92b7a9736c
Merge pull request #1301 from Palladinium/check-signals-faq
Add section about Python::check_signals to the FAQ
2020-11-30 08:36:19 +00:00
Patrick Chieppe d5767b8921 Fix typo 2020-11-30 11:46:26 +11:00
Patrick Chieppe cda46cbe40 Add CHANGELOG.md entry 2020-11-30 11:43:01 +11:00
Patrick Chieppe bba1cf19b3 Add section about Python::check_signals to the FAQ 2020-11-30 11:38:40 +11:00
Yuji Kanagawa 0696f03807
Merge pull request #1299 from davidhewitt/backport-0.12.4
Release notes for backported 0.12.4
2020-11-29 17:10:18 +09:00
David Hewitt afa5ed3ba2 Release notes for backported 0.12.4 2020-11-28 20:21:52 +00:00
Yuji Kanagawa 729d355672
Merge pull request #1295 from scalexm/lit
Allow `#[pyclass(name = "string literal")]`
2020-11-28 20:24:03 +09:00
Yuji Kanagawa 1ee3961a0d
Merge pull request #1297 from davidhewitt/pyobject-from-py
py: fix reference count bug in From(Py<T>) for PyObject
2020-11-28 20:23:23 +09:00
Yuji Kanagawa 884f9b23b8
Merge pull request #1294 from PyO3/davidhewitt-patch-9
readme: add pythonize
2020-11-28 20:15:41 +09:00
David Hewitt f86e6d3923 py: fix reference count bug in From(Py<T>) for PyObject 2020-11-28 10:34:34 +00:00
scalexm 649b439463 Allow `#[pyclass(name = "string literal")]`
This is also more in line with the `#[name = "..."]` attribute on
methods.
2020-11-27 18:45:07 +01:00
David Hewitt 6669493502
Merge pull request #1296 from davidhewitt/map-with-capacity
dict: use with_capacity in HashMap extraction
2020-11-26 18:15:36 +00:00
David Hewitt 1b0642fdd5 dict: use HashMap::with_capacity in extract 2020-11-26 10:02:59 +00:00
David Hewitt 02b90c462f benches: add map / set extraction 2020-11-26 10:02:59 +00:00