Eugene Toder

Results 47 issues of Eugene Toder

When calling `Calendar::advance()` with business days starting on a weekend or a holiday, the current logic "consumes" one day to get to a good day and then advances by N-1...

In the code below I'm writing a custom serializer for `list[int]` fields. In the serializer I need to know the tag name of the field, rather than the field name....

question

Normally pydantic supports [typing.Sequence](https://docs.pydantic.dev/latest/api/standard_library_types/#typingsequence), but it generates an internal error with pydantic_xml: ```python import pydantic_xml as pxml from typing import Sequence class Model(pxml.BaseXmlModel): values: Sequence[int] ``` results in ``` Traceback...

enhancement
v2

pydantic_xml seems to have an issue with PlainValidator: ```python import datetime as dt import pydantic import pydantic_xml as pxml from typing import Annotated Date = Annotated[ dt.date, pydantic.PlainValidator( lambda v:...

### Expected behavior It should not be possible to get around the filter by inserting invisible zero-width characters. We can probably just remove all of them in pre-processing. ### Actual...

bug

QuantLib now has MultipleResetsCoupon and MultipleResetsLeg, but it does not provide a ready-made instrument that uses these or a rate helper that can be used to bootstrap a curve using...

help wanted

Fixes #105