Commit Graph

3 Commits

Author SHA1 Message Date
Guido van Rossum 19f44560f2 Use ``0'' instead of ``None'' to reset the underlying object in close
methods.  Using None causes problems if the destructor is called after
the __builtin__ module has already been destroyed (unfortunately, this
can happen!).  I can't just delete the object because it is actually
tested for (if self._sock: ...).  Setting it to 0 is a bit weird but
works.
1997-11-04 17:32:59 +00:00
Guido van Rossum 5c9bfe2b80 Get rid of debug print statements 1996-08-20 20:00:51 +00:00
Guido van Rossum 80b0fa0d99 socket wrapper module around _socket for all Window platforms 1996-06-26 19:52:38 +00:00