[issue46752] Introduce task groups to asyncio and change task cancellation semantics

2022-02-16 Thread Dan Halbert
Dan Halbert added the comment: For your TODO list (not sure how else to communicate this): I agree with the de-emphasis of gather(). I think adding another version of gather() that cancels all the remaining tasks if one fails would also be good, unless you think it is completely redundant

[issue36807] IDLE doesn't call os.fsync()

2019-05-12 Thread Dan Halbert
Dan Halbert added the comment: Fix tested and works! Comment from PR duplicated here. I tested this fix by editing the 3.7.3 IDLE code by hand, and editing this test program as code.py on a CIRCUITPY drive on Windows 10: import time i = 0 while True: print(i) i += 1 print

[issue36807] IDLE doesn't call os.fsync()

2019-05-07 Thread Dan Halbert
Dan Halbert added the comment: >Dan, slightly OT, but I am curious whether one can access USB ports (in a >system-dependent manner) directly from python code via os.system and ctypes? Do you mean from CircuitPython? The USB impplementation provides HID keyboard, mouse, and gamepad d

[issue36807] IDLE doesn't call os.fsync()

2019-05-06 Thread Dan Halbert
Dan Halbert added the comment: I'm one of the CircuitPython core devs. This issue is OS-dependent: Windows and Linux don't necessarily write data and metadata out to USB drives promptly. The problem is particularly acute for FAT12 filesystems on Windows, which are typically 16MB

[issue5712] tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release

2010-03-11 Thread Dan Halbert
Changes by Dan Halbert : -- nosy: +dhalbert ___ Python tracker <http://bugs.python.org/issue5712> ___ ___ Python-bugs-list mailing list Unsubscribe: