[issue43923] Can't create generic NamedTuple as of py3.9

2022-03-09 Thread Julius Park
Julius Park added the comment: What about Protocol? It is possible to create a dataclass that is a protocol, so it would be nicer from a symmetry perspective to allow it on both dataclasses and NamedTuples. -- ___ Python tracker <ht

[issue40185] Refactor typing.NamedTuple

2022-03-08 Thread Julius Park
Change by Julius Park : -- nosy: +juliusgeo nosy_count: 5.0 -> 6.0 pull_requests: +29885 pull_request: https://github.com/python/cpython/pull/31779 ___ Python tracker <https://bugs.python.org/issu

[issue43923] Can't create generic NamedTuple as of py3.9

2022-03-08 Thread Julius Park
Change by Julius Park : -- nosy: +juliusgeo nosy_count: 14.0 -> 15.0 pull_requests: +29884 pull_request: https://github.com/python/cpython/pull/31779 ___ Python tracker <https://bugs.python.org/issu

[issue45934] python curses newterm implementation

2021-12-06 Thread Julius Hamilton
Julius Hamilton added the comment: I’m currently planning on studying the C code for initscr and newterm so I can really understand how they work. I’ll post any updates about this soon. Thanks. -- ___ Python tracker <https://bugs.python.

[issue45934] python curses newterm implementation

2021-12-05 Thread Julius Hamilton
Julius Hamilton added the comment: I’m trying to patch this bug. Here are my current working questions: 1. What is the relationship between an fd (file descriptor) and a terminal? What software / hardware component goes to “fd 0” to receive input from it? Is there a GNU Screen command to

[issue45934] python curses newterm implementation

2021-12-05 Thread Julius Hamilton
Julius Hamilton added the comment: I’m trying to patch this bug. Here are my current working questions: 1. What is the relationship between an fd (file descriptor) and a terminal? What software / hardware component goes to “fd 0” to receive input from it? Is there a GNU Screen command to

[issue45934] python curses newterm implementation

2021-12-04 Thread Julius Hamilton
Change by Julius Hamilton : -- nosy: +Guido.van.Rossum, juliushamilton100 ___ Python tracker <https://bugs.python.org/issue45934> ___ ___ Python-bugs-list mailin

[issue22298] Lib/warnings.py _show_warning does not protect against being called with a file like object which is closed

2016-11-25 Thread Julius Lehmann-Richter
Julius Lehmann-Richter added the comment: Hey Wolfgang, thank you for the clarification. I would never write such code of course, I stumbled across this with a third-party program. I understand your point of view and I actually agree. I would not have even opened this report if it had not

[issue22298] Lib/warnings.py _show_warning does not protect against being called with a file like object which is closed

2016-11-25 Thread Julius Lehmann-Richter
Julius Lehmann-Richter added the comment: Hey Wolfgang, thank you for looking into this old one again ;) The argument you are making does not answer the original bug report though as far as I can see. My initial problem was not the AttributeError about the missing write but a ValueError (I

[issue22298] Lib/warnings.py _show_warning does not protect against being called with a file like object which is closed

2014-08-29 Thread Julius Lehmann-Richter
New submission from Julius Lehmann-Richter: In Lib/warnings.py the _show_warning function catches IOError with the commented intention to ward against an "invalid file": def _show_warning(message, category, filename, lineno, file=None, line=None): """Hook to

[issue15312] Serial library not found

2012-07-09 Thread Julius
New submission from Julius : I'm running ver 2.7 and added the serial library from source forge. here is the error I get: Traceback (most recent call last): File "C:\Python27\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 326, in RunScript exec codeObj

[issue9991] xmlrpc client ssl check faulty

2010-11-14 Thread Julius Tuomisto
Julius Tuomisto added the comment: Renderfarm.fi's python based "uploader" for Blender 2.5 (GPL licensed and a part of the main distribution of Blender) is still suffering from this bug. We're hopeful that this issue would be fixed in the next versions of Python. Thank y