Skip to content

fix python 2.x style code for python 3.x#19358

Open
katietz wants to merge 7 commits intoemscripten-core:mainfrom
katietz:fix-py2.x
Open

fix python 2.x style code for python 3.x#19358
katietz wants to merge 7 commits intoemscripten-core:mainfrom
katietz:fix-py2.x

Conversation

@katietz
Copy link
Contributor

@katietz katietz commented May 15, 2023

  • adjusted some Python 2.x code to be Python 3 compliant

Copy link
Collaborator

@sbc100 sbc100 left a comment

Choose a reason for hiding this comment

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

Almost all of these files are under "third_party" directories which, I general, we don't want to patch like this.


strInfo = {}
for propName in propNames:
strInfoPath = u'\\StringFileInfo\\%04X%04X\\%s' % (lang, codepage, propName)
Copy link
Collaborator

Choose a reason for hiding this comment

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

This file needs to run on python2, so maybe this should be reverted?

Copy link
Collaborator

Choose a reason for hiding this comment

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

This still needs to be reverted I think

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