Commit Graph

3561 Commits

Author SHA1 Message Date
Nicholas Sim 46ca4e86e5 cpython/dictobject: exclude whole file for pypy 2020-12-27 14:10:17 +08:00
Nicholas Sim 83739e60f7 ffi module cleanup: context.h to frameobject.h 2020-12-27 14:00:50 +08:00
Nicholas Sim 3f093d9e59
ffi module cleanup (#1338)
* initial work to clean up ffi module

* ffi: mirror cpython Includes

* ffi: start to alphebetise, note skipped headers

* ffi: temporarily move _PyFrameEvalFunction back

* ffi cleanup: fix pypy compilation

* Update src/ffi/mod.rs

Co-authored-by: Yuji Kanagawa <yuji.kngw.80s.revive@gmail.com>

* add suggested changes

* ffi cleanup: remove unnecessary use stmt

* ffi cleanup: add deprecation warning

* ffi cleanup: transitively deprecate, update changelog

Co-authored-by: Yuji Kanagawa <yuji.kngw.80s.revive@gmail.com>
2020-12-27 11:53:18 +09:00
David Hewitt 9ec937bc63
Merge pull request #1340 from davidhewitt/deny-warnings
ci: deny warnings using RUSTFLAGS
2020-12-26 10:06:00 +00:00
David Hewitt 51d1996218 ci: deny warnings using RUSTFLAGS 2020-12-26 08:27:08 +00:00
David Hewitt 384f32a89c
Merge pull request #1334 from cecini/prfixbuildrs
Fix the pydebug with trace refs and count_allocs for python > 3.7
2020-12-25 20:42:14 +00:00
cecini c780aa931d Fix the pydebug with trace refs and count_allocs for python > 3.7 2020-12-23 16:20:19 +00:00
David Hewitt 4498b77c2c
Merge pull request #1333 from PyO3/release-0.13
Release 0.13
2020-12-22 21:09:30 +00:00
David Hewitt 26ca1f5bca Release 0.13 2020-12-22 15:42:04 +00:00
David Hewitt 33b3da3337
Merge pull request #1328 from davidhewitt/pyproto-no-inventory
pyproto: remove inventory from implementation
2020-12-22 15:29:20 +00:00
David Hewitt 9e7fa408d4 pyproto: use buffer slots on Python 3.9 and up 2020-12-22 13:33:42 +00:00
David Hewitt 51704128c3
Merge pull request #1332 from alex/aarch64-macos-docs
Document that macOS linker flags apply on aarch64 as well
2020-12-20 16:08:59 +00:00
Alex Gaynor 5bca8371da Document that macOS linker flags apply on aarch64 as well 2020-12-20 10:30:48 -05:00
David Hewitt 11f0442468
Merge pull request #1320 from PyO3/abi3-py36-now-passes-tests
abi3-py36 now passes tests
2020-12-20 14:37:24 +00:00
David Hewitt db74cc85fa pypy: final fix 2020-12-20 13:50:39 +00:00
kngwyu 839f13ea21 Use assert_ne for checking thread initialization 2020-12-20 12:20:35 +00:00
kngwyu dc2dbd6c19 Use #[cfg(not(Py_LIMITED_API))] for datetime API 2020-12-20 12:20:35 +00:00
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