[issue3848] select.epoll calling register with the same fd fails

2009-05-31 Thread R. David Murray
R. David Murray added the comment: Committed (with fix to doc patch) to trunk in r73077, 26 in r73078, py3k in r73079, and 30 in r73081. -- nosy: +r.david.murray resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 2.7, Python 3.1 ___

[issue3848] select.epoll calling register with the same fd fails

2008-09-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: This should be removed from the docs patch: - Register a fd descriptor with the epoll object. + Register a fd descriptor with the epoll object. ___ Python tracker <[EMAIL PROTECTED]>

[issue3848] select.epoll calling register with the same fd fails

2008-09-12 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: It's not consistent with Python's select.poll API. But exarkun and I think that an exception is fine here. The exception makes it easier to spot issues. The patch updates the docs and adds some tests for corner cases to test_epoll.py -

[issue3848] select.epoll calling register with the same fd fails

2008-09-12 Thread Maries Ionel Cristian
Maries Ionel Cristian <[EMAIL PROTECTED]> added the comment: Why don't just fix the docs ? I think it's consistent with the epoll api the way it is now. ___ Python tracker <[EMAIL PROTECTED]> _

[issue3848] select.epoll calling register with the same fd fails

2008-09-12 Thread Barry A. Warsaw
Barry A. Warsaw <[EMAIL PROTECTED]> added the comment: Not a blocker. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing lis

[issue3848] select.epoll calling register with the same fd fails

2008-09-12 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: I'll look into it. kqueue should be checked for the issue, too. Barry: I don't think it's a release blocker but it's your call. -- nosy: +barry priority: -> critical versions: -Python 2.7, Python 3.1

[issue3848] select.epoll calling register with the same fd fails

2008-09-12 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: georg.brandl -> christian.heimes nosy: +christian.heimes ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3848] select.epoll calling register with the same fd fails

2008-09-12 Thread Maries Ionel Cristian
New submission from Maries Ionel Cristian <[EMAIL PROTECTED]>: The docs on epoll object's register method say: "Registering a file descriptor that’s already registered is not an error, and has the same effect as registering the descriptor exactly once." However when calling register twice with t