Skip to content

Calling python function not expected to work? #274

Description

@DavidBriant

Just wanted to confirm that there's no way to call python from D at the moment? E.g.

def test_funcs():
    from pyd import appends_to_fn_cb
    import pytest
    #  FIXME
    with pytest.raises(RuntimeError):
        assert appends_to_fn_cb(lambda x: str(x), 42, "post") == \
            "42post"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions