Title: scad_tokens.py:55: SyntaxWarning: invalid escape sequence '\&' · Issue #214 · SolidCode/SolidPython · GitHub
Open Graph Title: scad_tokens.py:55: SyntaxWarning: invalid escape sequence '\&' · Issue #214 · SolidCode/SolidPython
X Title: scad_tokens.py:55: SyntaxWarning: invalid escape sequence '\&' · Issue #214 · SolidCode/SolidPython
Description: A script to reproduce using this version of BOSL2. fill.py #!/usr/bin/python3 from solid import * b2=include('BOSL2/std.scad') [andromodon@spectre fill]$ ./fill.py /usr/local/lib/python3.12/dist-packages/solid/py_scadparser/scad_tokens.p...
Open Graph Description: A script to reproduce using this version of BOSL2. fill.py #!/usr/bin/python3 from solid import * b2=include('BOSL2/std.scad') [andromodon@spectre fill]$ ./fill.py /usr/local/lib/python3.12/dist-pa...
X Description: A script to reproduce using this version of BOSL2. fill.py #!/usr/bin/python3 from solid import * b2=include('BOSL2/std.scad') [andromodon@spectre fill]$ ./fill.py /usr/local/lib/python3.12...
Opengraph URL: https://github.com/SolidCode/SolidPython/issues/214
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"scad_tokens.py:55: SyntaxWarning: invalid escape sequence '\\\u0026'","articleBody":"\nA script to reproduce using [this](https://github.com/BelfrySCAD/BOSL2/commit/5b37739ab1666ad3c0a919bd5993f3854fd16cb7) version of BOSL2.\n\nfill.py\n```python\n#!/usr/bin/python3\n\nfrom solid import *\n\nb2=include('BOSL2/std.scad')\n```\n\n\n```sh\n[andromodon@spectre fill]$ ./fill.py \n/usr/local/lib/python3.12/dist-packages/solid/py_scadparser/scad_tokens.py:55: SyntaxWarning: invalid escape sequence '\\\u0026'\n t_AND = \"\\\u0026\\\u0026\"\n/usr/local/lib/python3.12/dist-packages/solid/py_scadparser/scad_tokens.py:56: SyntaxWarning: invalid escape sequence '\\|'\n t_OR = \"\\|\\|\"\n```\n\nThe fix is to modify scad_tokens.py and change these lines to this:\n```\nt_AND = r\"\\\u0026\\\u0026\"\nt_OR = r\"\\|\\|\"\n```","author":{"url":"https://github.com/andyDoucette","@type":"Person","name":"andyDoucette"},"datePublished":"2025-02-01T11:24:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/214/SolidPython/issues/214"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b9459ad9-6798-ebfb-da62-12c252484133 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8370:3C0C98:2FD01A6:3FC3E14:696F1E39 |
| html-safe-nonce | f145c7ac3ccf8929ddc417fe5792b50b9721b1cc4412622e46936c6c0238b290 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzcwOjNDMEM5ODoyRkQwMUE2OjNGQzNFMTQ6Njk2RjFFMzkiLCJ2aXNpdG9yX2lkIjoiMzI0ODkyNzM0MTU1MzMzMTc3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5a4b8cbf718dbb6345d8f56f83e80854e7c1db0d0b14641842bfc8ec31624578 |
| hovercard-subject-tag | issue:2825155123 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/SolidCode/SolidPython/214/issue_layout |
| twitter:image | https://opengraph.githubassets.com/44185b7be90ba127b543d2a0e33245f2d940bc852dad2b795522780e0e095277/SolidCode/SolidPython/issues/214 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/44185b7be90ba127b543d2a0e33245f2d940bc852dad2b795522780e0e095277/SolidCode/SolidPython/issues/214 |
| og:image:alt | A script to reproduce using this version of BOSL2. fill.py #!/usr/bin/python3 from solid import * b2=include('BOSL2/std.scad') [andromodon@spectre fill]$ ./fill.py /usr/local/lib/python3.12/dist-pa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andyDoucette |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| go-import | github.com/SolidCode/SolidPython git https://github.com/SolidCode/SolidPython.git |
| octolytics-dimension-user_id | 622839 |
| octolytics-dimension-user_login | SolidCode |
| octolytics-dimension-repository_id | 1377446 |
| octolytics-dimension-repository_nwo | SolidCode/SolidPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1377446 |
| octolytics-dimension-repository_network_root_nwo | SolidCode/SolidPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width