-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: progval/rdflib
base: main
head repository: progval/rdflib
compare: collection-empty-list
- 18 commits
- 31 files changed
- 7 contributors
Commits on Jul 5, 2024
-
fix: Prevent Collection from add 'rdf:nil rdf:rest rdf:nil.' triples
Creating 'Collection(graph, RDF.nil)' used to add a 'rdf:nil rdf:rest rdf:nil.' triple to the graph, which turned the empty list into an infinite list. This was a side-effect of unconditionally appending 'seq' to the collection, which is not possible when the collection is 'nil' without ill side-effects. This commit makes the append conditional; and also checks the collection is non-empty in case the user explicitly tries to add item to the empty list.
Configuration menu - View commit details
-
Copy full SHA for fc02817 - Browse repository at this point
Copy the full SHA fc02817View commit details
Commits on Jul 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3cece74 - Browse repository at this point
Copy the full SHA 3cece74View commit details
Commits on Jul 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 99077f3 - Browse repository at this point
Copy the full SHA 99077f3View commit details -
Move emptiness check out of _end()
This will allow using _end() in other methods that would not need to append
Configuration menu - View commit details
-
Copy full SHA for 548be94 - Browse repository at this point
Copy the full SHA 548be94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ae46a4 - Browse repository at this point
Copy the full SHA 1ae46a4View commit details
Commits on Jul 25, 2024
-
Also prevent insertion at the end of finalized lists
Co-authored-by: Ashley Sommer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ea81da5 - Browse repository at this point
Copy the full SHA ea81da5View commit details
Commits on Jul 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c48eb78 - Browse repository at this point
Copy the full SHA c48eb78View commit details -
Also prevent .append() on finalized lists
Co-authored-by: Ashley Sommer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 859848c - Browse repository at this point
Copy the full SHA 859848cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8be2cb2 - Browse repository at this point
Copy the full SHA 8be2cb2View commit details
Commits on Jul 28, 2024
-
Add skolemization support for ntriples, nquads, hextuples and json-ld…
… support at parse time (RDFLib#2816) * feat: hextuple handles blank node graph names correctly in parser and serialiser * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Revert "[pre-commit.ci] auto fixes from pre-commit.com hooks" This reverts commit 78106bb. * feat: add skolemization support for ntriples, nquads, hextuples and json-ld at parse time * fix: mypy errors * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Nicholas Car <[email protected]> Co-authored-by: Ashley Sommer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2053ecd - Browse repository at this point
Copy the full SHA 2053ecdView commit details -
Fix and extend implementation of
BytesIOWrapper
(RDFLib#2853)* Fix implementation of BytesIOWrapper to make it more complete, more useful, and compliant with Python's BufferedIOBase and BinaryIO interface. BytesIOWrapper can now also wrap a TextIO Unicode file, or a StringIO, as well as the original wrapped str. * Add remaining missing methods: truncate, flush, isatty, fileno. * Catch OSError in BytesIOWrapper on base stream isatty() and fileno(), throw this error when expected when corresponding functions are invoked on the Wrapper. --------- Co-authored-by: Nicholas Car <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 563dfcc - Browse repository at this point
Copy the full SHA 563dfccView commit details
Commits on Jul 29, 2024
-
build(deps): bump library/python in /docker/unstable (RDFLib#2855)
Bumps library/python from `52f92c5` to `740d94a`. --- updated-dependencies: - dependency-name: library/python dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 90f5cc1 - Browse repository at this point
Copy the full SHA 90f5cc1View commit details -
build(deps): bump library/python in /docker/latest (RDFLib#2856)
Bumps library/python from `52f92c5` to `740d94a`. --- updated-dependencies: - dependency-name: library/python dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a4b9273 - Browse repository at this point
Copy the full SHA a4b9273View commit details -
Add optional orjson support for faster json reading and writing (RDFL…
…ib#2854) * initial orjson support, for hextuples parser and serializer, and first stages of json-ld parser. This relies on merging of the BytesIOWrapper PR. * Finish work bringing orjson to JSON-LD Graph Parser Add orjson to sparql-results-json parser, and sparql-results-json serializer Tangential fixes to all the other non-json SPARQL-Results serializers Adding better typing to all SPARQL-Results Serializers. Got 7 ignored tests passing for SPARQL-Results Serializers. * If its known, get FileInputSource encoding from the source itself for JSON-LD Parser. * Fix MyPy complaint in JSON-LD parser caused by reusing a variable name after it already has a type associated. * Add orjson support to the newly merged HTMLJSONParser. * MyPy typing fixes, Black Fixes, and Ruff linting fixes for orjson branch after resolving recent merge conflicts. * Add missing updated poetry.lock lockfile that is supposed to accompany the `orjson` pyproject addition. * The linter ignore-assignment-type suppressions aren't used when orjson is not installed throwing a mypy error, but they are needed when orjson is installed to prevent different mypy errors. So add additional unused-ignore suppressions. * Change internal usages of json serializer indent to 2, so that orjson and stdlib json outputs are the same for docs and comparison purposes. * Apply Black formatting to the test/ dir too.
Configuration menu - View commit details
-
Copy full SHA for 9b3d8a4 - Browse repository at this point
Copy the full SHA 9b3d8a4View commit details -
build(deps-dev): bump ruff from 0.5.4 to 0.5.5 (RDFLib#2859)
* build(deps-dev): bump ruff from 0.5.4 to 0.5.5 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.4 to 0.5.5. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.5.4...0.5.5) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * give Ruff some more wiggle room so Dependabot doesn't need to widen the limit on every new version. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ashley Sommer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c48f698 - Browse repository at this point
Copy the full SHA c48f698View commit details -
We no longer want Dependabot to keep updating setuptools and types-se…
…tuptools (RDFLib#2860) They are only used a couple of tests, there is no need to keep it always on the latest version.
Configuration menu - View commit details
-
Copy full SHA for 418b73e - Browse repository at this point
Copy the full SHA 418b73eView commit details -
build(deps-dev): bump pytest from 8.3.1 to 8.3.2 (RDFLib#2858)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.1 to 8.3.2. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](pytest-dev/pytest@8.3.1...8.3.2) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 46695eb - Browse repository at this point
Copy the full SHA 46695ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e65136 - Browse repository at this point
Copy the full SHA 6e65136View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...collection-empty-list