Commit Graph

3838 Commits

Author SHA1 Message Date
mejrs ed991d23a3 Fix ambiguous imports 2021-10-02 19:00:51 +02:00
David Hewitt 00ea4bccce examples: export __doc__ in example projects 2021-10-01 09:05:58 +01:00
David Hewitt e4b98408f5
Merge pull request #1892 from davidhewitt/exceptions-coverage
exceptions: add test coverage for all exceptions
2021-09-30 22:16:51 +01:00
David Hewitt c986b5d4ae
Merge pull request #1889 from davidhewitt/py310
packaging: formal support for Python 3.10
2021-09-29 19:36:52 +01:00
David Hewitt 53582177fd exceptions: add test coverage for all exceptions 2021-09-29 19:34:25 +01:00
David Hewitt 3adacaed2c
Merge pull request #1890 from mejrs/err2
Document imported exceptions
2021-09-29 19:32:19 +01:00
David Hewitt 03ba4a5597 ffi: use _Py_NewRef for clarity 2021-09-29 08:02:08 +01:00
David Hewitt 7c4503e0ca ffi: updates for Python 3.10
Co-authored-by: Bruno Kolenbrander <59372212+mejrs@users.noreply.github.com>
2021-09-29 08:02:08 +01:00
mejrs 7818e4866c Document imported exceptions 2021-09-27 00:31:09 +02:00
David Hewitt a5d0aa777c py310: add abi3-py310 feature 2021-09-26 16:21:35 +01:00
David Hewitt 16ac7d481d
Merge pull request #1844 from davidhewitt/mapping-type
types: add PyMapping
2021-09-26 14:55:59 +01:00
David Hewitt d929916071 types: add PyMapping 2021-09-26 13:57:33 +01:00
Mo Mirza 4a34cc63a6
Remove use of unwrap (#1888)
* Remove use of unwrap

* Update changelog

* Update CHANGELOG.md

Co-authored-by: Mo Mirza <mo.mirza@iwoca.co.uk>
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-09-26 09:01:23 +01:00
David Hewitt 97fa3f739e
Merge pull request #1887 from deantvv/ffi-cleanup-0925-a
ffi: cleanup from sysmodule to tupleobject
2021-09-25 22:17:02 +01:00
Dean Li c72033751e
update changelog 2021-09-25 21:02:06 +08:00
Dean Li fb19ceadca
ffi: cleanup tupleobject
* Remove function `PyTuple_ClearFreeList` from python 3.9 above
* Move non-limited api into ffi/cpython/
2021-09-25 21:02:06 +08:00
David Hewitt d736256ec0
Merge pull request #1885 from davidhewitt/pep-604
pep 604: use `T | U` instead of `Union[T, U]` in messaging
2021-09-25 11:59:34 +01:00
David Hewitt ce74ff776b
Merge pull request #1886 from arxanas/patch-1
docs: fix timestamps for linked articles
2021-09-25 10:03:10 +01:00
Dean Li 59678d3091
ffi: cleanup sysmodule and add fileutils
* Move `Py_DecodeLocale` from `sysmodule` to `fileutils`
* Add python 3.11 deprecation for `PySys_AddWarnOption`,
`PySys_AddWarnOptionUnicode` and `PySys_HasWarnOptions`
2021-09-25 15:47:35 +08:00
Waleed Khan afea841407
docs: fix timestamps for linked articles
It looks like a couple of the articles got their published timestamps swapped.
2021-09-24 15:13:16 -07:00
David Hewitt 9e80f3dfdd pep 604: use `T | U` instead of `Union[T, U]` in messaging 2021-09-24 22:46:25 +01:00
David Hewitt 9fa0abe85d
Merge pull request #1864 from davidhewitt/pymethods-protos
pymethods: add support for protocol methods
2021-09-24 22:22:16 +01:00
Georg Brandl 8744ee6e48
Merge pull request #1882 from mejrs/cell
rewrite Pycell documentation
2021-09-24 12:40:56 +02:00
David Hewitt e24521de9c
Merge pull request #1879 from deantvv/ffi-structseq-cleanup
ffi: cleanup structseq
2021-09-23 20:22:42 +01:00
Dean Li 040e751f59
ffi: cleanup structseq 2021-09-23 22:43:44 +08:00
David Hewitt 0a41fb3850
Merge pull request #1883 from mejrs/lib
Hide some macros
2021-09-23 06:07:02 +01:00
mejrs ffbc3576c2 Hide some implementation detail-y things. 2021-09-23 01:10:11 +02:00
mejrs 55ff51307d fix broken link 2021-09-22 22:56:40 +02:00
mejrs baa30bd562 Fix test 2021-09-22 16:14:16 +02:00
mejrs e380358ac7 use `Py` instead of `Pycell` 2021-09-22 15:02:49 +02:00
Bruno Kolenbrander 4ccf9ed324
Apply suggestions from code review
Co-authored-by: Georg Brandl <georg@python.org>
2021-09-22 13:26:37 +02:00
David Hewitt 9ea473372a
Merge pull request #1880 from ravenexp/fix-abi3-arg
build-config: Always pass `abi3` flag to `default_lib_name_windows()`
2021-09-22 09:07:56 +01:00
Sergey Kvachonok 2f74ab0d23 build-config: Always pass `abi3` flag to `default_lib_name_windows()`
Hardcoding `false` here leads to an incorrect abi3 DLL name
when cross-compiling to Windows.
2021-09-22 07:30:21 +01:00
mejrs e805c998f9 rewrite Pycell documentation 2021-09-22 03:13:26 +02:00
David Hewitt f771d1684e
Merge pull request #1876 from atouchet/links
Update various links and formatting
2021-09-19 01:38:26 +01:00
Alex Touchet 2a09583b28 Update various links and formatting 2021-09-18 11:48:45 -07:00
David Hewitt 179b5d1f47 pymethods: fix support for MSRV 2021-09-18 16:42:02 +01:00
David Hewitt 592c98c722 pymethods: disable protocols with multiple-pymethods for now 2021-09-18 13:08:24 +01:00
David Hewitt a551b005b4 pymethods: finish support for number protocol 2021-09-18 12:59:25 +01:00
David Hewitt c2d78ca76e pymethods: faster compilation for protos, tidy ups 2021-09-18 09:49:05 +01:00
David Hewitt 43eb762346 pymethods: support most numerical methods 2021-09-18 00:31:17 +01:00
David Hewitt 56ef7c9f6d
Merge pull request #1874 from davidhewitt/py36-threads-panic
gil: try to initialize threads on Python 3.6 if possible
2021-09-17 13:01:59 +01:00
David Hewitt 70d829de66 gil: try to initialize threads on Python 3.6 if possible 2021-09-17 08:48:21 +01:00
David Hewitt 75c0116f6a pymethods: cleanup macros generating setdel slots 2021-09-17 08:43:52 +01:00
David Hewitt 92e2156161 pymethods: support inplace numerical operations 2021-09-17 08:13:54 +01:00
David Hewitt c090b6581d pymethods: fix clippy errors 2021-09-17 08:13:54 +01:00
David Hewitt 5210517695 pymethods: implement more mapping methods 2021-09-17 08:13:54 +01:00
David Hewitt fda18b07d7 pymethods: implement some mapping methods 2021-09-17 08:13:54 +01:00
David Hewitt b544b5a6d7 pymethods: support iter and async protocols 2021-09-17 08:13:54 +01:00
David Hewitt 8408328cb3 pymethods: add support for protocol methods 2021-09-17 08:13:54 +01:00