assert versus print [was Re: The curious behavior of integer objects]
Carl Banks
pavlovevidence at gmail.com
Tue Jan 16 02:11:26 EST 2007
More information about the Python-list mailing list
Tue Jan 16 02:11:26 EST 2007
- Previous message (by thread): Debugging SocketServer.ThreadingTCPServer
- Next message (by thread): assert versus print [was Re: The curious behavior of integer objects]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ron Adam wrote: > There have been times where I would like assert to be a little more assertive > than it is. :-) > > ie.. not being able to turn them off with the -0/-00 switches, and having them > generate a more verbose traceback. Personally, I'd rather see it get less assertive, i.e., having it only work in a special debugging mode. That way people who haven't RTFM don't use it to make sure their input is correct. Carl Banks
- Previous message (by thread): Debugging SocketServer.ThreadingTCPServer
- Next message (by thread): assert versus print [was Re: The curious behavior of integer objects]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list