René's URL Explorer Experiment


Title: gitignore .pyc; make vistory.py more robust to lack of node children by hobson · Pull Request #32 · natural/java2python · GitHub

Open Graph Title: gitignore .pyc; make vistory.py more robust to lack of node children by hobson · Pull Request #32 · natural/java2python

X Title: gitignore .pyc; make vistory.py more robust to lack of node children by hobson · Pull Request #32 · natural/java2python

Description: .gitignore *.pyc .gitignore egg dir robust to empty node lists and nodes without children To reproduce ERROR: $ cd ~/src $ git clone https://github.com/ggp-org/ggp-base.git $ ~/src/ggp-base/src/org/ggp/base/util/gdl $ j2py GdlUtils.java GdlUtils.py ERROR Traceback: Traceback (most recent call last): File "/home/hobs/.virtualenvs/ggpy/bin/j2py", line 259, in sys.exit(runMain(configScript(sys.argv[1:]))) File "/home/hobs/.virtualenvs/ggpy/bin/j2py", line 57, in runMain return runOneOrMany(options) File "/home/hobs/.virtualenvs/ggpy/bin/j2py", line 83, in runOneOrMany return runTransform(options) File "/home/hobs/.virtualenvs/ggpy/bin/j2py", line 135, in runTransform module.walk(tree) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 86, in walk visitor.walk(child, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 86, in walk visitor.walk(child, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 86, in walk visitor.walk(child, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 86, in walk visitor.walk(child, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 86, in walk visitor.walk(child, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 83, in walk visitor = self.accept(tree, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 43, in accept return call(node, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 484, in acceptIf nextBlock.walk(nextNode.children[1], memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 86, in walk visitor.walk(child, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 83, in walk visitor = self.accept(tree, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 43, in accept return call(node, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 443, in acceptFor if not node.firstChildOfType(tokens.BLOCK_SCOPE).children: AttributeError: 'NoneType' object has no attribute 'children'

Open Graph Description: .gitignore *.pyc .gitignore egg dir robust to empty node lists and nodes without children To reproduce ERROR: $ cd ~/src $ git clone https://github.com/ggp-org/ggp-base.git $ ~/src/ggp-base/src/or...

X Description: .gitignore *.pyc .gitignore egg dir robust to empty node lists and nodes without children To reproduce ERROR: $ cd ~/src $ git clone https://github.com/ggp-org/ggp-base.git $ ~/src/ggp-base/src/or...

Opengraph URL: https://github.com/natural/java2python/pull/32

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:56260fe7-c7e2-3baa-60de-892763a35287
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE61E:1D504F:AE5218:E02A0C:697458C6
html-safe-nonce4e67d90baaf0ce3af487229062d6d1cbc8936f73f92ff6289e0c61f172c73435
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjFFOjFENTA0RjpBRTUyMTg6RTAyQTBDOjY5NzQ1OEM2IiwidmlzaXRvcl9pZCI6IjQ1OTU4MjI3NzMyMzcyMDkyODYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5953074f9616029a889a1c70438772d846eb5302aca8f6fe19a3997ecdc2498d
hovercard-subject-tagpull_request:14997137
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/natural/java2python/pull/32/files
twitter:imagehttps://avatars.githubusercontent.com/u/292855?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/292855?s=400&v=4
og:image:alt.gitignore *.pyc .gitignore egg dir robust to empty node lists and nodes without children To reproduce ERROR: $ cd ~/src $ git clone https://github.com/ggp-org/ggp-base.git $ ~/src/ggp-base/src/or...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee0b95d743b7672c9ac0e1032d5f117950182dc164a83434a7db86510e8f0b37c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/natural/java2python git https://github.com/natural/java2python.git
octolytics-dimension-user_id146692
octolytics-dimension-user_loginnatural
octolytics-dimension-repository_id3298542
octolytics-dimension-repository_nwonatural/java2python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3298542
octolytics-dimension-repository_network_root_nwonatural/java2python
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release56fe7e2e8de6e57740bca50402351ea656f7a4bf
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnatural%2Fjava2python%2Fpull%2F32%2Ffiles
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnatural%2Fjava2python%2Fpull%2F32%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=natural%2Fjava2python
Reloadhttps://patch-diff.githubusercontent.com/natural/java2python/pull/32/files
Reloadhttps://patch-diff.githubusercontent.com/natural/java2python/pull/32/files
Reloadhttps://patch-diff.githubusercontent.com/natural/java2python/pull/32/files
natural https://patch-diff.githubusercontent.com/natural
java2pythonhttps://patch-diff.githubusercontent.com/natural/java2python
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fnatural%2Fjava2python
Fork 247 https://patch-diff.githubusercontent.com/login?return_to=%2Fnatural%2Fjava2python
Star 579 https://patch-diff.githubusercontent.com/login?return_to=%2Fnatural%2Fjava2python
Code https://patch-diff.githubusercontent.com/natural/java2python
Issues 41 https://patch-diff.githubusercontent.com/natural/java2python/issues
Pull requests 10 https://patch-diff.githubusercontent.com/natural/java2python/pulls
Actions https://patch-diff.githubusercontent.com/natural/java2python/actions
Projects 0 https://patch-diff.githubusercontent.com/natural/java2python/projects
Security 0 https://patch-diff.githubusercontent.com/natural/java2python/security
Insights https://patch-diff.githubusercontent.com/natural/java2python/pulse
Code https://patch-diff.githubusercontent.com/natural/java2python
Issues https://patch-diff.githubusercontent.com/natural/java2python/issues
Pull requests https://patch-diff.githubusercontent.com/natural/java2python/pulls
Actions https://patch-diff.githubusercontent.com/natural/java2python/actions
Projects https://patch-diff.githubusercontent.com/natural/java2python/projects
Security https://patch-diff.githubusercontent.com/natural/java2python/security
Insights https://patch-diff.githubusercontent.com/natural/java2python/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fnatural%2Fjava2python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fnatural%2Fjava2python%2Fissues%2Fnew%2Fchoose
hobsonhttps://patch-diff.githubusercontent.com/hobson
natural:masterhttps://patch-diff.githubusercontent.com/natural/java2python/tree/master
hobson:masterhttps://patch-diff.githubusercontent.com/hobson/java2python/tree/master
Conversation 0 https://patch-diff.githubusercontent.com/natural/java2python/pull/32
Commits 3 https://patch-diff.githubusercontent.com/natural/java2python/pull/32/commits
Checks 0 https://patch-diff.githubusercontent.com/natural/java2python/pull/32/checks
Files changed https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files
Please reload this pagehttps://patch-diff.githubusercontent.com/natural/java2python/pull/32/files
gitignore .pyc; make vistory.py more robust to lack of node children https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#top
Show all changes 3 commits https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files
66d055a gitignore .pyc and fix vistory.py to not fail when no node children Apr 22, 2014 https://patch-diff.githubusercontent.com/natural/java2python/pull/32/commits/66d055a57204fa002e1ec9c632fe1fc2e9a2763d
2dc1c67 fix None.type error Apr 22, 2014 https://patch-diff.githubusercontent.com/natural/java2python/pull/32/commits/2dc1c67732dbb64e051d13bbb75435ad03ffcfd3
e40c2c2 warnings instead of fatal exceptions May 31, 2014 https://patch-diff.githubusercontent.com/natural/java2python/pull/32/commits/e40c2c29e44d64eb8e717a1aa774baff44fa948a
Clear filters https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files
Please reload this pagehttps://patch-diff.githubusercontent.com/natural/java2python/pull/32/files
Please reload this pagehttps://patch-diff.githubusercontent.com/natural/java2python/pull/32/files
.gitignore https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
visitor.py https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#diff-e8a3d97847b16142a390498a6242ec2f5ff2a9585224f3f4b5eb1d6d79e35038
selector.py https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#diff-c91371cdae0a4f45cdb11f4260615486c3438b933085baff33c6dd27b0f53adb
.gitignorehttps://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
View file https://patch-diff.githubusercontent.com/natural/java2python/blob/e40c2c29e44d64eb8e717a1aa774baff44fa948a/.gitignore
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/natural/java2python/pull/32/{{ revealButtonHref }}
java2python/compiler/visitor.pyhttps://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#diff-e8a3d97847b16142a390498a6242ec2f5ff2a9585224f3f4b5eb1d6d79e35038
View file https://patch-diff.githubusercontent.com/natural/java2python/blob/e40c2c29e44d64eb8e717a1aa774baff44fa948a/java2python/compiler/visitor.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/natural/java2python/pull/32/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#diff-e8a3d97847b16142a390498a6242ec2f5ff2a9585224f3f4b5eb1d6d79e35038
https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#diff-e8a3d97847b16142a390498a6242ec2f5ff2a9585224f3f4b5eb1d6d79e35038
https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#diff-e8a3d97847b16142a390498a6242ec2f5ff2a9585224f3f4b5eb1d6d79e35038
https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#diff-e8a3d97847b16142a390498a6242ec2f5ff2a9585224f3f4b5eb1d6d79e35038
https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#diff-e8a3d97847b16142a390498a6242ec2f5ff2a9585224f3f4b5eb1d6d79e35038
https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#diff-e8a3d97847b16142a390498a6242ec2f5ff2a9585224f3f4b5eb1d6d79e35038
https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#diff-e8a3d97847b16142a390498a6242ec2f5ff2a9585224f3f4b5eb1d6d79e35038
https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#diff-e8a3d97847b16142a390498a6242ec2f5ff2a9585224f3f4b5eb1d6d79e35038
https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#diff-e8a3d97847b16142a390498a6242ec2f5ff2a9585224f3f4b5eb1d6d79e35038
https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#diff-e8a3d97847b16142a390498a6242ec2f5ff2a9585224f3f4b5eb1d6d79e35038
https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#diff-e8a3d97847b16142a390498a6242ec2f5ff2a9585224f3f4b5eb1d6d79e35038
https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#diff-e8a3d97847b16142a390498a6242ec2f5ff2a9585224f3f4b5eb1d6d79e35038
java2python/lang/selector.pyhttps://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#diff-c91371cdae0a4f45cdb11f4260615486c3438b933085baff33c6dd27b0f53adb
View file https://patch-diff.githubusercontent.com/natural/java2python/blob/e40c2c29e44d64eb8e717a1aa774baff44fa948a/java2python/lang/selector.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/natural/java2python/pull/32/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#diff-c91371cdae0a4f45cdb11f4260615486c3438b933085baff33c6dd27b0f53adb
https://patch-diff.githubusercontent.com/natural/java2python/pull/32/files#diff-c91371cdae0a4f45cdb11f4260615486c3438b933085baff33c6dd27b0f53adb
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.