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: redirect.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:601a6f19-335f-fc5a-cf88-30ddc3a4e4b7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AB10:2E7615:4705CC:5CCE9F:696B4193 |
| html-safe-nonce | 6967a9747b19792fa856d00fa015e7af9baed05388bd98f18459c7dbbc29c244 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjEwOjJFNzYxNTo0NzA1Q0M6NUNDRTlGOjY5NkI0MTkzIiwidmlzaXRvcl9pZCI6IjQ4MDc3NDI3NTkzMzk2NjI3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 49e904aa62260b1c88da178b8d9f5b39e217d13481f523772ed5ef0671d8c0d6 |
| 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 | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width