[issue25365] test_pickle fails with --without-threads

2015-10-10 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25365] test_pickle fails with --without-threads

2015-10-10 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 1cb9ce2d83d8 by Serhiy Storchaka in branch '3.4':
Issue #25365: test_pickle now works in threads disabled builds.
https://hg.python.org/cpython/rev/1cb9ce2d83d8

New changeset 48cb00431ce6 by Serhiy Storchaka in branch '3.5':
Issue #25365: test_pickle now works in threads disabled builds.
https://hg.python.org/cpython/rev/48cb00431ce6

New changeset 655fd1e9b444 by Serhiy Storchaka in branch 'default':
Issue #25365: test_pickle now works in threads disabled builds.
https://hg.python.org/cpython/rev/655fd1e9b444

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25365] test_pickle fails with --without-threads

2015-10-10 Thread Arfrever Frehtes Taifersar Arahesis

New submission from Arfrever Frehtes Taifersar Arahesis:

test.test_pickle.CompatPickleTests.test_exceptions() test introduced in 
revision 8d86dfe53b97 (in Python >=3.4) fails with --without-threads, because 
it unconditionally imports multiprocessing module, which is known to not work 
with --without-threads.
The last part of this test should probably be skipped when import of 
multiprocessing fails.

==
ERROR: test_exceptions (test.test_pickle.CompatPickleTests)
--
Traceback (most recent call last):
  File "/tmp/cpython/Lib/test/test_pickle.py", line 383, in test_exceptions
import multiprocessing.context
  File "/tmp/cpython/Lib/multiprocessing/__init__.py", line 16, in 
from . import context
  File "/tmp/cpython/Lib/multiprocessing/context.py", line 3, in 
import threading
  File "/tmp/cpython/Lib/threading.py", line 4, in 
import _thread
ImportError: No module named '_thread'

--

--
components: Tests
messages: 252722
nosy: Arfrever, alexandre.vassalotti, pitrou, serhiy.storchaka
priority: normal
severity: normal
status: open
title: test_pickle fails with --without-threads
versions: Python 3.4, Python 3.5, Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25365] test_pickle fails with --without-threads

2015-10-10 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thank you for your report Arfrever.

--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed
type:  -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com