Skip to content

Incremental code modernization for (future) Python 3 port#268

Merged
JoeLametta merged 16 commits into
masterfrom
python3
Jun 8, 2018
Merged

Incremental code modernization for (future) Python 3 port#268
JoeLametta merged 16 commits into
masterfrom
python3

Conversation

@JoeLametta

Copy link
Copy Markdown
Collaborator

This is a WIP.
I'm trying to introduce only incremental changes which can be merged right now because they retain backward compatibility with Python 2 (but explicitly target Python 3). The aim is to simplify the porting effort that will take place after milestone 1.0 has been reached.

@JoeLametta JoeLametta force-pushed the python3 branch 2 times, most recently from 3c716df to 97ae350 Compare May 8, 2018 15:51
@JoeLametta

Copy link
Copy Markdown
Collaborator Author

I'd like to merge this PR to master: time will tell if it breaks something...

🤣

@mtdcr

mtdcr commented May 9, 2018

Copy link
Copy Markdown
Contributor

44ece38 introduces many lines with superflous braces like print((...)), where print already was used as a function. Did you do the conversion using a script?

@JoeLametta

Copy link
Copy Markdown
Collaborator Author

44ece38 introduces many lines with superflous braces like print((...)), where print already was used as a function. Did you do the conversion using a script?

Yeah, some of the changes were guided by Python's 2to3 tool. Anyway I think this specific issue was already fixed in 0f67bc4: am I right?

@mtdcr

mtdcr commented May 9, 2018

Copy link
Copy Markdown
Contributor

Oh, sorry, I hadn't noticed 0f67bc4.

@RecursiveForest RecursiveForest self-requested a review May 23, 2018 02:08
@JoeLametta JoeLametta changed the title Incremental code modernization for (future) Python 3 port [WIP] Incremental code modernization for (future) Python 3 port Jun 8, 2018
@JoeLametta JoeLametta merged commit 84fa7c0 into master Jun 8, 2018
@JoeLametta JoeLametta deleted the python3 branch September 25, 2018 13:20
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