[issue9354] fire_wrapper fails to provide getsockopt()

2010-07-23 Thread Łukasz Langa
Łukasz Langa added the comment: Here goes the patch. -- keywords: +patch Added file: http://bugs.python.org/file18149/issue9354.diff ___ Python tracker ___ __

[issue9354] fire_wrapper fails to provide getsockopt()

2010-07-23 Thread Łukasz Langa
New submission from Łukasz Langa : Tested on Python 3.2a0 on Mac OS 10.6.4. When you specify the most basic `file_dispatcher` and run the loop, `file_wrapper` fails because it doesn't provide the `getsockopt()` to fake being a socket. The code import asyncore import os class FileDi