[issue28459] _pyio module broken on Cygwin / setmode not usable

2021-10-21 Thread Irit Katriel
Change by Irit Katriel : -- resolution: duplicate -> wont fix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28459] _pyio module broken on Cygwin / setmode not usable

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Cygwin is unsupported - close all open issues and list them here. ___ Python tracker _

[issue28459] _pyio module broken on Cygwin / setmode not usable

2019-06-12 Thread Erik Bray
Change by Erik Bray : -- pull_requests: +13877 pull_request: https://github.com/python/cpython/pull/14013 ___ Python tracker ___ ___

[issue28459] _pyio module broken on Cygwin / setmode not usable

2017-12-21 Thread Zachary Ware
Change by Zachary Ware : -- nosy: +zach.ware stage: -> patch review versions: -Python 3.5 ___ Python tracker ___ ___ Python-bugs-li

[issue28459] _pyio module broken on Cygwin / setmode not usable

2017-12-19 Thread Erik Bray
Erik Bray added the comment: Right, the current patch is really combining several issues. I'll make a PR from it that just fixes the _pyio issue. I'll also open an issue for fixing the ctypes bug (this is a patch I've had in my cygwin branch for ages but just never got around to making a r

[issue28459] _pyio module broken on Cygwin / setmode not usable

2017-12-12 Thread Masayuki Yamamoto
Masayuki Yamamoto added the comment: FYI, cygwin-pyio-setmode.patch includes two extra parts for running on Cygwin. First, fix import error for ctypes (unopened issue). Second, fix building _ctypes module (#4032 - PR 4153). -- ___ Python tracker

[issue28459] _pyio module broken on Cygwin / setmode not usable

2016-11-07 Thread Erik Bray
Erik Bray added the comment: Hi Masayuki, thanks for the response (I thought I replied to this earlier but maybe I only imagined it--I've been on vacation). I agree with just about everything you write here. I'm aware of the FreeBSD setmode(), but I figured os.setmode() could do different thi

[issue28459] _pyio module broken on Cygwin / setmode not usable

2016-10-20 Thread Masayuki Yamamoto
Masayuki Yamamoto added the comment: I agree to use setmode() at _pyio module for Cygwin. However, I have two reasons that I disagree to the implementation of os.setmode(). First, FreeBSD has another setmode() that operate file permission bits [1]. Therefore the implementation of os.setmode() w

[issue28459] _pyio module broken on Cygwin / setmode not usable

2016-10-17 Thread Erik Bray
New submission from Erik Bray: Since the patch to #24881 was merged the _pyio module has been non-importable on Cygwin, due to an attempt to import from the msvcrt module. However, the msvcrt module is not built on Cygwin (Cygwin does not use MSVCRT). Cygwin's libc does, however, have _setmod