[2.10] updates intersphinx references for docs links (#71921) (#71945)

* updates intersphinx references for docs links (#71921)

* DOCS: updates intersphinx references for docs links
* TESTS: Raise the number of bytes scanned to determine if a file is binary. The newest ansible-2.10.inv file has its first null byte at position 2261. 4096 is still a cheap chunksize to read so it still makes sense to raise this.

Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
(cherry picked from commit 27826827e9)

* adds changelog for already-merged PR (#71947)
* adds changelogs/fragments/71921-raise-bytes-for-binary-test.yml

Co-authored-by: Matt Clay <matt@mystile.com>
(cherry picked from commit 91b0dfb659)
This commit is contained in:
Alicia Cozine 2020-09-25 13:53:44 -05:00 committed by GitHub
parent 5282ab853d
commit 12874bbdea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- ansible-test - Raise the number of bytes scanned by ansible-test to determine if a file is binary to 4096.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -500,7 +500,7 @@ def is_binary_file(path):
with open_binary_file(path) as path_fd:
# noinspection PyTypeChecker
return b'\0' in path_fd.read(2048)
return b'\0' in path_fd.read(4096)
def generate_password():