Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

Make semantics of Vocabulary.update more precise.#42

Closed
mallamanis wants to merge 1 commit into
masterfrom
dev/miallama/vocab-update
Closed

Make semantics of Vocabulary.update more precise.#42
mallamanis wants to merge 1 commit into
masterfrom
dev/miallama/vocab-update

Conversation

@mallamanis

Copy link
Copy Markdown
Contributor
  • This breaks backwards compatibility by renaming the argument max_size to max_num_elements_to_add.
  • Remove the assertion that didn't make sense (the size of the Vocabulary should be able to change).

* This breaks backwards compatibility by renaming the argument `max_size` to `max_num_elements_to_add`.
* Remove the assertion that didn't make sense (the size of the Vocabulary should be able to change).
@mallamanis
mallamanis requested a review from mmjb January 27, 2020 12:21
@mallamanis mallamanis self-assigned this Jan 27, 2020
Comment thread python/setup.py
setuptools.setup(
name='dpu_utils',
version='0.2.7',
version='0.2.8',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kind of feel API-breaking changes should generate a major version bump; we haven't been very consistent about this anyway, but maybe it's time to be?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean go to version 1.0, right? If so, it might be worth thinking if there are any other breaking API changes that we need to make here..

@mmjb

mmjb commented Jan 27, 2020 via email

Copy link
Copy Markdown
Contributor

@mallamanis

Copy link
Copy Markdown
Contributor Author

Closing this, towards a v1.0 on a separate branch.

@mallamanis mallamanis closed this Jan 28, 2020
@mallamanis mallamanis mentioned this pull request Jan 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants