Skip to content

Update bsert.py#1

Merged
ChickenProp merged 1 commit intoChickenProp:masterfrom
obeleh:patch-1
May 14, 2014
Merged

Update bsert.py#1
ChickenProp merged 1 commit intoChickenProp:masterfrom
obeleh:patch-1

Conversation

@obeleh
Copy link
Copy Markdown
Contributor

@obeleh obeleh commented May 13, 2014

Perhaps this would give better error messages for in expressions

bsert(3 in [1, 2])
AssertionError: bsert(3 in [1, 2])

```python bsert(3 in [1, 2])
AssertionError: bsert(3 in [1, 2])
```
ChickenProp added a commit that referenced this pull request May 14, 2014
@ChickenProp ChickenProp merged commit de5b851 into ChickenProp:master May 14, 2014
@ChickenProp
Copy link
Copy Markdown
Owner

Huh, so when I try this in a script, it seems to work like expected, but from the REPL it gives AssertionError: False is not true - seems like stck[-1][-1] is None? I don't have time to investigate right now.

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