Anton Petnitsky

Results comments of Anton Petnitsky

**Root cause:** when `WHITENOISE_KEEP_ONLY_HASHED_FILES = True`, whitenoise tracks intermediate hashed filenames in `new_files` via its `hashed_name()` override: ```python def hashed_name(self, *args, **kwargs): name = super().hashed_name(*args, **kwargs) if self._new_files is not...

Root cause confirmed: `_write_formula_element()` in `worksheet.py` strips the leading `=` from the formula string but **does not** call `_prepare_formula()`, so Excel 2013+ functions such as `ISFORMULA` are written without the...

I have identified the root cause and prepared a fix (PR #38862). The mutation occurs in two sites: `_default_params` mutates the caller's `extra_body` when injecting `media_response`, and `_to_responses_payload` stores a...

I have a fix ready (PR #38863). The silent data loss happens in both `__add__` and `__radd__` — the `except TypeError: added = other[key]` fallback discards the left-hand value. Fix:...

Thanks for the detailed review. **CI lint fix:** The `TRY003`/`EM102` violations are already resolved — the exception message is assigned to `msg` before being passed to `TypeError` in both `__add__`...

The ruff lint violations (TRY003/EM102) are fixed in the latest commit — the exception message is now assigned to `msg` before being passed to `TypeError` in both `__add__` and `__radd__`....

Root cause confirmed: `re_word = re.compile(r"\s*\S+\s*")` in `rich/_wrap.py`. In Python's Unicode regex mode, `\s` includes U+00A0 NO-BREAK SPACE, so `\S` excludes it. This means NBSP is treated as a word...

I have a fix ready. Opening the data file with `utf-8-sig` encoding (instead of relying on `pd.read_json` default) transparently strips the BOM when present while still reading plain UTF-8 files...

Root cause and fix: `_determine_linesep()` with `strategy="preserve"` iterates over output filenames and calls `open(fname, "rb").read()` to detect existing line endings. For regular files this is fine. For named pipes (FIFOs),...

I traced the root cause and submitted a fix in PR #3923.