[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #6357 [Stem]: Stem's exception classes should be moved to the module's top level



#6357: Stem's exception classes should be moved to the module's top level
--------------------+-------------------------------------------------------
 Reporter:  neena   |          Owner:  neena
     Type:  task    |         Status:  new  
 Priority:  normal  |      Milestone:       
Component:  Stem    |        Version:       
 Keywords:          |         Parent:       
   Points:          |   Actualpoints:       
--------------------+-------------------------------------------------------
 Stem's controller library part currently defines & raises some exceptions
 all of which are defined in the submodule stem.socket.

 While it made sense to have them there while the only exceptions that were
 raised were SocketClosed & SocketError, now that it includes a more non-
 socket related exceptions than socket related ones I think it makes sense
 to move them to the module's top level. (Things like InvalidRequest &
 InvalidArguments).

 If we're doing this, I can make the changes along with my controller class
 modifications.

 (stem.socket.InvalidRequest would become stem.InvalidRequest and so on.)

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6357>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs