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

fix: add byte literals with characters up to utf-32be #27

Merged
merged 2 commits into from
Jan 5, 2025

Conversation

jvllmr
Copy link
Contributor

@jvllmr jvllmr commented Jan 4, 2025

Hi,

First of all, big thanks for this project. I use it for fuzzing in my newly created rustpython-unparser library and it helped me a lot with reaching a satisfying result fast.

However, when using my unparser with real world code bases I realised that it couldn't handle byte literals that contain non-utf-8 characters. Therefore, I thought it would be good if pysource-codegen outputs code with such byte literals so that such errors can be catched by fuzzing in the future. The examples I added come from the pygments.lexer module.

@15r10nk 15r10nk merged commit f8c9b88 into 15r10nk:main Jan 5, 2025
13 checks passed
@15r10nk
Copy link
Owner

15r10nk commented Jan 5, 2025

Thank you for this examples.

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