Skip to content

Commit

Permalink
Test on 3.9.0 + doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
encukou committed Nov 28, 2020
2 parents 99ae464 + b3f57b6 commit 93c7f75
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -10,6 +10,7 @@ python:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "nightly"

env:
Expand All @@ -22,6 +23,8 @@ matrix:
# CPython 3.8+ won't compile with c90.
- python: "3.8"
env: TEST_USE_CPP=no CFLAGS="-Werror -Wall -std=c90 -Wno-error=strict-aliasing"
- python: "3.9"
env: TEST_USE_CPP=no CFLAGS="-Werror -Wall -std=c90 -Wno-error=strict-aliasing"
- python: "nightly"
env: TEST_USE_CPP=no CFLAGS="-Werror -Wall -std=c90 -Wno-error=strict-aliasing"

Expand Down
11 changes: 11 additions & 0 deletions doc/source/changelog.rst
Expand Up @@ -7,6 +7,14 @@ py3c Changes
Version History
===============

v1.3 (upcoming)
-----------------

Compatibility:

* Tested with Python 3.9.0


v1.2 (2020-06-27)
-----------------

Expand Down Expand Up @@ -43,12 +51,15 @@ Deprecations:
There are no plans to remove the old macro from py3c.

Fixes:

* The PyStr_Concat function no longer causes GCC warnings about being unused.

Tests:

* The test suite now fails on unexpected compiler warnings.

Packaging:

* py3c is now on PyPI, thanks to @xoviat


Expand Down
2 changes: 1 addition & 1 deletion doc/source/contributing.rst
Expand Up @@ -7,7 +7,7 @@
Contributing to py3c
====================

.. highlight:: c
.. highlight:: console

If you would like to contribute to py3c, be it code, documentation,
suggestions, or anything else, please file an issue or send a pull request
Expand Down
4 changes: 2 additions & 2 deletions doc/source/ext-types.rst
Expand Up @@ -103,10 +103,10 @@ are addressed.

What you need to do depends on your initialization style:

CPython style
C89/C++ style
.............

This style, used in CPython, works in both old C and C++::
This style is compatible both with older C compilers and with C++::

static PyNumberMethods long_as_number = {
(binaryfunc)long_add, /*nb_add*/
Expand Down
2 changes: 1 addition & 1 deletion doc/source/reference.rst
Expand Up @@ -306,7 +306,7 @@ All follow the Python 3 API.
PyInt
~~~~~
These functions allow extensions to make the diistinction between ints
These functions allow extensions to make the distinction between ints
and longs on Python 2.
All follow the Python 2 API.
Expand Down

0 comments on commit 93c7f75

Please sign in to comment.