python
15 posts tagged python, newest first.
Posts
One unquoted attribute skips the whole tag: PathConverter and B64 in pymdown-extensions
Raw HTML such as <img src="a.png" width=100> kept its src as written in pymdown-extensions, a Python library of Markdown extensions: PathConverter did not rewrite it…
A group opener consumed as a repeated star: star groups in wcmatch
In wcmatch, a Python glob and fnmatch library, a star directly before an extended star group, as in a(b), was not read as followed by the group (b).
A key lowered on lookup but stored as is: unique glob results in wcmatch
In wcmatch, a Python glob and fnmatch library, glob.glob and glob.iglob returned a path twice when two patterns found it, IGNORECASE was set and the path had an upper…
A year limit inherited from datetime: range matching for week inputs in soupsieve
In soupsieve, the CSS selector library behind Beautiful Soup, :in-range and :out-of-range raised ValueError for a week input with a week-year of 10000 or more.
A cached count that left out one element: :nth-last-child(an+b of S) in soupsieve
In soupsieve, the CSS selector library behind Beautiful Soup, :nth-last-child(an+b of S) returned the wrong elements when the first sibling it checked did not match S.
A Bessel function that overflows before the result: the VonMises log-density in PyMC
In PyMC, a Python library for probabilistic programming, VonMises.logp returned -inf for a large concentration kappa: from about 92 in float32, from about 710 in float64.
A copy that shared the original's hook lists: with_options in Prefect
In Prefect, a Python workflow orchestration library, with_options made a copy of a task or flow that shared a hook list with the original whenever that list already…
A support lost in a pytree round trip: Levy in NumPyro
NumPyro, a probabilistic programming library on JAX, lets a distribution cross a jit boundary as a pytree. The Levy distribution came out the other side with no support.
A second stored copy of the bounds: the interval supports in NumPyro
Uniform, LogUniform and DiscreteUniform in NumPyro stored their bounds twice: as low and high, and again inside a cached support.
A count zeroed by a nested call: inverse extended globs in wcmatch
!(a)@(b|(c)) raised re.error in wcmatch, a Python library for wildcard and glob matching, although Bash accepts it.
One label dict for every table: positional factor labels in tox
In tox, a Python tool that runs test environments, a project with two env_base tables using positional factor labels got empty labels for every table but the last.
An assignment to no name: extract_function in Jedi
Script.extract_function in Jedi, a Python library for editor autocompletion and refactoring, wrote code that does not parse when the extracted lines define no name.
A hold count raised before the path was resolved: acquire in filelock
FileLock.acquire() in filelock, a Python library for file locks, raised FileNotFoundError when the working directory was gone.
A template that quoted without escaping: JSON tag export in ezdxf
export_json_tags() in ezdxf, a Python library for DXF drawing files, wrote JSON that json.loads rejected, or read back as a different string, when a string value held a…
One local variable, one reference cycle per error reply in redis-py
On 2026-10-15 redis-py merged a small fix I sent: #4434, "Break the ResponseError reference cycle in asyncio read_response".