Title: Traitlets: allow_none default value for trait types · Issue #7670 · ipython/ipython · GitHub
Open Graph Title: Traitlets: allow_none default value for trait types · Issue #7670 · ipython/ipython
X Title: Traitlets: allow_none default value for trait types · Issue #7670 · ipython/ipython
Description: For a number of trait types the default value for allow_none is True, such as Enum, Dict, List, Instance. It probably makes sense for Type, but as explicit is often better than implicit, could be interesting to change this before traitle...
Open Graph Description: For a number of trait types the default value for allow_none is True, such as Enum, Dict, List, Instance. It probably makes sense for Type, but as explicit is often better than implicit, could be i...
X Description: For a number of trait types the default value for allow_none is True, such as Enum, Dict, List, Instance. It probably makes sense for Type, but as explicit is often better than implicit, could be i...
Opengraph URL: https://github.com/ipython/ipython/issues/7670
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Traitlets: allow_none default value for trait types","articleBody":"For a number of trait types the default value for `allow_none` is `True`, such as `Enum`, `Dict`, `List`, `Instance`. \n\nIt probably makes sense for `Type`, but as explicit is often better than implicit, could be interesting to change this before traitlets are separated out.\n\nThis would be a divergence with respect to the `traits` library though. (still I think that given the popularity of IPython, traitlets are much more used).\n","author":{"url":"https://github.com/SylvainCorlay","@type":"Person","name":"SylvainCorlay"},"datePublished":"2015-02-03T01:50:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/7670/ipython/issues/7670"}
| 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:1ac86cc3-8e1d-5b7c-a233-c22173e23bb7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC32:E9032:1C4A22:291A37:6A58A983 |
| html-safe-nonce | cfe0ebe90cacc8c1c6fb1fefe259b9b7ea47f56fdfd0e6e372129b0c953cf3ac |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzMyOkU5MDMyOjFDNEEyMjoyOTFBMzc6NkE1OEE5ODMiLCJ2aXNpdG9yX2lkIjoiNDE3NTQyMTg4MjQ0MTk2ODAwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0fa05ab276af8eead96a1f226e682ca98e443b2f0ded4cf98a73b8983ff61374 |
| hovercard-subject-tag | issue:56322336 |
| 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/ipython/ipython/7670/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f45f01d2aa963028cb8a29336d52a19c2614a8a3542d4b85d84ea813a18d53d1/ipython/ipython/issues/7670 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f45f01d2aa963028cb8a29336d52a19c2614a8a3542d4b85d84ea813a18d53d1/ipython/ipython/issues/7670 |
| og:image:alt | For a number of trait types the default value for allow_none is True, such as Enum, Dict, List, Instance. It probably makes sense for Type, but as explicit is often better than implicit, could be i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SylvainCorlay |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| go-import | github.com/ipython/ipython git https://github.com/ipython/ipython.git |
| octolytics-dimension-user_id | 230453 |
| octolytics-dimension-user_login | ipython |
| octolytics-dimension-repository_id | 658518 |
| octolytics-dimension-repository_nwo | ipython/ipython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 658518 |
| octolytics-dimension-repository_network_root_nwo | ipython/ipython |
| 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 | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width