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

Migracja do Pythona 3 #1

Closed
michzimny opened this issue Jul 8, 2019 · 5 comments
Closed

Migracja do Pythona 3 #1

michzimny opened this issue Jul 8, 2019 · 5 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@michzimny
Copy link

Jest jakaś motywacja za Pythonem 2? :)

np. https://github.com/emkael/deal-convert/blob/master/dealconvert/formats/stdout.py#L33

@emkael
Copy link
Owner

emkael commented Jul 8, 2019

Zupełnie żadnej, w końcu główny skrypt też zaciąga print_function z __future__.

@emkael emkael closed this as completed in 3a13631 Jul 8, 2019
@michzimny
Copy link
Author

To chyba z tej samej bajki (python 2):
https://github.com/emkael/deal-convert/blob/master/dealconvert/formats/pbn.py#L16
TypeError: cannot use a string pattern on a bytes-like object

/reopen :p

@emkael emkael reopened this Jul 8, 2019
@emkael
Copy link
Owner

emkael commented Jul 8, 2019

A, to już mi się przypomniało.
W mailach dawno temu pisałem, że zacząłem pisać pod Pythona 2, potem zacząłem pisać kompatybilność z 3 (stąd __future__), ale poległem na danych binarnych (chr/ord i tego typu atrakcje).

I stwierdziłeś, cytuję, "aha, python 2 raczej nie jest problemem" :P

@michzimny
Copy link
Author

No trudno, to musimy przeżyć :P

@emkael emkael self-assigned this Jul 8, 2019
@emkael emkael added the enhancement New feature or request label Jul 8, 2019
@emkael emkael added this to the wishlist milestone Jul 8, 2019
@emkael emkael changed the title Python 2? Migracja do Pythona 3 Nov 9, 2019
@emkael emkael closed this as completed in 5da7969 Oct 20, 2020
@emkael
Copy link
Owner

emkael commented Oct 20, 2020

Chyba się udało zmigrować to 3.x w sposób kompatybilny z 2.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants