Skip to content

fix find_in_po. Make it Windows compatible #2714

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

Merged
merged 3 commits into from
Oct 28, 2023
Merged

Conversation

cacrespo
Copy link
Collaborator

Use os.get_terminal_size() instead of stty size for width

Co-authored-by: Marco Richetta <marco.richetta@mercadolibre.com>
@cacrespo
Copy link
Collaborator Author

@marcorichetta gracias por la sugerencia. Toda la razón my friend!

Copy link
Collaborator

@rtobar rtobar left a comment

Choose a reason for hiding this comment

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

Aún no entiendo por qué el except no estaba funcionando cuando debiera haber atrapado el error de que no hacía un programa stty en Windows, pero al menos esto abrió una buena discusión. Acá dejo mi comentario, creo que este código se puede simplificar aún más

Copy link
Collaborator

@rtobar rtobar left a comment

Choose a reason for hiding this comment

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

Se ve súper ahora, 👍

@rtobar rtobar merged commit 7f5d59d into python:3.12 Oct 28, 2023
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.

3 participants