1. 01 Eyl, 2005 1 kayıt (commit)
  2. 01 Eyl, 2004 1 kayıt (commit)
  3. 13 Agu, 2004 1 kayıt (commit)
  4. 18 Tem, 2004 1 kayıt (commit)
  5. 15 Tem, 2004 1 kayıt (commit)
  6. 10 Tem, 2004 2 kayıt (commit)
  7. 07 Tem, 2004 2 kayıt (commit)
  8. 30 Haz, 2004 1 kayıt (commit)
  9. 14 Haz, 2004 1 kayıt (commit)
  10. 03 Haz, 2004 1 kayıt (commit)
  11. 21 Mar, 2004 6 kayıt (commit)
  12. 08 Şub, 2004 1 kayıt (commit)
  13. 22 Eki, 2003 2 kayıt (commit)
  14. 20 Eki, 2003 1 kayıt (commit)
  15. 14 Şub, 2003 1 kayıt (commit)
  16. 26 Ara, 2002 1 kayıt (commit)
  17. 05 Kas, 2002 1 kayıt (commit)
    • Guido van Rossum's avatar
      Fix an old bug in poll(). When a signal is handled while we're · e94d8fab
      Guido van Rossum yazdı
      blocked in select(), this will raise select.error with errno set to
      EINTR.  The except clauses correctly ignores this error, but the rest
      of the logic will then call read() for all objects in select's *input*
      list of read file descriptors.  Then when an object's read_handler()
      is naive, it will call recv() on its socket, which will raise an
      IOError, and then asyncore decides to close the socket.  To fix this,
      we simply return in this case.
      
      Backport candidate.
      e94d8fab
  18. 26 Eyl, 2002 1 kayıt (commit)
  19. 24 Eyl, 2002 1 kayıt (commit)
  20. 13 Eyl, 2002 1 kayıt (commit)
  21. 12 Eyl, 2002 1 kayıt (commit)
    • Guido van Rossum's avatar
      I don't think it's safe to use map.iteritems() in the various poll · d560ace3
      Guido van Rossum yazdı
      routines.  I got some errors "dictionary changed size during
      iteration" when running ZEO tests on machine while doing heavy
      forground work in another window, and thinking about it, I believe
      that it should be okay if readable() or writable() modifies the map.
      
      I also finally made all the spacing conform to the Python style guide:
      no space between a function/method name and the following left
      parenthesis (fixed lots of occurrences), spaces around assignment
      operators (fixed a few, always of the form "map=..."), and a blank
      line between the class statement and the first method definition (a
      few).
      d560ace3
  22. 08 Eyl, 2002 1 kayıt (commit)
    • Jeremy Hylton's avatar
      A little refactoring. · d750036b
      Jeremy Hylton yazdı
      Add read(), write(), and readwrite() helper functions to shorten poll
      functions.  Use get() instead of try/except KeyError for lookup.
      XXX How could the lookup ever fail?
      
      Remove module-level DEBUG flag.
      
      Use iteritems() instead of items() when walking the socket map.
      
      Reformat the functions I touched so that are consistently Pythonic.
      d750036b
  23. 04 Nis, 2002 2 kayıt (commit)
  24. 14 Mar, 2002 1 kayıt (commit)
  25. 08 Mar, 2002 1 kayıt (commit)
  26. 14 Ara, 2001 1 kayıt (commit)
    • Jeremy Hylton's avatar
      Partial fix for problem in SF buf #487458 · 2a05bc72
      Jeremy Hylton yazdı
      Rev 1.20 introduced a call to getpeername() in the dispatcher
      constructor.  This only works for a connected socket.  Apparently
      earlier versions of the code worked with un-connected sockets, e.g. a
      listening socket.
      
      It's not clear that the code is supposed to accept these sockets,
      because it sets self.connected = 1 when passed a socket.  But it's
      also not clear that it should be a fatal error to pass a listening
      socket.
      
      The solution, for now, is to put a try/except around the getpeername()
      call and continue if it fails.  The self.addr attribute is used
      primarily (only?) to produce a nice repr for the object, so it hardly
      matters.  If there is a real error on a connected socket, it's likely
      that subsequent calls will fail too.
      2a05bc72
  27. 30 Eki, 2001 1 kayıt (commit)
  28. 29 Eki, 2001 2 kayıt (commit)
  29. 18 Eki, 2001 2 kayıt (commit)