[issue3134] shutil references undefined WindowsError symbol
New submission from David Vitek <[EMAIL PROTECTED]>: If copystat fails in copytree on a non-windows box, you will get: NameError: global name 'WindowsError' is not defined: ... except WindowsError: -- components: Library (Lib) files: p.patch keywords: patch messages: 68373 nosy: dvitek severity: normal status: open title: shutil references undefined WindowsError symbol type: crash versions: Python 2.5 Added file: http://bugs.python.org/file10655/p.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3134> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15982] asyncore.dispatcher does not handle windows socket error code correctly (namely WSAEWOULDBLOCK 10035)
David Vitek added the comment: It doesn't look like the fix for issue #16133 fixed this problem, or perhaps it only fixed it for asynchat but not asyncore. I have attached a patch (against python 2, since this is where I needed it fixed). The patch treats WSA flavors of all errno values in the same way that the non-WSA flavors were treated before. It is the intent that no direct references to errno values persist after applying this patch. The patch fixed my particular issue, but I certainly haven't tested every new error condition. -- keywords: +patch nosy: +dvitek Added file: https://bugs.python.org/file47363/p.patch ___ Python tracker <https://bugs.python.org/issue15982> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com