Visitar URL original
bpo-26243: data= is positional-only just on CPython by ambv · Pull Request #11754 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20221223194053/https://github.com/python/cpython/pull/11754
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-26243: data= is positional-only just on CPython #11754

Closed
wants to merge 1 commit into from

Conversation

ambv
Copy link
Contributor

@ambv ambv commented Feb 4, 2019 •

PyPy can take it as keyword just fine.

https://bugs.python.org/issue26243

PyPy can take it as keyword just fine.
@serhiy-storchaka
Copy link
Member

serhiy-storchaka commented Feb 4, 2019

I think it would be more correct to remove too strong failing assertions. Other tests should be passed on PyPy.

mozillazg pushed a commit to mozillazg/pypy that referenced this pull request Feb 4, 2019
eamanu
eamanu approved these changes Feb 5, 2019
Copy link
Contributor

@eamanu eamanu left a comment

LGTM. I test it on ubuntu 18.04 and its good.

@@ -165,6 +165,7 @@ def test_speech(self):
x = zlib.compress(HAMLET_SCENE)
self.assertEqual(zlib.decompress(x), HAMLET_SCENE)

@support.cpython_only
Copy link
Member

@pitrou pitrou Feb 6, 2019

Choose a reason for hiding this comment

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

It's only the TypeError check that should be skipped, right? Not the whole test.

@@ -245,6 +246,7 @@ def test_pair(self):
self.assertIsInstance(dco.unconsumed_tail, bytes)
self.assertIsInstance(dco.unused_data, bytes)

@support.cpython_only
Copy link
Member

@pitrou pitrou Feb 6, 2019

Choose a reason for hiding this comment

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

Same here.

@csabella
Copy link
Contributor

csabella commented Jun 5, 2019

@ambv, please check @pitrou's review. Thanks!

@ambv ambv closed this Jul 12, 2021
@ambv ambv deleted the cpython_only_zlib branch Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants