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

Grouping options does not work with padding inside #1

Open
guibou opened this issue Aug 17, 2018 · 2 comments
Open

Grouping options does not work with padding inside #1

guibou opened this issue Aug 17, 2018 · 2 comments
Labels
bug Something isn't working

Comments

@guibou
Copy link
Owner

guibou commented Aug 17, 2018

In python:

>>> f"{0:0=#10_b}"
'0b000_0000

In PyF:

> [f'|{0:0=#10_b}|] :: String
"0b00000000"
@guibou guibou added the bug Something isn't working label Jan 28, 2019
@guibou guibou changed the title Grouping options does not work with padding Grouping options does not work with padding inside Mar 2, 2019
@guibou
Copy link
Owner Author

guibou commented Mar 2, 2019

Actually it onl works if the padding value is 0.

@guibou
Copy link
Owner Author

guibou commented Jan 6, 2022

This is super weird actually ;)

In python, the semantic is interesting:

>>> f"{0:~=#10_b}"
'0b~~~~~~~0'
>>> f"{0:0=#10_b}"
'0b000_0000'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant