René's URL Explorer Experiment


Title: Syntax error (Python3) debug by JesterI3D · Pull Request #163 · PythonJS/PythonJS · GitHub

Open Graph Title: Syntax error (Python3) debug by JesterI3D · Pull Request #163 · PythonJS/PythonJS

X Title: Syntax error (Python3) debug by JesterI3D · Pull Request #163 · PythonJS/PythonJS

Description: PythonJS development has moved to Rusthon. Contribute to PythonJS/PythonJS development by creating an account on GitHub.

Open Graph Description: File "rusthon.py", line 541 print 'making new rusthon cache folder: ' + GITCACHE File "rusthon.py", line 558 print 'rebuilding git repo: ' + tag File "rusth...

X Description: File "rusthon.py", line 541 print 'making new rusthon cache folder: ' + GITCACHE File "rusthon.py", line 558 print 'rebuilding git repo: ...

Opengraph URL: https://github.com/PythonJS/PythonJS/pull/163

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:3a3b0edf-47f2-4eb9-d119-fb5cd6acb533
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD676:1A2A10:802F9C:A81AD5:696B4E88
html-safe-nonce59449303499eba394388a311e875722e6568550abf5e7c795844570820a69604
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjc2OjFBMkExMDo4MDJGOUM6QTgxQUQ1OjY5NkI0RTg4IiwidmlzaXRvcl9pZCI6IjU5OTgxMzU4MzE2NzMxMzA2MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac467b9f79d15ea12948155bbc917495aefab5e1a55906f08f66e6ddcd61c83d9c
hovercard-subject-tagpull_request:479208747
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/PythonJS/PythonJS/pull/163/commits
twitter:imagehttps://opengraph.githubassets.com/81251208565ee421b189e6381afefc0112fb5ffbdf87efd7d7b7d354f39de1a2/PythonJS/PythonJS/pull/163
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/81251208565ee421b189e6381afefc0112fb5ffbdf87efd7d7b7d354f39de1a2/PythonJS/PythonJS/pull/163
og:image:altFile "rusthon.py", line 541 print 'making new rusthon cache folder: ' + GITCACHE File "rusthon.py", line 558 print 'rebuilding git repo: ' + tag File "rusth...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJesterI3D
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-cache
go-importgithub.com/PythonJS/PythonJS git https://github.com/PythonJS/PythonJS.git
octolytics-dimension-user_id4421405
octolytics-dimension-user_loginPythonJS
octolytics-dimension-repository_id8825809
octolytics-dimension-repository_nwoPythonJS/PythonJS
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id8825809
octolytics-dimension-repository_network_root_nwoPythonJS/PythonJS
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PythonJS/PythonJS/pull/163/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPythonJS%2FPythonJS%2Fpull%2F163%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPythonJS%2FPythonJS%2Fpull%2F163%2Fcommits
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=PythonJS%2FPythonJS
Reloadhttps://github.com/PythonJS/PythonJS/pull/163/commits
Reloadhttps://github.com/PythonJS/PythonJS/pull/163/commits
Reloadhttps://github.com/PythonJS/PythonJS/pull/163/commits
PythonJS https://github.com/PythonJS
PythonJShttps://github.com/PythonJS/PythonJS
Notifications https://github.com/login?return_to=%2FPythonJS%2FPythonJS
Fork 94 https://github.com/login?return_to=%2FPythonJS%2FPythonJS
Star 880 https://github.com/login?return_to=%2FPythonJS%2FPythonJS
Code https://github.com/PythonJS/PythonJS
Issues 23 https://github.com/PythonJS/PythonJS/issues
Pull requests 1 https://github.com/PythonJS/PythonJS/pulls
Actions https://github.com/PythonJS/PythonJS/actions
Projects 0 https://github.com/PythonJS/PythonJS/projects
Wiki https://github.com/PythonJS/PythonJS/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/PythonJS/PythonJS/security
Please reload this pagehttps://github.com/PythonJS/PythonJS/pull/163/commits
Insights https://github.com/PythonJS/PythonJS/pulse
Code https://github.com/PythonJS/PythonJS
Issues https://github.com/PythonJS/PythonJS/issues
Pull requests https://github.com/PythonJS/PythonJS/pulls
Actions https://github.com/PythonJS/PythonJS/actions
Projects https://github.com/PythonJS/PythonJS/projects
Wiki https://github.com/PythonJS/PythonJS/wiki
Security https://github.com/PythonJS/PythonJS/security
Insights https://github.com/PythonJS/PythonJS/pulse
JesterI3Dhttps://github.com/JesterI3D
PythonJS:masterhttps://github.com/PythonJS/PythonJS/tree/master
gython:masterhttps://github.com/gython/Gython/tree/master
Conversationhttps://github.com/PythonJS/PythonJS/pull/163
Commits58 (58)https://github.com/PythonJS/PythonJS/pull/163/commits
Checkshttps://github.com/PythonJS/PythonJS/pull/163/checks
Files changedhttps://github.com/PythonJS/PythonJS/pull/163/files
Syntax error (Python3) debug https://github.com/PythonJS/PythonJS/pull/163/commits#top
JesterI3Dhttps://github.com/JesterI3D
PythonJS:masterhttps://github.com/PythonJS/PythonJS/tree/master
gython:masterhttps://github.com/gython/Gython/tree/master
forked PythonJS and started Gython.https://github.com/PythonJS/PythonJS/pull/163/commits/2ae0b40cd875c1f87330533b3ff7801951ddb5ea
2ae0b40https://github.com/PythonJS/PythonJS/pull/163/commits/2ae0b40cd875c1f87330533b3ff7801951ddb5ea
https://github.com/PythonJS/PythonJS/tree/2ae0b40cd875c1f87330533b3ff7801951ddb5ea
improved static type syntax: `[]int self.x = XXX`.https://github.com/PythonJS/PythonJS/pull/163/commits/0424a9ee0263f5b5cfe9e9536d0b74a8b1b5749b
0424a9ehttps://github.com/PythonJS/PythonJS/pull/163/commits/0424a9ee0263f5b5cfe9e9536d0b74a8b1b5749b
https://github.com/PythonJS/PythonJS/tree/0424a9ee0263f5b5cfe9e9536d0b74a8b1b5749b
updated docshttps://github.com/PythonJS/PythonJS/pull/163/commits/a32946fde78235828c15256cf7a719599218bd5d
a32946fhttps://github.com/PythonJS/PythonJS/pull/163/commits/a32946fde78235828c15256cf7a719599218bd5d
https://github.com/PythonJS/PythonJS/tree/a32946fde78235828c15256cf7a719599218bd5d
fixed `type self.x = XXX` in ast_utils.py.https://github.com/PythonJS/PythonJS/pull/163/commits/717a8a9a75911a8f0d1e03298bced2f796d94782
717a8a9https://github.com/PythonJS/PythonJS/pull/163/commits/717a8a9a75911a8f0d1e03298bced2f796d94782
https://github.com/PythonJS/PythonJS/tree/717a8a9a75911a8f0d1e03298bced2f796d94782
go backend: array.append hack, new type syntax for attributes of self `int self.x = 1`, new pointer syntax `*myclass self.y = a`.https://github.com/PythonJS/PythonJS/pull/163/commits/1bb0c6731972cbc18cbaff10268bb61e846b304d
1bb0c67https://github.com/PythonJS/PythonJS/pull/163/commits/1bb0c6731972cbc18cbaff10268bb61e846b304d
https://github.com/PythonJS/PythonJS/tree/1bb0c6731972cbc18cbaff10268bb61e846b304d
allow `[]int` to be used in function argument annotations `def f(x:[]int):` ,and ord('a') builtin.https://github.com/PythonJS/PythonJS/pull/163/commits/80e1805f58ff59f5e99f9657cc9da0a06ecde1a5
80e1805https://github.com/PythonJS/PythonJS/pull/163/commits/80e1805f58ff59f5e99f9657cc9da0a06ecde1a5
https://github.com/PythonJS/PythonJS/tree/80e1805f58ff59f5e99f9657cc9da0a06ecde1a5
always take a pointer to array when creating a new one, always take pointer to arrays in arguments that take arrays.https://github.com/PythonJS/PythonJS/pull/163/commits/3f66f024f1b0bc7a76fa61505ea25d29e351e798
3f66f02https://github.com/PythonJS/PythonJS/pull/163/commits/3f66f024f1b0bc7a76fa61505ea25d29e351e798
https://github.com/PythonJS/PythonJS/tree/3f66f024f1b0bc7a76fa61505ea25d29e351e798
always create map and take a pointer to it. always pass map pointers to functions (so they can modify its contents inplace).https://github.com/PythonJS/PythonJS/pull/163/commits/105d7d4fbd9c0827394d5d25cfc2f69e2f120d56
105d7d4https://github.com/PythonJS/PythonJS/pull/163/commits/105d7d4fbd9c0827394d5d25cfc2f69e2f120d56
https://github.com/PythonJS/PythonJS/tree/105d7d4fbd9c0827394d5d25cfc2f69e2f120d56
adding 'simple' generator functions for Go.https://github.com/PythonJS/PythonJS/pull/163/commits/cbc5828e35da5cf59efa17a9083e7c70df472fa5
cbc5828https://github.com/PythonJS/PythonJS/pull/163/commits/cbc5828e35da5cf59efa17a9083e7c70df472fa5
https://github.com/PythonJS/PythonJS/tree/cbc5828e35da5cf59efa17a9083e7c70df472fa5
simple generator functions `yield`https://github.com/PythonJS/PythonJS/pull/163/commits/c77beb292a1d09abcbb5609ffefea95cb7f92d5d
c77beb2https://github.com/PythonJS/PythonJS/pull/163/commits/c77beb292a1d09abcbb5609ffefea95cb7f92d5d
https://github.com/PythonJS/PythonJS/tree/c77beb292a1d09abcbb5609ffefea95cb7f92d5d
generics for Go, subclasses with a common base class can be passed to the same generic function that can call methods on the instances and return a value. only the first variable in a generic funct…https://github.com/PythonJS/PythonJS/pull/163/commits/43b6c44ad626df942d06c851c7573cb551390749
43b6c44https://github.com/PythonJS/PythonJS/pull/163/commits/43b6c44ad626df942d06c851c7573cb551390749
https://github.com/PythonJS/PythonJS/tree/43b6c44ad626df942d06c851c7573cb551390749
fixed Genericshttps://github.com/PythonJS/PythonJS/pull/163/commits/174123eefed44bb8782ba7bb8c24ae7a06e768a1
174123ehttps://github.com/PythonJS/PythonJS/pull/163/commits/174123eefed44bb8782ba7bb8c24ae7a06e768a1
https://github.com/PythonJS/PythonJS/tree/174123eefed44bb8782ba7bb8c24ae7a06e768a1
new option `--no-runtime` for translator.py will not insert pythonjs runtime into output.https://github.com/PythonJS/PythonJS/pull/163/commits/6b089349117363cb8aaff908abaa0dae461f734f
6b08934https://github.com/PythonJS/PythonJS/pull/163/commits/6b089349117363cb8aaff908abaa0dae461f734f
https://github.com/PythonJS/PythonJS/tree/6b089349117363cb8aaff908abaa0dae461f734f
starting on support for Go map comprehensions.https://github.com/PythonJS/PythonJS/pull/163/commits/49498576bc5a1106864564e7475f651d6adf0f3b
4949857https://github.com/PythonJS/PythonJS/pull/163/commits/49498576bc5a1106864564e7475f651d6adf0f3b
https://github.com/PythonJS/PythonJS/tree/49498576bc5a1106864564e7475f651d6adf0f3b
dict comprehensions.https://github.com/PythonJS/PythonJS/pull/163/commits/d55301cb6d113e257f6f33a89f895550668c5b17
d55301chttps://github.com/PythonJS/PythonJS/pull/163/commits/d55301cb6d113e257f6f33a89f895550668c5b17
https://github.com/PythonJS/PythonJS/tree/d55301cb6d113e257f6f33a89f895550668c5b17
Go map comprehensions.https://github.com/PythonJS/PythonJS/pull/163/commits/5121485fdbceadcd8f98a533dd022207379979b8
5121485https://github.com/PythonJS/PythonJS/pull/163/commits/5121485fdbceadcd8f98a533dd022207379979b8
https://github.com/PythonJS/PythonJS/tree/5121485fdbceadcd8f98a533dd022207379979b8
translator.py new option --fast-javascript that changes all settings to output fast and clean javascript (breaks some python rules, like using objects as dict keys)https://github.com/PythonJS/PythonJS/pull/163/commits/aff2a6d2150643a448324db49188260cfde52450
aff2a6dhttps://github.com/PythonJS/PythonJS/pull/163/commits/aff2a6d2150643a448324db49188260cfde52450
https://github.com/PythonJS/PythonJS/tree/aff2a6d2150643a448324db49188260cfde52450
split runtime into two files, pythonjs-minimal.js contains just what is likely needed for programs that do not depend much on too many pythonic features.https://github.com/PythonJS/PythonJS/pull/163/commits/69f3a58a20793e3562d8b8ec3c134ae6bb8b44cd
69f3a58https://github.com/PythonJS/PythonJS/pull/163/commits/69f3a58a20793e3562d8b8ec3c134ae6bb8b44cd
https://github.com/PythonJS/PythonJS/tree/69f3a58a20793e3562d8b8ec3c134ae6bb8b44cd
translator.py new option --modules will output split the output into multiple files based on classes.https://github.com/PythonJS/PythonJS/pull/163/commits/4aec0f4790d08eb53f60fe1e539ef941a1df1b24
4aec0f4https://github.com/PythonJS/PythonJS/pull/163/commits/4aec0f4790d08eb53f60fe1e539ef941a1df1b24
https://github.com/PythonJS/PythonJS/tree/4aec0f4790d08eb53f60fe1e539ef941a1df1b24
translator.py new option --fast-loops removes loop hacks that make for loops act like python loops, this is safe to use if you only loop over arrays.https://github.com/PythonJS/PythonJS/pull/163/commits/29fa0508cc78a177f1a24104c1ce28273adc29be
29fa050https://github.com/PythonJS/PythonJS/pull/163/commits/29fa0508cc78a177f1a24104c1ce28273adc29be
https://github.com/PythonJS/PythonJS/tree/29fa0508cc78a177f1a24104c1ce28273adc29be
cleaner javascript output, and new option --pure-javascript that will avoid using the pythonjs runtime.https://github.com/PythonJS/PythonJS/pull/163/commits/b6fc560eb4739b43b1e4bf7504b91b2bb8037fc2
b6fc560https://github.com/PythonJS/PythonJS/pull/163/commits/b6fc560eb4739b43b1e4bf7504b91b2bb8037fc2
https://github.com/PythonJS/PythonJS/tree/b6fc560eb4739b43b1e4bf7504b91b2bb8037fc2
fixed bug in typedpython.py, bad inference of a go fixed array, reported by ChrisBarker.https://github.com/PythonJS/PythonJS/pull/163/commits/a60275ef31c9eb5b63d5f5d6893e6ac712cc7f5f
a60275ehttps://github.com/PythonJS/PythonJS/pull/163/commits/a60275ef31c9eb5b63d5f5d6893e6ac712cc7f5f
https://github.com/PythonJS/PythonJS/tree/a60275ef31c9eb5b63d5f5d6893e6ac712cc7f5f
fixed array comprehensions, tests array of class instances.https://github.com/PythonJS/PythonJS/pull/163/commits/9f9cbae40e6efe2818aef2b6cc284bd2f2d31b27
9f9cbaehttps://github.com/PythonJS/PythonJS/pull/163/commits/9f9cbae40e6efe2818aef2b6cc284bd2f2d31b27
https://github.com/PythonJS/PythonJS/tree/9f9cbae40e6efe2818aef2b6cc284bd2f2d31b27
support Go map of functions `map[string]func(int)(int){}`https://github.com/PythonJS/PythonJS/pull/163/commits/4331da48305e17280ff2956fcf7693f3c886ca6b
4331da4https://github.com/PythonJS/PythonJS/pull/163/commits/4331da48305e17280ff2956fcf7693f3c886ca6b
https://github.com/PythonJS/PythonJS/tree/4331da48305e17280ff2956fcf7693f3c886ca6b
nested functions.https://github.com/PythonJS/PythonJS/pull/163/commits/6d22df9ef5b1dd953ec8b33993bc153476c0e52e
6d22df9https://github.com/PythonJS/PythonJS/pull/163/commits/6d22df9ef5b1dd953ec8b33993bc153476c0e52e
https://github.com/PythonJS/PythonJS/tree/6d22df9ef5b1dd953ec8b33993bc153476c0e52e
fixed list comprehension in javascript mode.https://github.com/PythonJS/PythonJS/pull/163/commits/a9fcae120f863388114a33d1aea9ca84f8c998a5
a9fcae1https://github.com/PythonJS/PythonJS/pull/163/commits/a9fcae120f863388114a33d1aea9ca84f8c998a5
https://github.com/PythonJS/PythonJS/tree/a9fcae120f863388114a33d1aea9ca84f8c998a5
fixed `new new` bug caused when calling `new MyClass` where MyClass is known to the translator.https://github.com/PythonJS/PythonJS/pull/163/commits/d949a30b623b22df4c23dea8ed8d437d1ad14752
d949a30https://github.com/PythonJS/PythonJS/pull/163/commits/d949a30b623b22df4c23dea8ed8d437d1ad14752
https://github.com/PythonJS/PythonJS/tree/d949a30b623b22df4c23dea8ed8d437d1ad14752
callback as attribute in class.https://github.com/PythonJS/PythonJS/pull/163/commits/932aa1895c651ed6d27e5bb095ce34bb35d3265d
932aa18https://github.com/PythonJS/PythonJS/pull/163/commits/932aa1895c651ed6d27e5bb095ce34bb35d3265d
https://github.com/PythonJS/PythonJS/tree/932aa1895c651ed6d27e5bb095ce34bb35d3265d
support make array of pointers to objects `a=[n]A`.https://github.com/PythonJS/PythonJS/pull/163/commits/73aeb1277e4b955f425ea9c2c269f1878d7396d0
73aeb12https://github.com/PythonJS/PythonJS/pull/163/commits/73aeb1277e4b955f425ea9c2c269f1878d7396d0
https://github.com/PythonJS/PythonJS/tree/73aeb1277e4b955f425ea9c2c269f1878d7396d0
allow a Generic to be passed to the __init__ function of a class. A Generic in __init__ will become `interface{}` which can then be used by methods that use the attribute as an argument and retype…https://github.com/PythonJS/PythonJS/pull/163/commits/7d7b0e37d0070098645bf38b61adcb9477d6a2d4
7d7b0e3https://github.com/PythonJS/PythonJS/pull/163/commits/7d7b0e37d0070098645bf38b61adcb9477d6a2d4
https://github.com/PythonJS/PythonJS/tree/7d7b0e37d0070098645bf38b61adcb9477d6a2d4
improved generics.https://github.com/PythonJS/PythonJS/pull/163/commits/6090d324b7612d464f81842bc7ac8604703ac6ec
6090d32https://github.com/PythonJS/PythonJS/pull/163/commits/6090d324b7612d464f81842bc7ac8604703ac6ec
https://github.com/PythonJS/PythonJS/tree/6090d324b7612d464f81842bc7ac8604703ac6ec
Generics: support returning different subclass types.https://github.com/PythonJS/PythonJS/pull/163/commits/ee918689cc7dcdba795cc31e1f3e602dac003721
ee91868https://github.com/PythonJS/PythonJS/pull/163/commits/ee918689cc7dcdba795cc31e1f3e602dac003721
https://github.com/PythonJS/PythonJS/tree/ee918689cc7dcdba795cc31e1f3e602dac003721
improved Generics.https://github.com/PythonJS/PythonJS/pull/163/commits/9af21623f3243978d0a4b2e766ce773dba3ec12b
9af2162https://github.com/PythonJS/PythonJS/pull/163/commits/9af21623f3243978d0a4b2e766ce773dba3ec12b
https://github.com/PythonJS/PythonJS/tree/9af21623f3243978d0a4b2e766ce773dba3ec12b
fixed duplicate field in sub-structs.https://github.com/PythonJS/PythonJS/pull/163/commits/650b6380aa67642ea6700bce360094ad7acc2c7e
650b638https://github.com/PythonJS/PythonJS/pull/163/commits/650b6380aa67642ea6700bce360094ad7acc2c7e
https://github.com/PythonJS/PythonJS/tree/650b6380aa67642ea6700bce360094ad7acc2c7e
Generics: return variable subclass using `go.type_assert(X, self)` to cast to subclass type.https://github.com/PythonJS/PythonJS/pull/163/commits/6d9f84ccf62c2aee8a1f5c70b7edd06531a6a128
6d9f84chttps://github.com/PythonJS/PythonJS/pull/163/commits/6d9f84ccf62c2aee8a1f5c70b7edd06531a6a128
https://github.com/PythonJS/PythonJS/tree/6d9f84ccf62c2aee8a1f5c70b7edd06531a6a128
Generics: fixed return different subclass from a method defined on the base class.https://github.com/PythonJS/PythonJS/pull/163/commits/beb475805f49f5e00f3afd5c4b7cd8a4b3aff132
beb4758https://github.com/PythonJS/PythonJS/pull/163/commits/beb475805f49f5e00f3afd5c4b7cd8a4b3aff132
https://github.com/PythonJS/PythonJS/tree/beb475805f49f5e00f3afd5c4b7cd8a4b3aff132
Generics: fixed return different subclass type from method defined in base class.https://github.com/PythonJS/PythonJS/pull/163/commits/14d19b84c7d6ecd26d10b64da0572303ed811af3
14d19b8https://github.com/PythonJS/PythonJS/pull/163/commits/14d19b84c7d6ecd26d10b64da0572303ed811af3
https://github.com/PythonJS/PythonJS/tree/14d19b84c7d6ecd26d10b64da0572303ed811af3
fixed for loop over maphttps://github.com/PythonJS/PythonJS/pull/163/commits/3e7347e0e1b7ee124fa7e9fe58c4fa2e22f274c3
3e7347ehttps://github.com/PythonJS/PythonJS/pull/163/commits/3e7347e0e1b7ee124fa7e9fe58c4fa2e22f274c3
https://github.com/PythonJS/PythonJS/tree/3e7347e0e1b7ee124fa7e9fe58c4fa2e22f274c3
fixed for loop over arrayhttps://github.com/PythonJS/PythonJS/pull/163/commits/b385d72dea96aede6aaa1f8d298ab54a238221fc
b385d72https://github.com/PythonJS/PythonJS/pull/163/commits/b385d72dea96aede6aaa1f8d298ab54a238221fc
https://github.com/PythonJS/PythonJS/tree/b385d72dea96aede6aaa1f8d298ab54a238221fc
fixed int slices. TODO how to get addr without slice_hackhttps://github.com/PythonJS/PythonJS/pull/163/commits/45c121d6984c7841fe112fd89a38504b980ed853
45c121dhttps://github.com/PythonJS/PythonJS/pull/163/commits/45c121d6984c7841fe112fd89a38504b980ed853
https://github.com/PythonJS/PythonJS/tree/45c121d6984c7841fe112fd89a38504b980ed853
removed __slice_hack__https://github.com/PythonJS/PythonJS/pull/163/commits/95231015cdd6fce3ffef7658fdc9dd91959805dd
9523101https://github.com/PythonJS/PythonJS/pull/163/commits/95231015cdd6fce3ffef7658fdc9dd91959805dd
https://github.com/PythonJS/PythonJS/tree/95231015cdd6fce3ffef7658fdc9dd91959805dd
fixed calling variable argument functions with `f(*arr)`https://github.com/PythonJS/PythonJS/pull/163/commits/d95fe442c95fe75e366a4fed0d0a265b1c6976cb
d95fe44https://github.com/PythonJS/PythonJS/pull/163/commits/d95fe442c95fe75e366a4fed0d0a265b1c6976cb
https://github.com/PythonJS/PythonJS/tree/d95fe442c95fe75e366a4fed0d0a265b1c6976cb
fixed maps.https://github.com/PythonJS/PythonJS/pull/163/commits/22da368d9b1e529bd51eab3a1d08c7ee8b515de1
22da368https://github.com/PythonJS/PythonJS/pull/163/commits/22da368d9b1e529bd51eab3a1d08c7ee8b515de1
https://github.com/PythonJS/PythonJS/tree/22da368d9b1e529bd51eab3a1d08c7ee8b515de1
Generics: subclasses become union of all their attributes, so that a subclass can define its "own" attributes and these will be inserted into the struct of the other subclasses (but not used).https://github.com/PythonJS/PythonJS/pull/163/commits/9c7b57f3e3901ca13ceaf24b5cd411f242c40763
9c7b57fhttps://github.com/PythonJS/PythonJS/pull/163/commits/9c7b57f3e3901ca13ceaf24b5cd411f242c40763
https://github.com/PythonJS/PythonJS/tree/9c7b57f3e3901ca13ceaf24b5cd411f242c40763
workaround for forcing a subclass to its true type using super class `object` that contains `__class__` the name of the class, and in a generic function switch on the name instead of `G.(type)` bec…https://github.com/PythonJS/PythonJS/pull/163/commits/4a52a7b753505e81ed48d6b9ca67ee518b593926
4a52a7bhttps://github.com/PythonJS/PythonJS/pull/163/commits/4a52a7b753505e81ed48d6b9ca67ee518b593926
https://github.com/PythonJS/PythonJS/tree/4a52a7b753505e81ed48d6b9ca67ee518b593926
Generics, allow return multiple subclasses from method call that returns `self` - only works in an assignment to a variable, a type switch is generated in the caller, and the function body is branc…https://github.com/PythonJS/PythonJS/pull/163/commits/8c6ee4cc2ff086fea620f224e75da88e90cfe565
8c6ee4chttps://github.com/PythonJS/PythonJS/pull/163/commits/8c6ee4cc2ff086fea620f224e75da88e90cfe565
https://github.com/PythonJS/PythonJS/tree/8c6ee4cc2ff086fea620f224e75da88e90cfe565
Generics: fixes and notes.https://github.com/PythonJS/PythonJS/pull/163/commits/86c2b316848ebdadce7ac4c04e6779b510e709e1
86c2b31https://github.com/PythonJS/PythonJS/pull/163/commits/86c2b316848ebdadce7ac4c04e6779b510e709e1
https://github.com/PythonJS/PythonJS/tree/86c2b316848ebdadce7ac4c04e6779b510e709e1
Generics: fixed scope stack for methods that return multiple subclass types.https://github.com/PythonJS/PythonJS/pull/163/commits/0df3e06c15ecf610719e96d34f46872c08202636
0df3e06https://github.com/PythonJS/PythonJS/pull/163/commits/0df3e06c15ecf610719e96d34f46872c08202636
https://github.com/PythonJS/PythonJS/tree/0df3e06c15ecf610719e96d34f46872c08202636
Generics: multiple subclass return needs to take pointer of subclass.https://github.com/PythonJS/PythonJS/pull/163/commits/d5efc7288622e77c079be343382652cdda5718df
d5efc72https://github.com/PythonJS/PythonJS/pull/163/commits/d5efc7288622e77c079be343382652cdda5718df
https://github.com/PythonJS/PythonJS/tree/d5efc7288622e77c079be343382652cdda5718df
new test array of objects.https://github.com/PythonJS/PythonJS/pull/163/commits/f37d2670bbc2a15904881bd84202864f0c80bbdc
f37d267https://github.com/PythonJS/PythonJS/pull/163/commits/f37d2670bbc2a15904881bd84202864f0c80bbdc
https://github.com/PythonJS/PythonJS/tree/f37d2670bbc2a15904881bd84202864f0c80bbdc
fixed creating new class instances at global scope.https://github.com/PythonJS/PythonJS/pull/163/commits/77d1c8d90de5f683526884d08745955caecec72b
77d1c8dhttps://github.com/PythonJS/PythonJS/pull/163/commits/77d1c8d90de5f683526884d08745955caecec72b
https://github.com/PythonJS/PythonJS/tree/77d1c8d90de5f683526884d08745955caecec72b
notes for `go.type_assert( A, self)` where A could be an empty interface or pointer to a struct,https://github.com/PythonJS/PythonJS/pull/163/commits/20a6bc3aa6e5c848eb20db45484f3f0fdec2b742
20a6bc3https://github.com/PythonJS/PythonJS/pull/163/commits/20a6bc3aa6e5c848eb20db45484f3f0fdec2b742
https://github.com/PythonJS/PythonJS/tree/20a6bc3aa6e5c848eb20db45484f3f0fdec2b742
fixed type assert an interface{} or struct pointer to some struct pointer type.https://github.com/PythonJS/PythonJS/pull/163/commits/c4dc2626968381e39d2ad86b1610b05b11a9eecd
c4dc262https://github.com/PythonJS/PythonJS/pull/163/commits/c4dc2626968381e39d2ad86b1610b05b11a9eecd
https://github.com/PythonJS/PythonJS/tree/c4dc2626968381e39d2ad86b1610b05b11a9eecd
Generics: unpack an item from an array of subclasses, and generate switch in the caller to convert the item back to the correct subclass.https://github.com/PythonJS/PythonJS/pull/163/commits/14a7b1de8b9f25db7cff6849468a5ea8e3522498
14a7b1dhttps://github.com/PythonJS/PythonJS/pull/163/commits/14a7b1de8b9f25db7cff6849468a5ea8e3522498
https://github.com/PythonJS/PythonJS/tree/14a7b1de8b9f25db7cff6849468a5ea8e3522498
Generics: only warn about failed return at runtime when the function actually returns something.https://github.com/PythonJS/PythonJS/pull/163/commits/5c8395d6a0e1c3cbc1833af3c40f411d709fc2d7
5c8395dhttps://github.com/PythonJS/PythonJS/pull/163/commits/5c8395d6a0e1c3cbc1833af3c40f411d709fc2d7
https://github.com/PythonJS/PythonJS/tree/5c8395d6a0e1c3cbc1833af3c40f411d709fc2d7
Generics: fixed when the generic has been forced to be of some subclass, and infact its another subclass type, when passed to a generic function, if the first switch case that switches on the struc…https://github.com/PythonJS/PythonJS/pull/163/commits/83f048badee5de65ee4fc7e5d487b28ed0bd1161
83f048bhttps://github.com/PythonJS/PythonJS/pull/163/commits/83f048badee5de65ee4fc7e5d487b28ed0bd1161
https://github.com/PythonJS/PythonJS/tree/83f048badee5de65ee4fc7e5d487b28ed0bd1161
Generics: fixed when returning self.https://github.com/PythonJS/PythonJS/pull/163/commits/464bb8c696a05fb011305e1d243b23f2a280a3d9
464bb8chttps://github.com/PythonJS/PythonJS/pull/163/commits/464bb8c696a05fb011305e1d243b23f2a280a3d9
https://github.com/PythonJS/PythonJS/tree/464bb8c696a05fb011305e1d243b23f2a280a3d9
making sure bug 148 is fixed, `[0][0]`https://github.com/PythonJS/PythonJS/pull/163/commits/52f49260f29582dc3274da77a9aaead142cfae32
52f4926https://github.com/PythonJS/PythonJS/pull/163/commits/52f49260f29582dc3274da77a9aaead142cfae32
https://github.com/PythonJS/PythonJS/tree/52f49260f29582dc3274da77a9aaead142cfae32
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.