Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential infinite recursion in list_from_graph_collection #243

Open
jgonggrijp opened this issue Dec 12, 2024 · 2 comments
Open

Potential infinite recursion in list_from_graph_collection #243

jgonggrijp opened this issue Dec 12, 2024 · 2 comments

Comments

@jgonggrijp
Copy link
Contributor

See https://github.com/UUDigitalHumanitieslab/EDPOP/pull/195/files#r1831499232. While this issue is unlikely to come up on the short term, this could easily change. This is the kind of thing that should be fixed in combination with a regression test.

@lukavdplas
Copy link
Contributor

If the RDF data contains a looping list (which would cause infinite recursion), what should happen instead?

@jgonggrijp
Copy link
Contributor Author

Pretend that the list ends after the element that closes the loop?

So:

[1, 2, 3, 4, 5, 1, 2, 3, 4, 5, ...] --> [1, 2, 3, 4, 5]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants