- 01 Eyl, 2005 1 kayıt (commit)
-
-
Neal Norwitz yazdı
-
- 01 Eyl, 2004 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
[Bug #1011606] Only check file descriptors for exceptional conditions if the fd is readable or writable
-
- 13 Agu, 2004 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
- 18 Tem, 2004 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 15 Tem, 2004 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
- 10 Tem, 2004 2 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
- 07 Tem, 2004 2 kayıt (commit)
-
-
Tim Peters yazdı
-
Andrew M. Kuchling yazdı
Rearrange code for writable() case to make the parallel logic clearer
-
- 30 Haz, 2004 1 kayıt (commit)
-
-
Michael W. Hudson yazdı
on the marshalling characteristics of infinities.
-
- 14 Haz, 2004 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 03 Haz, 2004 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 21 Mar, 2004 6 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
[Part of patch #909005] Repeating exception changed from 'raise socket.error, why' to just raise. Make use of connect_ex() raise socket.error with 2-tuple instead of just error code
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
- 08 Şub, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
(Contributed by Alexey Klimkin.) Don't keep the file descriptor after the channel is deleted.
-
- 22 Eki, 2003 2 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
[Part of patch #648322] Delete the poll2() function, which uses a 'poll' extension module that was once part of Medusa. Contributed by Kjetil Jacobsen
-
Andrew M. Kuchling yazdı
of the dispatcher object break. e.g. if you close() the object, it tries to remove itself from the default map, not from the map the dispatcher was created with. The patch, from Stephane Ninin, records the map as an attribute of the dispatcher instance. 2.3 bugfix candidate.
-
- 20 Eki, 2003 1 kayıt (commit)
-
-
Walter Dörwald yazdı
(From SF patch #810751)
-
- 14 Şub, 2003 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
- 26 Ara, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 05 Kas, 2002 1 kayıt (commit)
-
-
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.
-
- 26 Eyl, 2002 1 kayıt (commit)
-
-
Thomas Heller yazdı
-
- 24 Eyl, 2002 1 kayıt (commit)
-
-
Thomas Heller yazdı
Patch suggested by Guido, fixes SF item 611464. Bugfix candidate, will backport to release22-maint myself.
-
- 13 Eyl, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
More whitespace cleanup.
-
- 12 Eyl, 2002 1 kayıt (commit)
-
-
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).
-
- 08 Eyl, 2002 1 kayıt (commit)
-
-
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.
-
- 04 Nis, 2002 2 kayıt (commit)
-
-
Tim Peters yazdı
-
Jeremy Hylton yazdı
-
- 14 Mar, 2002 1 kayıt (commit)
-
-
Neal Norwitz yazdı
-
- 08 Mar, 2002 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
asyncore.poll, the select fails with EINTR, which the code catches. However, the code fails to clear the r/w/e arrays (like poll3 does), which means it acts as if every descriptor had received all possible events. Bug report and patch by Cesar Eduardo Barros
-
- 14 Ara, 2001 1 kayıt (commit)
-
-
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.
-
- 30 Eki, 2001 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
- 29 Eki, 2001 2 kayıt (commit)
-
-
Jeremy Hylton yazdı
Removes old XXX comment and possible source of long-delays.
-
Jeremy Hylton yazdı
And SF patch 473223 -- infinite getattr loop Wrap select() and poll() calls with try/except for EINTR. If EINTR is raised, treat as a response where no fd is ready. In dispatcher constructor, make sure self.socket is always initialized.
-
- 18 Eki, 2001 2 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-