Skip to content

issue-694 Added support for del operator in a dbzero.list#696

Closed
sigsegvdev wants to merge 1 commit into
mainfrom
bugfix/issue-694
Closed

issue-694 Added support for del operator in a dbzero.list#696
sigsegvdev wants to merge 1 commit into
mainfrom
bugfix/issue-694

Conversation

@sigsegvdev

Copy link
Copy Markdown
Collaborator

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Tomasz Wejroch seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

{
if (size() == 0) {
THROWF(db0::InputException) << "Cannot pop from empty container ";
}

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I removed this check because it's redundant and also cause inconsistent behavior, where we get a different exception depending whether the list is empty or not - this is not how standard python list works

@sigsegvdev sigsegvdev closed this Jan 8, 2026
@sigsegvdev sigsegvdev reopened this Jan 8, 2026
@sigsegvdev sigsegvdev closed this Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants