[issue21730] test_socket fails --without-threads

2014-06-13 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
assignee:  - terry.reedy
nosy: +terry.reedy

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



[issue21730] test_socket fails --without-threads

2014-06-13 Thread Roundup Robot

Roundup Robot added the comment:

New changeset f44275c66fcf by Terry Jan Reedy in branch '3.4':
Issue #21730: Add no-thread skip in test_socket. Patch by Berker Peksag.
http://hg.python.org/cpython/rev/f44275c66fcf

--
nosy: +python-dev

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



[issue21730] test_socket fails --without-threads

2014-06-13 Thread Terry J. Reedy

Terry J. Reedy added the comment:

It is helpful to note that an issue such as this does not apply to 2.7, so no 
one needs to check whether the omission is an oversight, and that you know that 
the patch applies cleanly to both 3.4 and 3.5.

--
resolution:  - fixed
stage: patch review - resolved
status: open - closed

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



[issue21730] test_socket fails --without-threads

2014-06-12 Thread Berker Peksag

New submission from Berker Peksag:

Here's the traceback (tested on Ubuntu 12.04):

==
ERROR: testBCM (test.test_socket.CANTest)
--
Traceback (most recent call last):
  File /home/berker/projects/cpython-default/Lib/test/test_socket.py, line 
231, in _setUp
self.server_ready = threading.Event()
AttributeError: 'NoneType' object has no attribute 'Event'

==
ERROR: testSendFrame (test.test_socket.CANTest)
--
Traceback (most recent call last):
  File /home/berker/projects/cpython-default/Lib/test/test_socket.py, line 
231, in _setUp
self.server_ready = threading.Event()
AttributeError: 'NoneType' object has no attribute 'Event'

==
ERROR: testSendMaxFrame (test.test_socket.CANTest)
--
Traceback (most recent call last):
  File /home/berker/projects/cpython-default/Lib/test/test_socket.py, line 
231, in _setUp
self.server_ready = threading.Event()
AttributeError: 'NoneType' object has no attribute 'Event'

==
ERROR: testSendMultiFrames (test.test_socket.CANTest)
--
Traceback (most recent call last):
  File /home/berker/projects/cpython-default/Lib/test/test_socket.py, line 
231, in _setUp
self.server_ready = threading.Event()
AttributeError: 'NoneType' object has no attribute 'Event'

--

Patch attached.

--
components: Tests
files: test_socket_thread.diff
keywords: patch
messages: 220339
nosy: berker.peksag
priority: normal
severity: normal
stage: patch review
status: open
title: test_socket fails --without-threads
type: behavior
versions: Python 3.4, Python 3.5
Added file: http://bugs.python.org/file35593/test_socket_thread.diff

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