SleekXMPP icon indicating copy to clipboard operation
SleekXMPP copied to clipboard

Fix #383: TypeError if arg[0] is socket object

Open elya5 opened this issue 10 years ago • 0 comments

The copy operation raises a TypeError because the socket is not serializable. Copying the object should only prevent the handler from changing it so "orig.excpetion(e)" can still be executed. However, the socket object does not have a "exception" method so it is save to only hold a reference in orig.

This can be removed once everything is read-only as described in the todo in line 1175

elya5 avatar Sep 19 '15 21:09 elya5