Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-101961 fileinput.hookcompressed should not set the encoding value for the binary mode #102068

Merged
merged 9 commits into from
Feb 21, 2023

Conversation

0x1306e6d
Copy link
Contributor

@0x1306e6d 0x1306e6d commented Feb 20, 2023

fileinput.hook_compressed doesn't set the given None encoding to locale if the given mode contains b.

@bedevere-bot
Copy link

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

@cpython-cla-bot
Copy link

cpython-cla-bot bot commented Feb 20, 2023

All commit authors signed the Contributor License Agreement.
CLA signed

@corona10 corona10 self-assigned this Feb 20, 2023
@corona10 corona10 self-requested a review February 20, 2023 10:21
@corona10
Copy link
Member

@ghkim3221 Please add the NEWS.d by using blurb tool :)

Copy link
Member

@corona10 corona10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can verify the encoding at this line if the user assigns the encoding explicitly.
The correct error should be raised.

cpython/Lib/fileinput.py

Lines 402 to 403 in b1b375e

if encoding is None: # EncodingWarning is emitted in FileInput() already.
encoding = "locale"

@bedevere-bot
Copy link

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

Misc/ACKS Outdated
@@ -1001,6 +1001,7 @@ Ilia Kurenkov
Vladimir Kushnir
Erno Kuusela
Kabir Kwatra
Gihwan Kim
Copy link
Member

@corona10 corona10 Feb 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like you have to move up the name to the following order.

Gihwan Kim
Jan Kim
Taek Joo Kim

@corona10 corona10 added needs backport to 3.10 only security fixes needs backport to 3.11 only security fixes labels Feb 20, 2023
@@ -980,7 +997,6 @@ def check(mode, expected_lines):
with self.assertRaises(ValueError):
check('rb', ['A\n', 'B\r\n', 'C\r', 'D\u20ac'])


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert the unrelated change :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, thank you

…e56jh.rst

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
@corona10
Copy link
Member

@ghkim3221 Did you sign up for the CLA?

Copy link
Member

@corona10 corona10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
I verified several things in the local environment too.
Thanks for the hard work @ghkim3221 !!

@0x1306e6d
Copy link
Contributor Author

@corona10 Yes, I signed in. Yesterday, Internal Server Error was returned but the badge was changed to signed.

@corona10 corona10 changed the title gh-101961 Do not pass encoding if binary mode gh-101961 fileinput.hookcompressed does not set encoding for the binary mode Feb 21, 2023
@corona10 corona10 changed the title gh-101961 fileinput.hookcompressed does not set encoding for the binary mode gh-101961 fileinput.hookcompressed doesn't set encoding value for the binary mode Feb 21, 2023
@corona10 corona10 changed the title gh-101961 fileinput.hookcompressed doesn't set encoding value for the binary mode gh-101961 fileinput.hookcompressed should not set the encoding value for the binary mode Feb 21, 2023
@corona10 corona10 merged commit 6f25657 into python:main Feb 21, 2023
@miss-islington
Copy link
Contributor

Thanks @ghkim3221 for the PR, and @corona10 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-102098 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Feb 21, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 21, 2023
…value for the binary mode (pythongh-102068)

(cherry picked from commit 6f25657)

Co-authored-by: Gihwan Kim <ghkim3221@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 21, 2023
…value for the binary mode (pythongh-102068)

(cherry picked from commit 6f25657)

Co-authored-by: Gihwan Kim <ghkim3221@gmail.com>
@bedevere-bot
Copy link

GH-102099 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Feb 21, 2023
corona10 pushed a commit that referenced this pull request Feb 21, 2023
… value for the binary mode (gh-102068) (#102099)

gh-101961 fileinput.hookcompressed should not set the encoding value for the binary mode (gh-102068)
(cherry picked from commit 6f25657)

Co-authored-by: Gihwan Kim <gihwan.kim@linecorp.com>
corona10 pushed a commit that referenced this pull request Feb 21, 2023
… value for the binary mode (gh-102068) (#102098)

gh-101961 fileinput.hookcompressed should not set the encoding value for the binary mode (gh-102068)
(cherry picked from commit 6f25657)

Co-authored-by: Gihwan Kim <gihwan.kim@linecorp.com>
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot ARM Raspbian 3.10 has failed when building commit d9dce23.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/685/builds/860) and take a look at the build logs.
  4. Check if the failure is related to this commit (d9dce23) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/685/builds/860

Summary of the results of the build (if available):

== Tests result: ENV CHANGED ==

408 tests OK.

10 slowest tests:

  • test_peg_generator: 7 min 1 sec
  • test_largefile: 5 min 57 sec
  • test_multiprocessing_spawn: 3 min 24 sec
  • test_concurrent_futures: 2 min 57 sec
  • test_venv: 2 min 47 sec
  • test_unparse: 2 min 37 sec
  • test_multiprocessing_forkserver: 2 min 20 sec
  • test_tokenize: 2 min 18 sec
  • test_io: 2 min 15 sec
  • test_asyncio: 1 min 59 sec

1 test altered the execution environment:
test_multiprocessing_forkserver

16 tests skipped:
test_devpoll test_idle test_ioctl test_kqueue test_msilib
test_startfile test_tcl test_tix test_tk test_ttk_guionly
test_ttk_textonly test_turtle test_winconsoleio test_winreg
test_winsound test_zipfile64

Total duration: 29 min 24 sec

Click to see traceback logs
remote: Enumerating objects: 22, done.        
remote: Counting objects:   4% (1/22)        
remote: Counting objects:   9% (2/22)        
remote: Counting objects:  13% (3/22)        
remote: Counting objects:  18% (4/22)        
remote: Counting objects:  22% (5/22)        
remote: Counting objects:  27% (6/22)        
remote: Counting objects:  31% (7/22)        
remote: Counting objects:  36% (8/22)        
remote: Counting objects:  40% (9/22)        
remote: Counting objects:  45% (10/22)        
remote: Counting objects:  50% (11/22)        
remote: Counting objects:  54% (12/22)        
remote: Counting objects:  59% (13/22)        
remote: Counting objects:  63% (14/22)        
remote: Counting objects:  68% (15/22)        
remote: Counting objects:  72% (16/22)        
remote: Counting objects:  77% (17/22)        
remote: Counting objects:  81% (18/22)        
remote: Counting objects:  86% (19/22)        
remote: Counting objects:  90% (20/22)        
remote: Counting objects:  95% (21/22)        
remote: Counting objects: 100% (22/22)        
remote: Counting objects: 100% (22/22), done.        
remote: Compressing objects:  50% (1/2)        
remote: Compressing objects: 100% (2/2)        
remote: Compressing objects: 100% (2/2), done.        
remote: Total 12 (delta 10), reused 11 (delta 10), pack-reused 0        
From https://github.com/python/cpython
 * branch                  3.10       -> FETCH_HEAD
Note: switching to 'd9dce23643c319ff4f721ad65a7f9811e8adfc53'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at d9dce23643 [3.10] gh-101961 fileinput.hookcompressed should not set the encoding value for the binary mode (gh-102068) (#102099)
Switched to and reset branch '3.10'

In file included from Objects/bytes_methods.c:435:
Objects/stringlib/fastsearch.h: In function ‘stringlib__preprocess’:
Objects/stringlib/fastsearch.h:333:19: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare]
  333 |         if (shift > SHIFT_OVERFLOW) {
      |                   ^
In file included from Objects/bytearrayobject.c:1103:
Objects/stringlib/fastsearch.h: In function ‘stringlib__preprocess’:
Objects/stringlib/fastsearch.h:333:19: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare]
  333 |         if (shift > SHIFT_OVERFLOW) {
      |                   ^
In file included from Objects/bytesobject.c:1281:
Objects/stringlib/fastsearch.h: In function ‘stringlib__preprocess’:
Objects/stringlib/fastsearch.h:333:19: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare]
  333 |         if (shift > SHIFT_OVERFLOW) {
      |                   ^
Objects/obmalloc.c:1413:1: warning: ‘always_inline’ function might not be inlinable [-Wattributes]
 1413 | arena_map_get(block *p, int create)
      | ^~~~~~~~~~~~~
In file included from Objects/unicodeobject.c:938:
Objects/stringlib/fastsearch.h: In function ‘asciilib__preprocess’:
Objects/stringlib/fastsearch.h:333:19: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare]
  333 |         if (shift > SHIFT_OVERFLOW) {
      |                   ^
In file included from Objects/unicodeobject.c:947:
Objects/stringlib/fastsearch.h: In function ‘ucs1lib__preprocess’:
Objects/stringlib/fastsearch.h:333:19: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare]
  333 |         if (shift > SHIFT_OVERFLOW) {
      |                   ^
In file included from Objects/unicodeobject.c:957:
Objects/stringlib/fastsearch.h: In function ‘ucs2lib__preprocess’:
Objects/stringlib/fastsearch.h:333:19: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare]
  333 |         if (shift > SHIFT_OVERFLOW) {
      |                   ^
In file included from Objects/unicodeobject.c:967:
Objects/stringlib/fastsearch.h: In function ‘ucs4lib__preprocess’:
Objects/stringlib/fastsearch.h:333:19: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare]
  333 |         if (shift > SHIFT_OVERFLOW) {
      |                   ^
In file included from Objects/unicodeobject.c:979:
Objects/stringlib/fastsearch.h: In function ‘stringlib__preprocess’:
Objects/stringlib/fastsearch.h:333:19: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare]
  333 |         if (shift > SHIFT_OVERFLOW) {
      |                   ^
In function ‘_write_size64’,
    inlined from ‘_Pickler_CommitFrame’ at /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:979:9:
/var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:963:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  963 |         out[i] = 0;
      |         ~~~~~~~^~~
In file included from ./Include/bytesobject.h:62,
                 from ./Include/Python.h:82,
                 from /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:11:
/var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c: In function ‘_Pickler_CommitFrame’:
./Include/cpython/bytesobject.h:8:10: note: at offset 5 to object ‘ob_sval’ with size 1 declared here
    8 |     char ob_sval[1];
      |          ^~~~~~~
In function ‘_write_size64’,
    inlined from ‘_Pickler_CommitFrame’ at /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:979:9:
/var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:963:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  963 |         out[i] = 0;
      |         ~~~~~~~^~~
In file included from ./Include/bytesobject.h:62,
                 from ./Include/Python.h:82,
                 from /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:11:
/var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c: In function ‘_Pickler_CommitFrame’:
./Include/cpython/bytesobject.h:8:10: note: at offset 6 to object ‘ob_sval’ with size 1 declared here
    8 |     char ob_sval[1];
      |          ^~~~~~~
In function ‘_write_size64’,
    inlined from ‘_Pickler_CommitFrame’ at /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:979:9:
/var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:963:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  963 |         out[i] = 0;
      |         ~~~~~~~^~~
In file included from ./Include/bytesobject.h:62,
                 from ./Include/Python.h:82,
                 from /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:11:
/var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c: In function ‘_Pickler_CommitFrame’:
./Include/cpython/bytesobject.h:8:10: note: at offset 7 to object ‘ob_sval’ with size 1 declared here
    8 |     char ob_sval[1];
      |          ^~~~~~~
In function ‘_write_size64’,
    inlined from ‘_Pickler_CommitFrame’ at /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:979:9:
/var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:963:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  963 |         out[i] = 0;
      |         ~~~~~~~^~~
In file included from ./Include/bytesobject.h:62,
                 from ./Include/Python.h:82,
                 from /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:11:
/var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c: In function ‘_Pickler_CommitFrame’:
./Include/cpython/bytesobject.h:8:10: note: at offset 8 to object ‘ob_sval’ with size 1 declared here
    8 |     char ob_sval[1];
      |          ^~~~~~~
In function ‘_write_size64’,
    inlined from ‘_Pickler_CommitFrame’ at /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:979:9,
    inlined from ‘_Pickler_GetString’ at /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:996:9,
    inlined from ‘_Pickler_FlushToFile’ at /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:1014:14:
/var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:963:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  963 |         out[i] = 0;
      |         ~~~~~~~^~~
In file included from ./Include/bytesobject.h:62,
                 from ./Include/Python.h:82,
                 from /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:11:
/var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c: In function ‘_Pickler_FlushToFile’:
./Include/cpython/bytesobject.h:8:10: note: at offset 5 to object ‘ob_sval’ with size 1 declared here
    8 |     char ob_sval[1];
      |          ^~~~~~~
In function ‘_write_size64’,
    inlined from ‘_Pickler_CommitFrame’ at /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:979:9,
    inlined from ‘_Pickler_GetString’ at /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:996:9,
    inlined from ‘_Pickler_FlushToFile’ at /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:1014:14:
/var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:963:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  963 |         out[i] = 0;
      |         ~~~~~~~^~~
In file included from ./Include/bytesobject.h:62,
                 from ./Include/Python.h:82,
                 from /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:11:
/var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c: In function ‘_Pickler_FlushToFile’:
./Include/cpython/bytesobject.h:8:10: note: at offset 6 to object ‘ob_sval’ with size 1 declared here
    8 |     char ob_sval[1];
      |          ^~~~~~~
In function ‘_write_size64’,
    inlined from ‘_Pickler_CommitFrame’ at /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:979:9,
    inlined from ‘_Pickler_GetString’ at /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:996:9,
    inlined from ‘_Pickler_FlushToFile’ at /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:1014:14:
/var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:963:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  963 |         out[i] = 0;
      |         ~~~~~~~^~~
In file included from ./Include/bytesobject.h:62,
                 from ./Include/Python.h:82,
                 from /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:11:
/var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c: In function ‘_Pickler_FlushToFile’:
./Include/cpython/bytesobject.h:8:10: note: at offset 7 to object ‘ob_sval’ with size 1 declared here
    8 |     char ob_sval[1];
      |          ^~~~~~~
In function ‘_write_size64’,
    inlined from ‘_Pickler_CommitFrame’ at /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:979:9,
    inlined from ‘_Pickler_GetString’ at /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:996:9,
    inlined from ‘_Pickler_FlushToFile’ at /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:1014:14:
/var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:963:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  963 |         out[i] = 0;
      |         ~~~~~~~^~~
In file included from ./Include/bytesobject.h:62,
                 from ./Include/Python.h:82,
                 from /var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c:11:
/var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Modules/_pickle.c: In function ‘_Pickler_FlushToFile’:
./Include/cpython/bytesobject.h:8:10: note: at offset 8 to object ‘ob_sval’ with size 1 declared here
    8 |     char ob_sval[1];
      |          ^~~~~~~
renaming build/scripts-3.10/pydoc3 to build/scripts-3.10/pydoc3.10
renaming build/scripts-3.10/idle3 to build/scripts-3.10/idle3.10
renaming build/scripts-3.10/2to3 to build/scripts-3.10/2to3-3.10

renaming build/scripts-3.10/pydoc3 to build/scripts-3.10/pydoc3.10
renaming build/scripts-3.10/idle3 to build/scripts-3.10/idle3.10
renaming build/scripts-3.10/2to3 to build/scripts-3.10/2to3-3.10

renaming build/scripts-3.10/pydoc3 to build/scripts-3.10/pydoc3.10
renaming build/scripts-3.10/idle3 to build/scripts-3.10/idle3.10
renaming build/scripts-3.10/2to3 to build/scripts-3.10/2to3-3.10
test_flock (__main__.FNTLEINTRTest) ... ok
test_lockf (__main__.FNTLEINTRTest) ... ok
test_read (__main__.OSEINTRTest) ... ok
test_wait (__main__.OSEINTRTest) ... ok
test_wait3 (__main__.OSEINTRTest) ... ok
test_wait4 (__main__.OSEINTRTest) ... ok
test_waitpid (__main__.OSEINTRTest) ... ok
test_write (__main__.OSEINTRTest) ... ok
test_devpoll (__main__.SelectEINTRTest) ... skipped 'need select.devpoll'
test_epoll (__main__.SelectEINTRTest) ... ok
test_kqueue (__main__.SelectEINTRTest) ... skipped 'need select.kqueue'
test_poll (__main__.SelectEINTRTest) ... ok
test_select (__main__.SelectEINTRTest) ... ok
test_sigtimedwait (__main__.SignalEINTRTest) ... ok
test_sigwaitinfo (__main__.SignalEINTRTest) ... ok
test_accept (__main__.SocketEINTRTest) ... ok
test_open (__main__.SocketEINTRTest) ... ok
test_os_open (__main__.SocketEINTRTest) ... ok
test_recv (__main__.SocketEINTRTest) ... ok
test_recvmsg (__main__.SocketEINTRTest) ... ok
test_send (__main__.SocketEINTRTest) ... ok
test_sendall (__main__.SocketEINTRTest) ... ok
test_sendmsg (__main__.SocketEINTRTest) ... ok
test_sleep (__main__.TimeEINTRTest) ... ok

----------------------------------------------------------------------
Ran 24 tests in 8.084s

OK (skipped=2)
test_turtle skipped -- No module named '_tkinter'
test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
BDB0111 DB->del: attempt to modify a read-only database
BDB0111 DB->del: attempt to modify a read-only database
BDB0111 DB->put: attempt to modify a read-only database
test_devpoll skipped -- test works only on Solaris OS family
test_tk skipped -- No module named '_tkinter'
test_winreg skipped -- No module named 'winreg'
test_idle skipped -- No module named '_tkinter'
test_startfile skipped -- object <module 'os' from '/var/lib/buildbot/workers/3.10.gps-raspbian.nondebug/build/Lib/os.py'> has no attribute 'startfile'
test_kqueue skipped -- test works only on BSD
test_atexit_with_unregistered_function (__main__.GeneralTest) ... ok
test_badargs (__main__.GeneralTest) ... ok
test_bound_methods (__main__.GeneralTest) ... ok
test_clear (__main__.GeneralTest) ... ok
test_exit (__main__.GeneralTest) ... ok
test_order (__main__.GeneralTest) ... ok
test_raise (__main__.GeneralTest) ... ok
test_raise_unnormalized (__main__.GeneralTest) ... ok
test_stress (__main__.GeneralTest) ... ok
test_unregister (__main__.GeneralTest) ... ok

----------------------------------------------------------------------
Ran 10 tests in 0.007s

OK
test_winconsoleio skipped -- test only relevant on win32
test_msilib skipped -- No module named '_msi'
test_ttk_textonly skipped -- No module named '_tkinter'
BDB0004 fop_read_meta: @test_9256_tmpæ/@test_9256_tmpæ.db: unexpected file type or format
Warning -- Dangling processes: {<ForkServerProcess name='SharedMemoryManager-510' pid=13659 parent=10654 started>}
test__all__ (test.test_multiprocessing_forkserver.MiscTestCase) ... ok
test_answer_challenge_auth_failure (test.test_multiprocessing_forkserver.OtherTest) ... ok
test_deliver_challenge_auth_failure (test.test_multiprocessing_forkserver.OtherTest) ... ok
test_semlock_subclass (test.test_multiprocessing_forkserver.SemLockTests) ... ok
test_closefd (test.test_multiprocessing_forkserver.TestCloseFds) ... ok
test_flags (test.test_multiprocessing_forkserver.TestFlags) ... ok
test_lock (test.test_multiprocessing_forkserver.TestForkAwareThreadLock) ... ok
test_ignore (test.test_multiprocessing_forkserver.TestIgnoreEINTR) ... ok
test_ignore_listener (test.test_multiprocessing_forkserver.TestIgnoreEINTR) ... ok
test_manager_initializer (test.test_multiprocessing_forkserver.TestInitializers) ... ok
test_pool_initializer (test.test_multiprocessing_forkserver.TestInitializers) ... ok
test_invalid_family (test.test_multiprocessing_forkserver.TestInvalidFamily) ... ok
test_invalid_family_win32 (test.test_multiprocessing_forkserver.TestInvalidFamily) ... skipped 'skipped on non-Windows platforms'
test_invalid_handles (test.test_multiprocessing_forkserver.TestInvalidHandle) ... ok
test_global_named_resource_spawn (test.test_multiprocessing_forkserver.TestNamedResource) ... ok
test_noforkbomb (test.test_multiprocessing_forkserver.TestNoForkBomb) ... ok
test_release_unused_processes (test.test_multiprocessing_forkserver.TestPoolNotLeakOnFailure) ... ok
test_resource_tracker (test.test_multiprocessing_forkserver.TestResourceTracker) ... ok
test_resource_tracker_reused (test.test_multiprocessing_forkserver.TestResourceTracker) ... ok
test_resource_tracker_sigint (test.test_multiprocessing_forkserver.TestResourceTracker) ... ok
test_resource_tracker_sigkill (test.test_multiprocessing_forkserver.TestResourceTracker) ... ok
test_resource_tracker_sigterm (test.test_multiprocessing_forkserver.TestResourceTracker) ... ok
test_too_long_name_resource (test.test_multiprocessing_forkserver.TestResourceTracker) ... ok
test_close (test.test_multiprocessing_forkserver.TestSimpleQueue) ... ok
test_closed (test.test_multiprocessing_forkserver.TestSimpleQueue) ... ok
test_empty (test.test_multiprocessing_forkserver.TestSimpleQueue) ... ok
test_context (test.test_multiprocessing_forkserver.TestStartMethod) ... ok
test_get_all (test.test_multiprocessing_forkserver.TestStartMethod) ... ok
test_preload_resources (test.test_multiprocessing_forkserver.TestStartMethod) ... ok
test_set_get (test.test_multiprocessing_forkserver.TestStartMethod) ... ok
test_flushing (test.test_multiprocessing_forkserver.TestStdinBadfiledescriptor) ... ok
test_pool_in_process (test.test_multiprocessing_forkserver.TestStdinBadfiledescriptor) ... ok
test_queue_in_process (test.test_multiprocessing_forkserver.TestStdinBadfiledescriptor) ... ok
test_array (test.test_multiprocessing_forkserver.TestSyncManagerTypes) ... ok
test_barrier (test.test_multiprocessing_forkserver.TestSyncManagerTypes) ... ok
test_bounded_semaphore (test.test_multiprocessing_forkserver.TestSyncManagerTypes) ... ok
test_condition (test.test_multiprocessing_forkserver.TestSyncManagerTypes) ... ok
test_dict (test.test_multiprocessing_forkserver.TestSyncManagerTypes) ... ok
test_event (test.test_multiprocessing_forkserver.TestSyncManagerTypes) ... ok
test_joinable_queue (test.test_multiprocessing_forkserver.TestSyncManagerTypes) ... ok
test_list (test.test_multiprocessing_forkserver.TestSyncManagerTypes) ... ok
test_lock (test.test_multiprocessing_forkserver.TestSyncManagerTypes) ... ok
test_namespace (test.test_multiprocessing_forkserver.TestSyncManagerTypes) ... ok
test_pool (test.test_multiprocessing_forkserver.TestSyncManagerTypes) ... ok
test_queue (test.test_multiprocessing_forkserver.TestSyncManagerTypes) ... ok
test_rlock (test.test_multiprocessing_forkserver.TestSyncManagerTypes) ... ok
test_semaphore (test.test_multiprocessing_forkserver.TestSyncManagerTypes) ... ok
test_value (test.test_multiprocessing_forkserver.TestSyncManagerTypes) ... ok
test_timeout (test.test_multiprocessing_forkserver.TestTimeouts) ... ok
test_neg_timeout (test.test_multiprocessing_forkserver.TestWait) ... ok
test_wait (test.test_multiprocessing_forkserver.TestWait) ... ok
test_wait_integer (test.test_multiprocessing_forkserver.TestWait) ... ok
test_wait_slow (test.test_multiprocessing_forkserver.TestWait) ... ok
test_wait_socket (test.test_multiprocessing_forkserver.TestWait) ... ok
test_wait_socket_slow (test.test_multiprocessing_forkserver.TestWait) ... ok
test_wait_timeout (test.test_multiprocessing_forkserver.TestWait) ... ok
test_abort (test.test_multiprocessing_forkserver.WithManagerTestBarrier)
Test that an abort will put the barrier in a broken state ... ok
test_abort_and_reset (test.test_multiprocessing_forkserver.WithManagerTestBarrier)
Test that a barrier can be reset after being broken. ... ok
test_action (test.test_multiprocessing_forkserver.WithManagerTestBarrier)
Test the 'action' callback ... ok
test_barrier (test.test_multiprocessing_forkserver.WithManagerTestBarrier)
Test that a barrier is passed in lockstep ... ok
test_barrier_10 (test.test_multiprocessing_forkserver.WithManagerTestBarrier)
Test that a barrier works for 10 consecutive runs ... ok
test_default_timeout (test.test_multiprocessing_forkserver.WithManagerTestBarrier)
Test the barrier's default timeout ... ok
test_reset (test.test_multiprocessing_forkserver.WithManagerTestBarrier)
Test that a 'reset' on a barrier frees the waiting threads ... ok
test_single_thread (test.test_multiprocessing_forkserver.WithManagerTestBarrier) ... ok
test_thousand (test.test_multiprocessing_forkserver.WithManagerTestBarrier) ... skipped 'test not appropriate for manager'
test_timeout (test.test_multiprocessing_forkserver.WithManagerTestBarrier)
Test wait(timeout) ... ok
test_wait_return (test.test_multiprocessing_forkserver.WithManagerTestBarrier)
test the return value from barrier.wait ... ok
test_notify (test.test_multiprocessing_forkserver.WithManagerTestCondition) ... ok
test_notify_all (test.test_multiprocessing_forkserver.WithManagerTestCondition) ... ok
test_notify_n (test.test_multiprocessing_forkserver.WithManagerTestCondition) ... ok
test_timeout (test.test_multiprocessing_forkserver.WithManagerTestCondition) ... ok
test_wait_result (test.test_multiprocessing_forkserver.WithManagerTestCondition) ... ok
test_waitfor (test.test_multiprocessing_forkserver.WithManagerTestCondition) ... ok
test_waitfor_timeout (test.test_multiprocessing_forkserver.WithManagerTestCondition) ... ok
test_dict (test.test_multiprocessing_forkserver.WithManagerTestContainers) ... ok
test_dict_iter (test.test_multiprocessing_forkserver.WithManagerTestContainers) ... ok
test_dict_proxy_nested (test.test_multiprocessing_forkserver.WithManagerTestContainers) ... ok
test_list (test.test_multiprocessing_forkserver.WithManagerTestContainers) ... ok
test_list_iter (test.test_multiprocessing_forkserver.WithManagerTestContainers) ... ok
test_list_proxy_in_list (test.test_multiprocessing_forkserver.WithManagerTestContainers) ... ok
test_namespace (test.test_multiprocessing_forkserver.WithManagerTestContainers) ... ok
test_nested_queue (test.test_multiprocessing_forkserver.WithManagerTestContainers) ... ok
test_event (test.test_multiprocessing_forkserver.WithManagerTestEvent) ... ok
test_lock (test.test_multiprocessing_forkserver.WithManagerTestLock) ... ok
test_lock_context (test.test_multiprocessing_forkserver.WithManagerTestLock) ... ok
test_rlock (test.test_multiprocessing_forkserver.WithManagerTestLock) ... ok
test_rapid_restart (test.test_multiprocessing_forkserver.WithManagerTestManagerRestart) ... ok
test_mymanager (test.test_multiprocessing_forkserver.WithManagerTestMyManager) ... ok
test_mymanager_context (test.test_multiprocessing_forkserver.WithManagerTestMyManager) ... ok
test_mymanager_context_prestarted (test.test_multiprocessing_forkserver.WithManagerTestMyManager) ... ok
test_apply (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok
test_async (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok
test_async_timeout (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok
test_context (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok
test_empty_iterable (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok
test_enter (test.test_multiprocessing_forkserver.WithManagerTestPool) ... skipped 'test not applicable to manager'
test_imap (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok
test_imap_handle_iterable_exception (test.test_multiprocessing_forkserver.WithManagerTestPool) ... skipped 'test not appropriate for manager'
test_imap_unordered (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok
test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_forkserver.WithManagerTestPool) ... skipped 'test not appropriate for manager'
test_make_pool (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok
test_map (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok
test_map_async (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok
test_map_async_callbacks (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok
test_map_chunksize (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok
test_map_handle_iterable_exception (test.test_multiprocessing_forkserver.WithManagerTestPool) ... skipped 'test not appropriate for manager'
test_map_no_failfast (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok
test_map_unplicklable (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok
test_release_task_refs (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok
test_resource_warning (test.test_multiprocessing_forkserver.WithManagerTestPool) ... skipped 'test not applicable to manager'
test_starmap (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok
test_starmap_async (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok
test_terminate (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok
test_traceback (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok
test_wrapped_exception (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok
test_closed_queue_put_get_exceptions (test.test_multiprocessing_forkserver.WithManagerTestQueue) ... ok
test_fork (test.test_multiprocessing_forkserver.WithManagerTestQueue) ... ok
test_get (test.test_multiprocessing_forkserver.WithManagerTestQueue) ... ok
test_no_import_lock_contention (test.test_multiprocessing_forkserver.WithManagerTestQueue) ... ok
test_put (test.test_multiprocessing_forkserver.WithManagerTestQueue) ... ok
test_qsize (test.test_multiprocessing_forkserver.WithManagerTestQueue) ... ok
test_queue_feeder_donot_stop_onexc (test.test_multiprocessing_forkserver.WithManagerTestQueue) ... skipped 'test not appropriate for manager'
test_queue_feeder_on_queue_feeder_error (test.test_multiprocessing_forkserver.WithManagerTestQueue) ... skipped 'test not appropriate for manager'
test_task_done (test.test_multiprocessing_forkserver.WithManagerTestQueue) ... ok
test_timeout (test.test_multiprocessing_forkserver.WithManagerTestQueue) ... ok
test_remote (test.test_multiprocessing_forkserver.WithManagerTestRemoteManager) ... ok
test_bounded_semaphore (test.test_multiprocessing_forkserver.WithManagerTestSemaphore) ... ok
test_semaphore (test.test_multiprocessing_forkserver.WithManagerTestSemaphore) ... ok
test_timeout (test.test_multiprocessing_forkserver.WithManagerTestSemaphore) ... skipped 'test not appropriate for manager'
test_array (test.test_multiprocessing_forkserver.WithProcessesTestArray) ... ok
test_array_from_size (test.test_multiprocessing_forkserver.WithProcessesTestArray) ... ok
test_getobj_getlock_obj (test.test_multiprocessing_forkserver.WithProcessesTestArray) ... ok
test_rawarray (test.test_multiprocessing_forkserver.WithProcessesTestArray) ... ok
test_abort (test.test_multiprocessing_forkserver.WithProcessesTestBarrier)
Test that an abort will put the barrier in a broken state ... ok
test_abort_and_reset (test.test_multiprocessing_forkserver.WithProcessesTestBarrier)
Test that a barrier can be reset after being broken. ... ok
test_action (test.test_multiprocessing_forkserver.WithProcessesTestBarrier)
Test the 'action' callback ... ok
test_barrier (test.test_multiprocessing_forkserver.WithProcessesTestBarrier)
Test that a barrier is passed in lockstep ... ok
test_barrier_10 (test.test_multiprocessing_forkserver.WithProcessesTestBarrier)
Test that a barrier works for 10 consecutive runs ... ok
test_default_timeout (test.test_multiprocessing_forkserver.WithProcessesTestBarrier)
Test the barrier's default timeout ... ok
test_reset (test.test_multiprocessing_forkserver.WithProcessesTestBarrier)
Test that a 'reset' on a barrier frees the waiting threads ... ok
test_single_thread (test.test_multiprocessing_forkserver.WithProcessesTestBarrier) ... ok
test_thousand (test.test_multiprocessing_forkserver.WithProcessesTestBarrier) ... ok
test_timeout (test.test_multiprocessing_forkserver.WithProcessesTestBarrier)
Test wait(timeout) ... ok
test_wait_return (test.test_multiprocessing_forkserver.WithProcessesTestBarrier)
test the return value from barrier.wait ... ok
test_notify (test.test_multiprocessing_forkserver.WithProcessesTestCondition) ... ok
test_notify_all (test.test_multiprocessing_forkserver.WithProcessesTestCondition) ... ok
test_notify_n (test.test_multiprocessing_forkserver.WithProcessesTestCondition) ... ok
test_timeout (test.test_multiprocessing_forkserver.WithProcessesTestCondition) ... ok
test_wait_result (test.test_multiprocessing_forkserver.WithProcessesTestCondition) ... ok
test_waitfor (test.test_multiprocessing_forkserver.WithProcessesTestCondition) ... ok
test_waitfor_timeout (test.test_multiprocessing_forkserver.WithProcessesTestCondition) ... ok
test_connection (test.test_multiprocessing_forkserver.WithProcessesTestConnection) ... ok
test_context (test.test_multiprocessing_forkserver.WithProcessesTestConnection) ... ok
test_duplex_false (test.test_multiprocessing_forkserver.WithProcessesTestConnection) ... ok
test_fd_transfer (test.test_multiprocessing_forkserver.WithProcessesTestConnection) ... ok
test_large_fd_transfer (test.test_multiprocessing_forkserver.WithProcessesTestConnection) ... ok
test_missing_fd_transfer (test.test_multiprocessing_forkserver.WithProcessesTestConnection) ... ok
test_sendbytes (test.test_multiprocessing_forkserver.WithProcessesTestConnection) ... ok
test_spawn_close (test.test_multiprocessing_forkserver.WithProcessesTestConnection) ... ok
test_event (test.test_multiprocessing_forkserver.WithProcessesTestEvent) ... ok
test_finalize (test.test_multiprocessing_forkserver.WithProcessesTestFinalize) ... ok
test_thread_safety (test.test_multiprocessing_forkserver.WithProcessesTestFinalize) ... ok
test_free_from_gc (test.test_multiprocessing_forkserver.WithProcessesTestHeap) ... ok
test_heap (test.test_multiprocessing_forkserver.WithProcessesTestHeap) ... ok
test_abstract_socket (test.test_multiprocessing_forkserver.WithProcessesTestListener) ... ok
test_context (test.test_multiprocessing_forkserver.WithProcessesTestListener) ... ok
test_multiple_bind (test.test_multiprocessing_forkserver.WithProcessesTestListener) ... ok
test_issue14725 (test.test_multiprocessing_forkserver.WithProcessesTestListenerClient) ... ok
test_issue16955 (test.test_multiprocessing_forkserver.WithProcessesTestListenerClient) ... ok
test_listener_client (test.test_multiprocessing_forkserver.WithProcessesTestListenerClient) ... ok
test_lock (test.test_multiprocessing_forkserver.WithProcessesTestLock) ... ok
test_lock_context (test.test_multiprocessing_forkserver.WithProcessesTestLock) ... ok
test_rlock (test.test_multiprocessing_forkserver.WithProcessesTestLock) ... ok
test_enable_logging (test.test_multiprocessing_forkserver.WithProcessesTestLogging) ... ok
test_level (test.test_multiprocessing_forkserver.WithProcessesTestLogging) ... ok
test_rapid_restart (test.test_multiprocessing_forkserver.WithProcessesTestManagerRestart) ... ok
test_access (test.test_multiprocessing_forkserver.WithProcessesTestPicklingConnections) ... ok
test_pickling (test.test_multiprocessing_forkserver.WithProcessesTestPicklingConnections) ... ok
test_boundaries (test.test_multiprocessing_forkserver.WithProcessesTestPoll) ... ok
test_dont_merge (test.test_multiprocessing_forkserver.WithProcessesTestPoll) ... ok
test_empty_string (test.test_multiprocessing_forkserver.WithProcessesTestPoll) ... ok
test_strings (test.test_multiprocessing_forkserver.WithProcessesTestPoll) ... ok
test_poll_eintr (test.test_multiprocessing_forkserver.WithProcessesTestPollEintr) ... ok
test_apply (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_async (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_async_timeout (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_context (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_empty_iterable (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_enter (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_imap (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_imap_handle_iterable_exception (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_imap_unordered (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_make_pool (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_map (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_map_async (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_map_async_callbacks (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_map_chunksize (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_map_handle_iterable_exception (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_map_no_failfast (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_map_unplicklable (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_release_task_refs (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_resource_warning (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_starmap (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_starmap_async (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_terminate (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_traceback (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_wrapped_exception (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok
test_async_error_callback (test.test_multiprocessing_forkserver.WithProcessesTestPoolWorkerErrors) ... ok
test_unpickleable_result (test.test_multiprocessing_forkserver.WithProcessesTestPoolWorkerErrors) ... ok
test_pool_maxtasksperchild_invalid (test.test_multiprocessing_forkserver.WithProcessesTestPoolWorkerLifetime) ... ok
test_pool_worker_lifetime (test.test_multiprocessing_forkserver.WithProcessesTestPoolWorkerLifetime) ... ok
test_pool_worker_lifetime_early_close (test.test_multiprocessing_forkserver.WithProcessesTestPoolWorkerLifetime) ... ok
test_worker_finalization_via_atexit_handler_of_multiprocessing (test.test_multiprocessing_forkserver.WithProcessesTestPoolWorkerLifetime) ... ok
test_active_children (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_child_fd_inflation (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_close (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_cpu_count (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_current (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_daemon_argument (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_error_on_stdio_flush_1 (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_error_on_stdio_flush_2 (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_forkserver_sigint (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_forkserver_sigkill (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_kill (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_lose_target_ref (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_many_processes (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_parent_process (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_parent_process_attributes (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_process (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_process_mainthread_native_id (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_recursion (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_sentinel (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_terminate (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_wait_for_threads (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok
test_closed_queue_put_get_exceptions (test.test_multiprocessing_forkserver.WithProcessesTestQueue) ... ok
test_fork (test.test_multiprocessing_forkserver.WithProcessesTestQueue) ... ok
test_get (test.test_multiprocessing_forkserver.WithProcessesTestQueue) ... ok
test_no_import_lock_contention (test.test_multiprocessing_forkserver.WithProcessesTestQueue) ... ok
test_put (test.test_multiprocessing_forkserver.WithProcessesTestQueue) ... ok
test_qsize (test.test_multiprocessing_forkserver.WithProcessesTestQueue) ... ok
test_queue_feeder_donot_stop_onexc (test.test_multiprocessing_forkserver.WithProcessesTestQueue) ... ok
test_queue_feeder_on_queue_feeder_error (test.test_multiprocessing_forkserver.WithProcessesTestQueue) ... ok
test_task_done (test.test_multiprocessing_forkserver.WithProcessesTestQueue) ... ok
test_timeout (test.test_multiprocessing_forkserver.WithProcessesTestQueue) ... ok
test_bounded_semaphore (test.test_multiprocessing_forkserver.WithProcessesTestSemaphore) ... ok
test_semaphore (test.test_multiprocessing_forkserver.WithProcessesTestSemaphore) ... ok
test_timeout (test.test_multiprocessing_forkserver.WithProcessesTestSemaphore) ... ok
test_copy (test.test_multiprocessing_forkserver.WithProcessesTestSharedCTypes) ... ok
test_sharedctypes (test.test_multiprocessing_forkserver.WithProcessesTestSharedCTypes) ... ok
test_synchronize (test.test_multiprocessing_forkserver.WithProcessesTestSharedCTypes) ... ok
test_invalid_shared_memory_cration (test.test_multiprocessing_forkserver.WithProcessesTestSharedMemory) ... ok
test_shared_memory_ShareableList_basics (test.test_multiprocessing_forkserver.WithProcessesTestSharedMemory) ... ok
test_shared_memory_ShareableList_pickling (test.test_multiprocessing_forkserver.WithProcessesTestSharedMemory) ... ok
test_shared_memory_ShareableList_pickling_dead_object (test.test_multiprocessing_forkserver.WithProcessesTestSharedMemory) ... ok
test_shared_memory_SharedMemoryManager_basics (test.test_multiprocessing_forkserver.WithProcessesTestSharedMemory) ... ok
test_shared_memory_SharedMemoryManager_reuses_resource_tracker (test.test_multiprocessing_forkserver.WithProcessesTestSharedMemory) ... ok
test_shared_memory_SharedMemoryServer_ignores_sigint (test.test_multiprocessing_forkserver.WithProcessesTestSharedMemory) ... ok
test_shared_memory_across_processes (test.test_multiprocessing_forkserver.WithProcessesTestSharedMemory) ... ok
test_shared_memory_basics (test.test_multiprocessing_forkserver.WithProcessesTestSharedMemory) ... ok
test_shared_memory_cleaned_after_process_termination (test.test_multiprocessing_forkserver.WithProcessesTestSharedMemory) ... ok
test_shared_memory_pickle_unpickle (test.test_multiprocessing_forkserver.WithProcessesTestSharedMemory) ... ok
test_shared_memory_pickle_unpickle_dead_object (test.test_multiprocessing_forkserver.WithProcessesTestSharedMemory) ... ok
test_shared_memory_recreate (test.test_multiprocessing_forkserver.WithProcessesTestSharedMemory) ... ok
test_stderr_flush (test.test_multiprocessing_forkserver.WithProcessesTestSubclassingProcess) ... ok
test_subclassing (test.test_multiprocessing_forkserver.WithProcessesTestSubclassingProcess) ... ok
test_sys_exit (test.test_multiprocessing_forkserver.WithProcessesTestSubclassingProcess) ... ok
test_getobj_getlock (test.test_multiprocessing_forkserver.WithProcessesTestValue) ... ok
test_rawvalue (test.test_multiprocessing_forkserver.WithProcessesTestValue) ... ok
test_value (test.test_multiprocessing_forkserver.WithProcessesTestValue) ... ok
test_abort (test.test_multiprocessing_forkserver.WithThreadsTestBarrier)
Test that an abort will put the barrier in a broken state ... ok
test_abort_and_reset (test.test_multiprocessing_forkserver.WithThreadsTestBarrier)
Test that a barrier can be reset after being broken. ... ok
test_action (test.test_multiprocessing_forkserver.WithThreadsTestBarrier)
Test the 'action' callback ... ok
test_barrier (test.test_multiprocessing_forkserver.WithThreadsTestBarrier)
Test that a barrier is passed in lockstep ... ok
test_barrier_10 (test.test_multiprocessing_forkserver.WithThreadsTestBarrier)
Test that a barrier works for 10 consecutive runs ... ok
test_default_timeout (test.test_multiprocessing_forkserver.WithThreadsTestBarrier)
Test the barrier's default timeout ... ok
test_reset (test.test_multiprocessing_forkserver.WithThreadsTestBarrier)
Test that a 'reset' on a barrier frees the waiting threads ... ok
test_single_thread (test.test_multiprocessing_forkserver.WithThreadsTestBarrier) ... ok
test_thousand (test.test_multiprocessing_forkserver.WithThreadsTestBarrier) ... ok
test_timeout (test.test_multiprocessing_forkserver.WithThreadsTestBarrier)
Test wait(timeout) ... ok
test_wait_return (test.test_multiprocessing_forkserver.WithThreadsTestBarrier)
test the return value from barrier.wait ... ok
test_notify (test.test_multiprocessing_forkserver.WithThreadsTestCondition) ... ok
test_notify_all (test.test_multiprocessing_forkserver.WithThreadsTestCondition) ... ok
test_notify_n (test.test_multiprocessing_forkserver.WithThreadsTestCondition) ... ok
test_timeout (test.test_multiprocessing_forkserver.WithThreadsTestCondition) ... ok
test_wait_result (test.test_multiprocessing_forkserver.WithThreadsTestCondition) ... ok
test_waitfor (test.test_multiprocessing_forkserver.WithThreadsTestCondition) ... ok
test_waitfor_timeout (test.test_multiprocessing_forkserver.WithThreadsTestCondition) ... ok
test_connection (test.test_multiprocessing_forkserver.WithThreadsTestConnection) ... ok
test_context (test.test_multiprocessing_forkserver.WithThreadsTestConnection) ... ok
test_duplex_false (test.test_multiprocessing_forkserver.WithThreadsTestConnection) ... ok
test_fd_transfer (test.test_multiprocessing_forkserver.WithThreadsTestConnection) ... skipped 'only makes sense with processes'
test_large_fd_transfer (test.test_multiprocessing_forkserver.WithThreadsTestConnection) ... skipped 'only makes sense with processes'
test_missing_fd_transfer (test.test_multiprocessing_forkserver.WithThreadsTestConnection) ... skipped 'only makes sense with processes'
test_sendbytes (test.test_multiprocessing_forkserver.WithThreadsTestConnection) ... skipped 'test not appropriate for threads'
test_spawn_close (test.test_multiprocessing_forkserver.WithThreadsTestConnection) ... ok
test_event (test.test_multiprocessing_forkserver.WithThreadsTestEvent) ... ok
test_issue14725 (test.test_multiprocessing_forkserver.WithThreadsTestListenerClient) ... ok
test_issue16955 (test.test_multiprocessing_forkserver.WithThreadsTestListenerClient) ... ok
test_listener_client (test.test_multiprocessing_forkserver.WithThreadsTestListenerClient) ... ok
test_lock (test.test_multiprocessing_forkserver.WithThreadsTestLock) ... ok
test_lock_context (test.test_multiprocessing_forkserver.WithThreadsTestLock) ... ok
test_rlock (test.test_multiprocessing_forkserver.WithThreadsTestLock) ... ok
test_rapid_restart (test.test_multiprocessing_forkserver.WithThreadsTestManagerRestart) ... ok
test_boundaries (test.test_multiprocessing_forkserver.WithThreadsTestPoll) ... ok
test_dont_merge (test.test_multiprocessing_forkserver.WithThreadsTestPoll) ... ok
test_empty_string (test.test_multiprocessing_forkserver.WithThreadsTestPoll) ... ok
test_strings (test.test_multiprocessing_forkserver.WithThreadsTestPoll) ... ok
test_apply (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_async (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_async_timeout (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_context (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_empty_iterable (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_enter (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_imap (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_imap_handle_iterable_exception (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_imap_unordered (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_make_pool (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_map (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_map_async (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_map_async_callbacks (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_map_chunksize (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_map_handle_iterable_exception (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_map_no_failfast (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_map_unplicklable (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... skipped 'test not appropriate for threads'
test_release_task_refs (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_resource_warning (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_starmap (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_starmap_async (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_terminate (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_traceback (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_wrapped_exception (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok
test_active_children (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... ok
test_child_fd_inflation (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... skipped 'test not appropriate for threads'
test_close (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... skipped 'test not appropriate for threads'
test_cpu_count (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... ok
test_current (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... skipped 'test not appropriate for threads'
test_daemon_argument (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... skipped 'test not appropriate for threads'
test_error_on_stdio_flush_1 (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... ok
test_error_on_stdio_flush_2 (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... ok
test_forkserver_sigint (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... skipped 'test not appropriate for threads'
test_forkserver_sigkill (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... skipped 'test not appropriate for threads'
test_kill (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... skipped 'test not appropriate for threads'
test_lose_target_ref (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... ok
test_many_processes (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... skipped 'test not appropriate for threads'
test_parent_process (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... skipped 'test not appropriate for threads'
test_parent_process_attributes (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... skipped 'test not appropriate for threads'
test_process (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... ok
test_process_mainthread_native_id (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... skipped 'test not appropriate for threads'
test_recursion (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... ok
test_sentinel (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... skipped 'test not appropriate for threads'
test_terminate (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... skipped 'test not appropriate for threads'
test_wait_for_threads (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... skipped 'test not appropriate for threads'
test_closed_queue_put_get_exceptions (test.test_multiprocessing_forkserver.WithThreadsTestQueue) ... ok
test_fork (test.test_multiprocessing_forkserver.WithThreadsTestQueue) ... ok
test_get (test.test_multiprocessing_forkserver.WithThreadsTestQueue) ... ok
test_no_import_lock_contention (test.test_multiprocessing_forkserver.WithThreadsTestQueue) ... ok
test_put (test.test_multiprocessing_forkserver.WithThreadsTestQueue) ... ok
test_qsize (test.test_multiprocessing_forkserver.WithThreadsTestQueue) ... ok
test_queue_feeder_donot_stop_onexc (test.test_multiprocessing_forkserver.WithThreadsTestQueue) ... skipped 'test not appropriate for threads'
test_queue_feeder_on_queue_feeder_error (test.test_multiprocessing_forkserver.WithThreadsTestQueue) ... skipped 'test not appropriate for threads'
test_task_done (test.test_multiprocessing_forkserver.WithThreadsTestQueue) ... ok
test_timeout (test.test_multiprocessing_forkserver.WithThreadsTestQueue) ... ok
test_bounded_semaphore (test.test_multiprocessing_forkserver.WithThreadsTestSemaphore) ... ok
test_semaphore (test.test_multiprocessing_forkserver.WithThreadsTestSemaphore) ... ok
test_timeout (test.test_multiprocessing_forkserver.WithThreadsTestSemaphore) ... skipped 'test not appropriate for threads'
test_import (test.test_multiprocessing_forkserver._TestImportStar) ... ok

----------------------------------------------------------------------
Ran 368 tests in 140.048s

OK (skipped=32)
test_winsound skipped -- No module named 'winsound'
test_ttk_guionly skipped -- No module named '_tkinter'
test_tcl skipped -- No module named '_tkinter'
test_ioctl skipped -- Unable to open /dev/tty
test_tix skipped -- No module named '_tkinter'
make: *** [Makefile:1255: buildbottest] Error 3

carljm added a commit to carljm/cpython that referenced this pull request Feb 23, 2023
* main: (76 commits)
  Fix syntax error in struct doc example (python#102160)
  pythongh-99108: Import MD5 and SHA1 from HACL* (python#102089)
  pythonGH-101777: `queue.rst`: use 2 spaces after a period to be consistent. (python#102143)
  Few coverage nitpicks for the cmath module (python#102067)
  pythonGH-100982: Restrict `FOR_ITER_RANGE` to a single instruction to allow instrumentation. (pythonGH-101985)
  pythongh-102135: Update turtle docs to rename wikipedia demo to rosette (python#102137)
  pythongh-99942: python.pc on android/cygwin should link to libpython per configure.ac (pythonGH-100356)
  pythongh-95672 fix typo SkitTest to SkipTest (pythongh-102119)
  pythongh-101936: Update the default value of fp from io.StringIO to io.BytesIO (pythongh-102100)
  pythongh-102008: simplify test_except_star by using sys.exception() instead of sys.exc_info() (python#102009)
  pythongh-101903: Remove obsolete undefs for previously removed macros Py_EnterRecursiveCall and Py_LeaveRecursiveCall (python#101923)
  pythongh-100556: Improve clarity of `or` docs (python#100589)
  pythongh-101777: Make `PriorityQueue` docs slightly clearer (python#102026)
  pythongh-101965: Fix usage of Py_EnterRecursiveCall return value in _bisectmodule.c (pythonGH-101966)
  pythongh-101578: Amend exception docs (python#102057)
  pythongh-101961 fileinput.hookcompressed should not set the encoding value for the binary mode (pythongh-102068)
  pythongh-102056: Fix a few bugs in error handling of exception printing code (python#102078)
  pythongh-102011: use sys.exception() instead of sys.exc_info() in docs where possible (python#102012)
  pythongh-101566: Sync with zipp 3.14. (pythonGH-102018)
  pythonGH-99818: improve the documentation for zipfile.Path and Traversable (pythonGH-101589)
  ...
python-sidebar pushed a commit to python-sidebar/Python-Documentation-Fork-With-TOC that referenced this pull request Sep 1, 2024
python-sidebar pushed a commit to python-sidebar/Python-Documentation-Fork-With-TOC that referenced this pull request Sep 1, 2024
JelleZijlstra pushed a commit to JelleZijlstra/cpython that referenced this pull request Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants