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

Add support for building code objects post-PEP570 #19

Merged
merged 1 commit into from
May 10, 2019

Conversation

pablogsal
Copy link
Contributor

This patch makes genshi compatible with the Python 3.8 alpha, which changed the representation of code objects to support positional-only arguments.

Closes: #18

@pablogsal pablogsal force-pushed the pep570 branch 2 times, most recently from a9d3aed to de3e9a4 Compare May 10, 2019 20:20
Copy link
Contributor

@hodgestar hodgestar left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@hodgestar hodgestar merged commit 08143ca into edgewall:master May 10, 2019
@hroncok
Copy link
Contributor

hroncok commented May 10, 2019

Thanks 🎉

@pablogsal pablogsal deleted the pep570 branch May 10, 2019 21:48
@vstinner
Copy link
Contributor

Genshi 0.7.2 doesn't include this fix. Would it be possible to get a new release? genshi benchmark was disable in performance project because it is not compatible with Python 3.8:
python/pyperformance#54

FYI I proposed to add a new code.replace() method which should make genshi more future-proof once it will use it ;-) https://bugs.python.org/issue37032

@hroncok
Copy link
Contributor

hroncok commented May 24, 2019

This conversation already happens at #18 (comment)

@hodgestar
Copy link
Contributor

Genshi 0.7.3 with the PEP 570 fix included has been released.

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.

Python 3.8.0a4: TypeError: an integer is required (got type bytes)
4 participants