Nathaniel Manista

Results 12 issues of Nathaniel Manista

[Elsewhere](https://github.com/grpc/grpc/issues/4417#issuecomment-242994210) @anentropic writes that it's not obvious how to code for non-`OK` status codes. In particular I'm not sure we have anything describing how application-specific use of application-specified non-`OK` status...

Applications can customize the `user-agent` header that will be used with their RPCs (by means of channel arguments in the core-wrapping languages), but we offer no guidance on what applications...

For years I've favored writing code shaped like ``` my_message = my_module_pb2.MyMessage(my_first_attribute=3, my_second_attribute=4) ``` rather than ``` my_message = my_module_pb2.MyMessage() my_message.my_first_attribute = 3 my_message.my_second_attribute = 4 ``` . Are these...

enhancement
python
documentation

**What language does this apply to?** Python **Describe the problem you are trying to solve.** `msg.ClearField('x')` is unattractive and could be more idiomatic and shorter. **Describe the solution you'd like**...

enhancement
python

With PyInstaller 4.0 and the codebase contained in [this sdist](https://github.com/pyinstaller/pyinstaller/files/5110297/representative-0.0.20200813144015583612.tar.gz) I can create a single-file executable with `python -m PyInstaller --onefile --add-data="representative/util/resource.txt:representative/util" --name=representative representative/__main__.py`. Woohoo! ... but there's room for...

feature
pull-request wanted

**To what language does this apply?** Python. **Describe the problem you are trying to solve.** The Python language (since 3.4) has an `enum` module, but the generated Python classes in...

enhancement
python

**To what language does this apply?** Python **Describe the problem you are trying to solve.** Construct a `google.protobuf.timestamp_pb2.Timestamp` from a numeric value of milliseconds in the most-attractive, with-the-best-developer-experience possible. **Describe...

enhancement
python

Over in [this area of python.org](https://docs.python.org/3/library/gzip.html#examples-of-usage) we see the sample program ```python import gzip import shutil with open('/home/joe/file.txt', 'rb') as f_in: with gzip.open('/home/joe/file.txt.gz', 'wb') as f_out: shutil.copyfileobj(f_in, f_out) ``` When...

I recently attempted to use [one of my favorite static analysis tools](https://www.youtube.com/watch?v=abvW0mOrDiY) with `hpack` and it choked on ``` try: # pragma: no cover basestring = basestring except NameError: #...

With `pytype-2024.9.13` the file content ```python Q = sum([0, 1, 2, 3, None]) T = sum([None, 3]) W = sum([None, None]) ``` is flagged with ``` temp-2024-09-14-pytype/haha.py:3:1: error: in :...

bug
cat: control flow