Jeremy Maitin-Shepard

Results 255 comments of Jeremy Maitin-Shepard

Adding it as a recoverable error makes sense. For this particular error, you could substitute Expenses:FIXME or just skip the entry altogether. Another way to expose errors is to add...

Price entries get added in ofx.py here: https://github.com/jbms/beancount-import/blob/ec40120c751c83e21407407a172138c778ad6490/beancount_import/source/ofx.py#L1108 They are derived from INVPOS entries in the OFX file, which are parsed here: https://github.com/jbms/beancount-import/blob/ec40120c751c83e21407407a172138c778ad6490/beancount_import/source/ofx.py#L659 You might want to check what is...

I think you may need to look at the parent `section` element to find the ids.

Note: In https://github.com/jbms/sphinx-immaterial I have implemented something similar entirely client side, but there are a few differences: - The sub-sections are parsed from the HTML document itself, while extracting snippets....

@jakobandersen If you have a chance to look at this as well, that would be awesome!

I wasn't too clear on exactly when the `PyModuleDef.m_free` function is called, so I did a bit of experimentation. My conclusion is that this change is NOT safe. First let's...

You can run the Python executable itself in a debugger --- obviously works better if you have the debugging symbols, though. What I mean, though, is that running Py_Initialize more...

CPython is the main implementation of Python --- PyPy is another less widely used implementation. I mentioned CPython because I have some familiarity with its implementation, while I have essentially...

I managed to get it working using plain CPython APIs: ``` PyTypeObject* GetClassGetitemMetaclass() { #if PY_VERSION_HEX < 0x030700000 // Polyfill __class_getitem__ support for Python < 3.7 static auto* metaclass =...