Staging
v0.5.1
https://github.com/python/cpython
Revision 705d271d553b77fd170d27ab8d0f11f638c7f145 authored by Miss Islington (bot) on 06 February 2020, 15:14:37 UTC, committed by GitHub on 06 February 2020, 15:14:37 UTC

Some numerator types used (specifically NumPy) decides to not
return a Python boolean for the "a != b" operation. Using the equivalent
call to bool() guarantees a bool return also for such types.
(cherry picked from commit 427c84f13f7719e6014a21bd1b81efdc02a046fb)

Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
1 parent 6ba8dc6
Raw File
Tip revision: 705d271d553b77fd170d27ab8d0f11f638c7f145 authored by Miss Islington (bot) on 06 February 2020, 15:14:37 UTC
bpo-39274: Ensure Fraction.__bool__() returns a bool (GH-18017)
Tip revision: 705d271
CODE_OF_CONDUCT.rst
Code of Conduct
===============

Please note that all interactions on
`Python Software Foundation <https://www.python.org/psf-landing/>`__-supported
infrastructure is `covered
<https://www.python.org/psf/records/board/minutes/2014-01-06/#management-of-the-psfs-web-properties>`__
by the `PSF Code of Conduct <https://www.python.org/psf/codeofconduct/>`__,
which includes all infrastructure used in the development of Python itself
(e.g. mailing lists, issue trackers, GitHub, etc.).

In general this means everyone is expected to be open, considerate, and
respectful of others no matter what their position is within the project.

back to top