George Macon
George Macon
OK, as I mentioned in https://github.com/dlenski/vpn-slice/issues/53#issuecomment-651131201, I've started thinking about setting up Mypy to try to catch some of these silly errors. Here's what I've come up with so far:...
On Python 2, pymongo (or maybe MongoDB itself, I'm not quite clear on that) will accept a byte string containing UTF-8 encoded data and then return it as Unicode. MongoMock...
When you create a mapping and then read it back with get_mapping(), the value for index is different. This is because in pyes's AbstractField index defaults to 'not_analyzed' but in...
As @nickw444 mentioned in https://github.com/nickw444/flask-ldap3-login/pull/66#discussion_r317557306, we can reduce the complexity by requiring a moderately new version of Flask. The first thing mentioned (`teardown_appcontext`) was added in Flask 0.9, but we...
Currently, `dpkt.pcap.Reader` returns the timestamp as a `float` if the pcap has microsecond resolution and as a `decimal.Decimal` if the pcap has nanosecond precision. I'd like to request that the...
I got these two test failures during a test run, but they passed when I ran the tests a second time: ``` ________________________ test_hdbscan_boruvka_balltree _________________________ def test_hdbscan_boruvka_balltree(): labels, p, persist,...
Pytype 2024.02.13 Python 3.8.18 This file: ```python from contextlib import asynccontextmanager from typing import AsyncGenerator from attrs import define @define class Thing: instance: int @asynccontextmanager async def context(self) -> AsyncGenerator[None,...
I'm using pytype on my codebase, which currently has 90 files checked by pytype. Right now, 37 of them, or 41%, are not being checked due to #1571, but I...
I didn't see anywhere that ikos documents what versions of pygments are supported, but: In [Pygments 2.12.0](https://pygments.org/docs/changelog/#version-2-12-0), the signature of `HtmlFormatter.wrap` was changed, and this exception is now raised out...
For a thing at work, I implemented some [un]structure hook factories that wrap `make_dict_structure_fn` and `make_dict_unstructure_fn` to support flattening an attribute, like this: ```python @define class A: a: int b:...