From tjreedy at udel.edu Thu Jul 27 21:03:15 2023 From: tjreedy at udel.edu (Terry Reedy) Date: Thu, 27 Jul 2023 21:03:15 -0400 Subject: [Idle-dev] bug in idle linux In-Reply-To: <1903167441.891134.1680381718265@chmail.ir> References: <1903167441.891134.1680381718265@chmail.ir> Message-ID: <350e56d8-2bd3-f866-5a2c-eb157476d476@udel.edu> On 4/1/2023 4:41 PM, ???????? ?????? via IDLE-dev wrote: > in linux > > when type Persian or Arabic word like this > ???? > this word is typed ? ? ? ? > > this bug was not in windows. IDLE uses Python's tkinter wrapper of the tk GUI framework. It has no control over how Linux and tk handle right-to-left text. I included Hebrew and Arabic to the Font Sample on the Fonts page of the Settings (Option) dialog partly so one could see how text in either language are dislayed by tk on one's OS. -- Terry Jan Reedy From tjreedy at udel.edu Thu Jul 27 21:09:28 2023 From: tjreedy at udel.edu (Terry Reedy) Date: Thu, 27 Jul 2023 21:09:28 -0400 Subject: [Idle-dev] Why does IDLE use a subprocess? In-Reply-To: References: <2m-4UrFZwtHHD2xPWD7CAeB5szq7JSX4c6ezZ9r2C-1QAow9PNfQTnfrZYJoME9MhyIsLeFyQWOxXz6XAFE7EUsXKXL5qWBluhpw0HGG1oY=@proton.me> Message-ID: On 6/1/2023 2:37 PM, Tal Einat wrote: > Sharing the interpreter is a problem for various reasons, led by: > * User code can break IDLE in many interesting and unexpected ways. > * User code can block the main thread, which would make IDLE unresponsive. A particular reason was to make IDLE better as an environment for writing tkinter code. Better to have two separate mainloops in two separate processes. -- Terry Jan Reedy From tjreedy at udel.edu Thu Jul 27 21:09:28 2023 From: tjreedy at udel.edu (Terry Reedy) Date: Thu, 27 Jul 2023 21:09:28 -0400 Subject: [Idle-dev] Why does IDLE use a subprocess? In-Reply-To: References: <2m-4UrFZwtHHD2xPWD7CAeB5szq7JSX4c6ezZ9r2C-1QAow9PNfQTnfrZYJoME9MhyIsLeFyQWOxXz6XAFE7EUsXKXL5qWBluhpw0HGG1oY=@proton.me> Message-ID: On 6/1/2023 2:37 PM, Tal Einat wrote: > Sharing the interpreter is a problem for various reasons, led by: > * User code can break IDLE in many interesting and unexpected ways. > * User code can block the main thread, which would make IDLE unresponsive. A particular reason was to make IDLE better as an environment for writing tkinter code. Better to have two separate mainloops in two separate processes. -- Terry Jan Reedy From tjreedy at udel.edu Thu Jul 27 21:15:18 2023 From: tjreedy at udel.edu (Terry Reedy) Date: Thu, 27 Jul 2023 21:15:18 -0400 Subject: [Idle-dev] VPAT/WCAG 2.1 request In-Reply-To: References: Message-ID: On 6/12/2023 8:49 PM, Sarvi, Kayvon B wrote: > The LACC Math Department would like to consider using IDLE for teaching > our courses. We kindlyrequestaVPAT/WCAG 2.1of IDLEfor LACCD District's > LTI Review Team to review the accessibility requirements. Please provide > theVPAT/WCAG 2.1in PDF or Word document for our college district review > process. I have no idea what VPAT/WCAG is. In any case, CPython is a volunteer project distributed for no cost. We generally leave it to potential users or 3rd parties to evaluate its suitability. That said, IDLE uses the tcl/tk GUI framework, which I believe lacks some modern accessibility features. From what I have read, tk does not have, for instance, proper compatibility with screen readers. -- Terry Jan Reedy From tjreedy at udel.edu Thu Jul 27 21:15:18 2023 From: tjreedy at udel.edu (Terry Reedy) Date: Thu, 27 Jul 2023 21:15:18 -0400 Subject: [Idle-dev] VPAT/WCAG 2.1 request In-Reply-To: References: Message-ID: On 6/12/2023 8:49 PM, Sarvi, Kayvon B wrote: > The LACC Math Department would like to consider using IDLE for teaching > our courses. We kindlyrequestaVPAT/WCAG 2.1of IDLEfor LACCD District's > LTI Review Team to review the accessibility requirements. Please provide > theVPAT/WCAG 2.1in PDF or Word document for our college district review > process. I have no idea what VPAT/WCAG is. In any case, CPython is a volunteer project distributed for no cost. We generally leave it to potential users or 3rd parties to evaluate its suitability. That said, IDLE uses the tcl/tk GUI framework, which I believe lacks some modern accessibility features. From what I have read, tk does not have, for instance, proper compatibility with screen readers. -- Terry Jan Reedy