Skip to content

bpo-44632: Fix support of TypeVar in the union type#27139

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:union-or-typevar
Jul 14, 2021
Merged

bpo-44632: Fix support of TypeVar in the union type#27139
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:union-or-typevar

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Jul 14, 2021

Copy link
Copy Markdown
Member

int | TypeVar('T') returns now an instance of types.Union
instead of typing.Union.
@serhiy-storchaka serhiy-storchaka changed the title Union or typevar bpo-44632: Fix support of TypeVar in the union type Jul 14, 2021

@Fidget-Spinner Fidget-Spinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. I was working on this too and I eventually came to the same solution as you :).

@Fidget-Spinner

Copy link
Copy Markdown
Member

Hmm does this need news? Or are we bundling all the TypeVar issues into one news item later on?

@serhiy-storchaka

Copy link
Copy Markdown
Member Author

It has little effect on user.

@serhiy-storchaka serhiy-storchaka merged commit a158b20 into python:main Jul 14, 2021
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

@serhiy-storchaka serhiy-storchaka deleted the union-or-typevar branch July 14, 2021 17:09
@bedevere-bot

Copy link
Copy Markdown

GH-27143 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 Jul 14, 2021
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 14, 2021
int | TypeVar('T') returns now an instance of types.Union
instead of typing.Union.
(cherry picked from commit a158b20)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull request Jul 15, 2021
)

int | TypeVar('T') returns now an instance of types.Union
instead of typing.Union.
(cherry picked from commit a158b20)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot PPC64 Fedora 3.10 has failed when building commit cc1a47c.

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/672/builds/216) and take a look at the build logs.
  4. Check if the failure is related to this commit (cc1a47c) 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/672/builds/216

Failed tests:

  • test_mailbox
  • test_cmd_line_script
  • test_socket

Failed subtests:

  • test_add_text_file_warns - test.test_mailbox.TestBabyl
  • test_get_bytes - test.test_mailbox.TestBabyl
  • test_get_file - test.test_mailbox.TestBabyl
  • test_popitem_and_flush_twice - test.test_mailbox.TestBabyl
  • test_permissions_after_flush - test.test_mailbox.TestBabyl
  • test_initialize_with_binary_file - test.test_mailbox.TestMessage
  • test_initialize_with_binary_file - test.test_mailbox.TestMaildirMessage
  • test_close - test.test_mailbox.TestBabyl
  • test_add_nonascii_StringIO_raises - test.test_mailbox.TestBabyl
  • test_initialize_with_file - test.test_mailbox.TestBabylMessage
  • test_update - test.test_mailbox.TestBabyl
  • setUpClass - test.test_socket.SendfileUsingSendTest
  • test_add_nonascii_string_header_raises - test.test_mailbox.TestBabyl
  • test_pop - test.test_mailbox.TestBabyl
  • test_invalid_nonascii_header_as_string - test.test_mailbox.TestBabyl
  • test_len - test.test_mailbox.TestBabyl
  • test_get - test.test_mailbox.TestBabyl
  • test_keys - test.test_mailbox.TestBabyl
  • test_iter - test.test_mailbox.TestBabyl
  • test_itervalues - test.test_mailbox.TestMH
  • test_set_item - test.test_mailbox.TestBabyl
  • test_popitem - test.test_mailbox.TestMH
  • test_getitem - test.test_mailbox.TestBabyl
  • test_discard - test.test_mailbox.TestBabyl
  • test_add_StringIO_warns - test.test_mailbox.TestBabyl
  • test_remove - test.test_mailbox.TestMH
  • test_items - test.test_mailbox.TestBabyl
  • test_initialize_with_file - test.test_mailbox.TestMessage
  • test_add_binary_file - test.test_mailbox.TestBabyl
  • test_script_abspath - test.test_cmd_line_script.CmdLineTest
  • test_flush - test.test_mailbox.TestBabyl
  • test_add - test.test_mailbox.TestBabyl
  • test_get_string - test.test_mailbox.TestMH
  • test_initialize_with_file - test.test_mailbox.TestMaildirMessage
  • test_values - test.test_mailbox.TestMH
  • test_initialize_with_binary_file - test.test_mailbox.TestMboxMessage
  • test_pack - test.test_mailbox.TestMH
  • test_get_file_can_be_closed_twice - test.test_mailbox.TestBabyl
  • test_initialize_with_binary_file - test.test_mailbox.TestMHMessage
  • test_iteritems - test.test_mailbox.TestBabyl
  • setUpClass - test.test_socket.SendfileUsingSendfileTest
  • test_add_doesnt_rewrite - test.test_mailbox.TestBabyl
  • test_clear - test.test_mailbox.TestBabyl
  • test_delitem - test.test_mailbox.TestBabyl
  • test_itervalues - test.test_mailbox.TestBabyl
  • test_popitem - test.test_mailbox.TestBabyl
  • test_remove - test.test_mailbox.TestBabyl
  • test_popitem_and_flush_twice - test.test_mailbox.TestMH
  • test_get_message - test.test_mailbox.TestBabyl
  • test_contains - test.test_mailbox.TestBabyl
  • test_labels - test.test_mailbox.TestBabyl
  • test_sequences - test.test_mailbox.TestMH
  • test_add_8bit_body - test.test_mailbox.TestBabyl
  • test_update - test.test_mailbox.TestMH
  • test_initialize_with_binary_file - test.test_mailbox.TestBabylMessage
  • test_initialize_with_file - test.test_mailbox.TestMboxMessage
  • test_pop - test.test_mailbox.TestMH
  • test_get_string - test.test_mailbox.TestBabyl
  • test_non_ascii - test.test_cmd_line_script.CmdLineTest
  • test_len - test.test_mailbox.TestMH
  • test_keys - test.test_mailbox.TestMH
  • test_values - test.test_mailbox.TestBabyl
  • test_add_binary_nonascii_file - test.test_mailbox.TestBabyl
  • test_add_that_raises_leaves_mailbox_empty - test.test_mailbox.TestBabyl
  • test_list_folders - test.test_mailbox.TestMH
  • test_set_item - test.test_mailbox.TestMH
  • test_iterkeys - test.test_mailbox.TestBabyl
  • test_add_invalid_8bit_bytes_header - test.test_mailbox.TestBabyl
  • test_initialize_with_file - test.test_mailbox.TestMHMessage

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

== Tests result: FAILURE then ENV CHANGED ==

411 tests OK.

10 slowest tests:

  • test_unparse: 10 min 54 sec
  • test_tokenize: 8 min 21 sec
  • test_lib2to3: 6 min 53 sec
  • test_unicodedata: 5 min 17 sec
  • test_multiprocessing_spawn: 4 min 37 sec
  • test_capi: 4 min 34 sec
  • test_concurrent_futures: 4 min 15 sec
  • test_pickle: 3 min 54 sec
  • test_asyncio: 3 min 15 sec
  • test_multiprocessing_forkserver: 2 min 25 sec

1 test altered the execution environment:
test_concurrent_futures

15 tests skipped:
test_devpoll test_ioctl test_kqueue test_msilib test_ossaudiodev
test_smtpnet test_ssl test_startfile test_tix test_tk
test_ttk_guionly test_winconsoleio test_winreg test_winsound
test_zipfile64

3 re-run tests:
test_cmd_line_script test_mailbox test_socket

Total duration: 1 hour 1 min

Click to see traceback logs
Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 1312, in tearDown
    super().tearDown()
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 60, in tearDown
    self._box.close()
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 737, in close
    self._file.close()  # Sync has been done by self.flush() above.
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 150, in test_add_binary_file
    key = self._box.add(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 179, in test_add_nonascii_StringIO_raises
    self._box.add(io.StringIO(self._nonascii_msg))
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 764, in _append_message
    self._file.truncate(before)
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 108, in test_add_nonascii_string_header_raises
    self._box.add(self._nonascii_msg)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 764, in _append_message
    self._file.truncate(before)
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_socket.py", line 5969, in setUpClass
    f.write(chunk)
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 1323, in test_labels
    key0 = self._box.add(msg0)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 358, in test_contains
    key0 = self._box.add(self._template % 0)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 186, in test_remove
    self._test_remove_or_delitem(self._box.remove)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 194, in _test_remove_or_delitem
    key0 = self._box.add(self._template % 0)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 120, in test_add_that_raises_leaves_mailbox_empty
    self._box.close()
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 737, in close
    self._file.close()  # Sync has been done by self.flush() above.
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 1404, in test_initialize_with_binary_file
    f.seek(0)
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 292, in test_get_file_can_be_closed_twice
    key = self._box.add(_sample_message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 1393, in test_initialize_with_file
    with open(self._path, 'w+', encoding='utf-8') as f:
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_cmd_line_script.py", line 229, in test_script_abspath
    with os_helper.temp_cwd() as script_dir:
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/contextlib.py", line 133, in __enter__
    return next(self.gen)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/support/os_helper.py", line 447, in temp_cwd
    with temp_dir(path=name, quiet=quiet) as temp_path:
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/contextlib.py", line 133, in __enter__
    return next(self.gen)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/support/os_helper.py", line 385, in temp_dir
    os.mkdir(path)
OSError: [Errno 28] No space left on device: 'tempcwd'


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 427, in test_pop
    key0 = self._box.add(self._template % 0)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 307, in test_itervalues
    self._check_iteration(self._box.itervalues, do_keys=False,
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 333, in _check_iteration
    keys.append(self._box.add(self._template % i))
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 981, in add
    _sync_close(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 2134, in _sync_close
    _sync_flush(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 2128, in _sync_flush
    f.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 202, in _string_to_bytes
    return message.encode('ascii')
UnicodeEncodeError: 'ascii' codec can't encode character '\xe1' in position 27: ordinal not in range(128)


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 975, in add
    self._dump_sequences(message, new_key)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1237, in _dump_sequences
    self.set_sequences(all_sequences)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1197, in set_sequences
    _sync_close(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 2134, in _sync_close
    _sync_flush(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 2128, in _sync_flush
    f.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 948, in test_add_doesnt_rewrite
    self._box.add(self._template % 0)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/case.py", line 620, in run
    outcome.errors.clear()
OSError: [Errno 28] No space left on device
Warning -- Unraisable exception
Exception ignored in: <_io.BufferedRandom name='/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/build/test_python_40590æ/test_python_worker_38107æ/@test_38107_tmpæ/1'>
Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/case.py", line 620, in run
    outcome.errors.clear()
OSError: [Errno 28] No space left on device
Warning -- Unraisable exception
Exception ignored in: <_io.BufferedRandom name='/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/build/test_python_40590æ/test_python_worker_38107æ/@test_38107_tmpæ/1'>
Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/case.py", line 620, in run
    outcome.errors.clear()
OSError: [Errno 28] No space left on device
Warning -- Unraisable exception
Exception ignored in: <_io.BufferedRandom name='/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/build/test_python_40590æ/test_python_worker_38107æ/@test_38107_tmpæ/1'>
Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/case.py", line 620, in run
    outcome.errors.clear()
OSError: [Errno 28] No space left on device
Warning -- Unraisable exception
Exception ignored in: <_io.BufferedRandom name='/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/build/test_python_40590æ/test_python_worker_38107æ/@test_38107_tmpæ/1'>
Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/case.py", line 620, in run
    outcome.errors.clear()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 447, in test_popitem
    keys.append(self._box.add(self._template % i))
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 981, in add
    _sync_close(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 2134, in _sync_close
    _sync_flush(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 2128, in _sync_flush
    f.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 136, in test_add_8bit_body
    key = self._box.add(self._non_latin_bin_msg)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 299, in test_iterkeys
    self._check_iteration(self._box.iterkeys, do_keys=True, do_values=False)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 333, in _check_iteration
    keys.append(self._box.add(self._template % i))
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 66, in test_add
    keys.append(self._box.add(self._template % 0))
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 303, in test_keys
    self._check_iteration(self._box.keys, do_keys=True, do_values=False)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 333, in _check_iteration
    keys.append(self._box.add(self._template % i))
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 981, in add
    _sync_close(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 2134, in _sync_close
    _sync_flush(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 2128, in _sync_flush
    f.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 173, in test_add_StringIO_warns
    key = self._box.add(io.StringIO(self._template % "0"))
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 447, in test_popitem
    keys.append(self._box.add(self._template % i))
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 271, in test_get_string
    key0 = self._box.add(self._template % 0)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 158, in test_add_binary_nonascii_file
    key = self._box.add(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 317, in test_values
    self._check_iteration(self._box.values, do_keys=False, do_values=True)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 333, in _check_iteration
    keys.append(self._box.add(self._template % i))
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 303, in test_keys
    self._check_iteration(self._box.keys, do_keys=True, do_values=False)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 333, in _check_iteration
    keys.append(self._box.add(self._template % i))
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 253, in test_get_message
    key0 = self._box.add(self._template % 0)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 57, in setUp
    self._box = self._factory(self._path)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 1170, in <lambda>
    _factory = lambda self, path, factory=None: mailbox.MH(path, factory)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 943, in __init__
    os.mkdir(self._path, 0o700)
OSError: [Errno 28] No space left on device: '/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/build/test_python_40590æ/test_python_worker_38107æ/@test_38107_tmpæ'


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 94, in test_add_invalid_8bit_bytes_header
    key = self._box.add(self._nonascii_msg.encode('latin-1'))
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 1178, in test_list_folders
    self._box.add_folder('two')
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1131, in add_folder
    return MH(os.path.join(self._path, folder),
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 943, in __init__
    os.mkdir(self._path, 0o700)
OSError: [Errno 28] No space left on device: '/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/build/test_python_40590æ/test_python_worker_38107æ/@test_38107_tmpæ/two'


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 216, in test_discard
    key0 = self._box.add(self._template % 0)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 307, in test_itervalues
    self._check_iteration(self._box.itervalues, do_keys=False,
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 333, in _check_iteration
    keys.append(self._box.add(self._template % i))
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 499, in test_popitem_and_flush_twice
    self._box.add(self._template % 0)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 495, in test_flush
    self._test_flush_or_close(self._box.flush, True)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 522, in _test_flush_or_close
    self._box.add(contents[0])
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 761, in _append_message
    offsets = self._install_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1439, in _install_message
    message = self._string_to_bytes(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 204, in _string_to_bytes
    raise ValueError("String input must be ASCII-only; "
ValueError: String input must be ASCII-only; use bytes or a Message instead


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 228, in test_get
    key0 = self._box.add(self._template % 0)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_cmd_line_script.py", line 570, in test_non_ascii
    script_name = _make_test_script(os.getcwd(), name, source)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_cmd_line_script.py", line 81, in _make_test_script
    to_return = make_script(script_dir, script_basename, source)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/support/script_helper.py", line 215, in make_script
    with open(script_name, 'w', encoding='utf-8') as script_file:
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 1402, in test_initialize_with_binary_file
    with open(self._path, 'wb+') as f:
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 499, in test_popitem_and_flush_twice
    self._box.add(self._template % 0)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 981, in add
    _sync_close(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 2134, in _sync_close
    _sync_flush(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 2128, in _sync_flush
    f.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 379, in test_len
    keys.append(self._box.add(self._template % i))
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 279, in test_get_file
    key0 = self._box.add(self._template % 0)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 461, in test_update
    key0 = self._box.add(self._template % 'original 0')
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 388, in test_set_item
    key0 = self._box.add(self._template % 'original 0')
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 243, in test_getitem
    key0 = self._box.add(self._template % 0)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 263, in test_get_bytes
    key0 = self._box.add(self._template % 0)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 312, in test_iter
    self._check_iteration(self._box.__iter__, do_keys=False,
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 333, in _check_iteration
    keys.append(self._box.add(self._template % i))
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 167, in test_add_text_file_warns
    key = self._box.add(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 968, in test_permissions_after_flush
    self._box.add(self._template % 0)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 1265, in test_pack
    key0 = self._box.add(msg0)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 981, in add
    _sync_close(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 2134, in _sync_close
    _sync_flush(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 2128, in _sync_flush
    f.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 190, in test_delitem
    self._test_remove_or_delitem(self._box.__delitem__)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 194, in _test_remove_or_delitem
    key0 = self._box.add(self._template % 0)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 326, in test_items
    self._check_iteration(self._box.items, do_keys=True, do_values=True)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 333, in _check_iteration
    keys.append(self._box.add(self._template % i))
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 321, in test_iteritems
    self._check_iteration(self._box.iteritems, do_keys=True,
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 333, in _check_iteration
    keys.append(self._box.add(self._template % i))
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 518, in test_close
    self._test_flush_or_close(self._box.close, False)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 522, in _test_flush_or_close
    self._box.add(contents[0])
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 417, in test_clear
    self._box.add(self._template % i)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 101, in test_invalid_nonascii_header_as_string
    key = self._box.add(subj.encode('latin-1'))
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 1253, in add
    key = _singlefileMailbox.add(self, message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 606, in add
    self._toc[self._next_key] = self._append_message(message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 766, in _append_message
    self._file.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 1395, in test_initialize_with_file
    f.seek(0)
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 379, in test_len
    keys.append(self._box.add(self._template % i))
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 981, in add
    _sync_close(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 2134, in _sync_close
    _sync_flush(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 2128, in _sync_flush
    f.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 272, in test_get_string
    key1 = self._box.add(_sample_message)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 981, in add
    _sync_close(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 2134, in _sync_close
    _sync_flush(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 2128, in _sync_flush
    f.flush()
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_mailbox.py", line 427, in test_pop
    key0 = self._box.add(self._template % 0)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 981, in add
    _sync_close(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 2134, in _sync_close
    _sync_flush(f)
  File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/mailbox.py", line 2128, in _sync_flush
    f.flush()
OSError: [Errno 28] No space left on device

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants