Commit Graph

3194 Commits

Author SHA1 Message Date
kngwyu df3826b652 Remove a redundant #cfg 2020-12-20 12:20:35 +00:00
kngwyu 164c41e610 Add a test for abi3-py36 2020-12-20 12:20:35 +00:00
kngwyu 8c6e62ec98 abi3-py36 now passes tests 2020-12-20 12:20:35 +00:00
David Hewitt 6a02f62f7a
Merge pull request #1331 from davidhewitt/pypy-fixes
pypy: even more fixes
2020-12-20 12:14:22 +00:00
David Hewitt 4e0732366e pypy: even more fixes 2020-12-20 11:53:42 +00:00
David Hewitt 022c626de9 defs: scope paths in modules 2020-12-20 10:01:30 +00:00
David Hewitt 4e650d939d pyproto: remove inventory from implementation 2020-12-20 10:01:30 +00:00
David Hewitt a0588aa6fd
Merge pull request #1317 from davidhewitt/macros-crates
macros: rename crates for consistency
2020-12-20 09:54:46 +00:00
David Hewitt 9abc0e8733
Merge pull request #1329 from davidhewitt/pypy-fixes
pypy: update some definitions and fixes
2020-12-20 09:52:23 +00:00
David Hewitt a689ab42c6 macros: rename crates for consistency 2020-12-20 06:39:28 +00:00
David Hewitt 8936f538e3 pypy: update some definitions and fixes 2020-12-20 06:38:26 +00:00
Yuji Kanagawa 3595a05f4b
Merge pull request #1322 from davidhewitt/py-version
python: add version() to get running version
2020-12-20 15:28:19 +09:00
David Hewitt 2616d3de76 python: add version() to get running version 2020-12-19 19:13:59 +00:00
David Hewitt 1f64f98a33
Merge pull request #1327 from davidhewitt/pypy-warnings
pypy: fix more warnings
2020-12-19 10:58:35 +00:00
David Hewitt 08c426a7d4 pypy: fix more warnings 2020-12-19 09:50:05 +00:00
Yuji Kanagawa 2515862a05
Merge pull request #1326 from PyO3/davidhewitt-patch-10
CHANGELOG: remove unneeded entry
2020-12-19 15:57:09 +09:00
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
David Hewitt 3d9f660e21
CHANGELOG: remove unneeded entry 2020-12-18 23:48:11 +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