Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixed many python compatiblity issues #900

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

Open
kochelmonster wants to merge 31 commits into TranscryptOrg:master
base: master
Choose a base branch
Loading
from kochelmonster:master

Conversation

@kochelmonster
Copy link

@kochelmonster kochelmonster commented Jun 22, 2025

  • relative import
  • metaclass
  • descriptor protocol
  • id, frozenset, getattr
  • missing modules
  • type and super

wallneradam reacted with thumbs up emoji
kochelmonster and others added 30 commits December 6, 2021 18:57
+ string.lstrip, string.rstrip with arguments.
Copy link
Collaborator

Thank you for the contribution. There is a lot in here that I'll have to dig through. TBH, I'll likely end up having to cherry pick some of the updates rather than do one massive merge. But, at least based on the commit messages, I'm looking forward to adding some of these features.

Also just so you know, I'm currently in the process of updating the Transcrypt compiler to be compatible with Python 3.13 and any new features will need to be added after that is released.

def count_100(index):
 for j in range(100):
 index = index + 1
 return index
Generated wrong to:
export var count_100 = function (index) {
	for (var j = 0; j < 100; j++) {
		var index = index + 1; // var is wrong
	}
	return index;
};
------
def count_101(index):
 idx = index
 for j in range(101):
 idx = idx + 1
 return idx
Generated wrong to:
export var count_101 = function (index) {
	var idx = index;
	for (var j = 0; j < 101; j++) {
		var idx = idx + 1; // var is wrong
	}
	return idx;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /