[issue40189] MultiProcessing Subclass - overrides run method issue

2020-04-04 Thread Guy Kogan


Change by Guy Kogan :


--
stage:  -> resolved
status: open -> closed

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



[issue40189] MultiProcessing Subclass - overrides run method issue

2020-04-04 Thread Guy Kogan


Guy Kogan  added the comment:

I have fixed the issue

--
resolution:  -> fixed

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



[issue40189] MultiProcessing Subclass - overrides run method issue

2020-04-04 Thread Guy Kogan


New submission from Guy Kogan :

unable to override run method. 

when running the code i am unable to run the "run" function

output from the code: 

Process 0 has been created
Process 1 has been created
Join for process  is done
Join for process  is done
Test Done

--
files: Multi-processing_SYN_scan.py
messages: 365802
nosy: Python_dev_IL
priority: normal
severity: normal
status: open
title: MultiProcessing Subclass - overrides run method issue
versions: Python 3.8
Added file: https://bugs.python.org/file49035/Multi-processing_SYN_scan.py

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



[issue40097] Queue.Empty issue - Python3.8

2020-03-28 Thread Guy Kogan


Guy Kogan  added the comment:

Thanks Tim Peters and Raymond Hettinger, the issue has been resolved.

Have a nice day!

--
resolution:  -> works for me
stage:  -> resolved
status: open -> closed

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



[issue40097] Queue.Empty issue - Python3.8

2020-03-28 Thread Guy Kogan


Guy Kogan  added the comment:

I still dont understand what do you mean? 

Can you please elaborate?

--

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



[issue40097] Queue.Empty issue - Python3.8

2020-03-28 Thread Guy Kogan


New submission from Guy Kogan :

Python 3.8 Queue module is unable to handle the expection: 

error: 

Exception in thread Thread-5:
Traceback (most recent call last):
  File "FTP_multithreading.py", line 17, in run
new_connection = self.queue.get(timeout=2)
  File "/usr/local/lib/python3.8/queue.py", line 178, in get
raise Empty
_queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
  File "FTP_multithreading.py", line 18, in run
except queue.Empty:
AttributeError: 'Queue' object has no attribute 'Empty'
b'220 ns.iren.ru FTP server (Version wu-2.6.2(1) Fri Sep 12 08:50:43 IRKST 
2008) ready.\r\n'
Exception in thread Thread-4:
Traceback (most recent call last):
  File "FTP_multithreading.py", line 17, in run
new_connection = self.queue.get(timeout=2)
  File "/usr/local/lib/python3.8/queue.py", line 178, in get
raise Empty
_queue.Empty


When the Last task is done the exception queue.Empty should occur while 
handling the exception another exception is occurred.

--
files: FTP_Code_queue.py
messages: 365225
nosy: Python_dev_IL
priority: normal
severity: normal
status: open
title: Queue.Empty issue - Python3.8
type: crash
versions: Python 3.8
Added file: https://bugs.python.org/file49005/FTP_Code_queue.py

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