Skip to content

Add dropwhile.__reduce__#4201

Merged
youknowone merged 1 commit intoRustPython:mainfrom
dvermd:dropwhile_reduce
Oct 5, 2022
Merged

Add dropwhile.__reduce__#4201
youknowone merged 1 commit intoRustPython:mainfrom
dvermd:dropwhile_reduce

Conversation

@dvermd
Copy link
Copy Markdown
Contributor

@dvermd dvermd commented Oct 4, 2022

The test def test_dropwhile(self): of Lib/test/test_itertools.py is not activated because the line self.assertRaises(TypeError, next, dropwhile(10, [(4,5)])) fails.

The bytes against which the pickling is compared in stdlib_itertools.py are generated with CPython

This is part of #3611

Copy link
Copy Markdown
Member

@youknowone youknowone left a comment

Choose a reason for hiding this comment

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

looks, great thank you!

@youknowone youknowone merged commit 9100ec3 into RustPython:main Oct 5, 2022
@dvermd dvermd deleted the dropwhile_reduce branch October 6, 2022 20:01
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