This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2008年12月03日 01:10 by giampaolo.rodola, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| asyncore.patch | giampaolo.rodola, 2008年12月03日 01:10 | asyncore's loop() patch (including modified tests) | ||
| Messages (3) | |||
|---|---|---|---|
| msg76807 - (view) | Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) | Date: 2008年12月03日 01:10 | |
I discovered that some pyftpdlib [1] tests fail when using poll() instead of select(). The problem is in asyncore.readwrite() function which erroneously calls handle_read_event() in case of a POLLPRI event. The patches modify readwrite() function so that: - POLLPRI is now treated as synonym for "there is urgent data to read" so handle_expt_event() is called. - POLLHUP, POLLERR and POLLINVAL are now treated as synonyms for "the connection has been closed" (Twisted behaves exactly the same) so handle_close() is called. Both pyftpdlib and asyncore tests passed on Linux Debian Etch and FreeBSD 7.0-RC1. [1] http://code.google.com/p/pyftpdlib/ |
|||
| msg77902 - (view) | Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) | Date: 2008年12月16日 13:28 | |
IMHO it would be good if this could go in the latest 2.4 and 2.5 upcoming releases while we still have the chance. |
|||
| msg85912 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2009年04月12日 17:28 | |
Fixed as part of the work done on issue1161031. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:42 | admin | set | github: 48751 |
| 2009年04月29日 07:19:38 | georg.brandl | link | issue1541 superseder |
| 2009年04月12日 17:28:32 | r.david.murray | set | status: open -> closed nosy: + r.david.murray messages: + msg85912 resolution: duplicate stage: resolved |
| 2009年03月28日 12:12:22 | intgr | set | nosy:
+ intgr |
| 2008年12月20日 14:30:41 | loewis | set | versions: - Python 2.5, Python 2.4, Python 2.5.3 |
| 2008年12月16日 13:28:19 | giampaolo.rodola | set | messages: + msg77902 |
| 2008年12月15日 18:48:06 | giampaolo.rodola | set | versions: + Python 2.5, Python 2.4, Python 2.5.3 |
| 2008年12月03日 01:10:51 | giampaolo.rodola | create | |