Title: Decorator Syntax Errors · Issue #261 · MagicStack/MagicPython · GitHub
Open Graph Title: Decorator Syntax Errors · Issue #261 · MagicStack/MagicPython
X Title: Decorator Syntax Errors · Issue #261 · MagicStack/MagicPython
Description: So decorators have very strict syntax, while in reality, any valid python expression can be used when decorating. See github's highlighting below too. Editor name and version: Sublime Text 4152 Platform: MacOSX Color scheme: Custom, but ...
Open Graph Description: So decorators have very strict syntax, while in reality, any valid python expression can be used when decorating. See github's highlighting below too. Editor name and version: Sublime Text 4152 Pla...
X Description: So decorators have very strict syntax, while in reality, any valid python expression can be used when decorating. See github's highlighting below too. Editor name and version: Sublime Text 4152...
Opengraph URL: https://github.com/MagicStack/MagicPython/issues/261
X: @github
Domain: Github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Decorator Syntax Errors","articleBody":"So decorators have very strict syntax, while in reality, any valid python expression can be used when decorating. See github's highlighting below too.\r\n\r\n* **Editor name and version**: Sublime Text 4152\r\n* **Platform**: MacOSX\r\n* **Color scheme**: Custom, but any\r\n* **MagicPython version**: v.1.1.1\r\n* **A sreenshot**:\r\n* \r\n* **5-10 lines of surrounding code**:\r\n```python\r\nclass A:\r\n @D[C][prtl]\r\n def a(self):\r\n pass\r\n\r\n @a | b | c\r\n def a(self):\r\n pass\r\n```\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/dg-pb","@type":"Person","name":"dg-pb"},"datePublished":"2023-12-08T05:31:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/261/MagicPython/issues/261"}
| 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:181f4c2b-a287-5a83-d9d7-0af927e38267 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8600:EE0A4:5B477:7A24B:6A62F99C |
| html-safe-nonce | e54e05d4aa64b6c61a719180e588372c42dd17b4e6a671c244908db89137ad49 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjAwOkVFMEE0OjVCNDc3OjdBMjRCOjZBNjJGOTlDIiwidmlzaXRvcl9pZCI6IjEzMzAyOTk4OTc2MjAxMzQzMDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c33f1d9887aabf1bc0277aafc3e3c185a9ae41eaa6fbd081dc464576a2ebe3ab |
| hovercard-subject-tag | issue:2031955527 |
| 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/MagicStack/MagicPython/261/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9b34c8f1b12310288c48a0123edc7fe479220f5f442d2e230dea856463005120/MagicStack/MagicPython/issues/261 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9b34c8f1b12310288c48a0123edc7fe479220f5f442d2e230dea856463005120/MagicStack/MagicPython/issues/261 |
| og:image:alt | So decorators have very strict syntax, while in reality, any valid python expression can be used when decorating. See github's highlighting below too. Editor name and version: Sublime Text 4152 Pla... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dg-pb |
| hostname | github.com |
| expected-hostname | github.com |
| None | 59e40dc698184067b40ef2d941585f66ed42711564a879644f984f1eacea129c |
| turbo-cache-control | no-preview |
| go-import | github.com/MagicStack/MagicPython git https://github.com/MagicStack/MagicPython.git |
| octolytics-dimension-user_id | 14324950 |
| octolytics-dimension-user_login | MagicStack |
| octolytics-dimension-repository_id | 43982620 |
| octolytics-dimension-repository_nwo | MagicStack/MagicPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 43982620 |
| octolytics-dimension-repository_network_root_nwo | MagicStack/MagicPython |
| 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 | b4f544bf80583e749557efd76afda56317b6252d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width