Title: Enumerable First/Last using Python list. · Issue #113 · pythonnet/pythonnet · GitHub
Open Graph Title: Enumerable First/Last using Python list. · Issue #113 · pythonnet/pythonnet
X Title: Enumerable First/Last using Python list. · Issue #113 · pythonnet/pythonnet
Description: The following test currently crashes the runtime (stack trace included below). class EnumerableTest(unittest.TestCase): def testFirstAndLast(self): values = [1, 2, 3] self.assertTrue(Enumerable.First(values) == 1) self.assertTrue(Enumera...
Open Graph Description: The following test currently crashes the runtime (stack trace included below). class EnumerableTest(unittest.TestCase): def testFirstAndLast(self): values = [1, 2, 3] self.assertTrue(Enumerable.Fir...
X Description: The following test currently crashes the runtime (stack trace included below). class EnumerableTest(unittest.TestCase): def testFirstAndLast(self): values = [1, 2, 3] self.assertTrue(Enumerable.Fir...
Opengraph URL: https://github.com/pythonnet/pythonnet/issues/113
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enumerable First/Last using Python list.","articleBody":"The following test currently crashes the runtime (stack trace included below).\n\n``` python\nclass EnumerableTest(unittest.TestCase):\n def testFirstAndLast(self):\n values = [1, 2, 3]\n self.assertTrue(Enumerable.First(values) == 1)\n self.assertTrue(Enumerable.Last(values) == 3)\n```\n\n```\nUnhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.\n at Python.Runtime.MethodBinder.MatchParameters(MethodInfo[] mi, Type[] tp)\n at Python.Runtime.MethodBinder.Bind(IntPtr inst, IntPtr args, IntPtr kw, MethodBase info, MethodInfo[] methodinfo)\n at Python.Runtime.MethodBinder.Invoke(IntPtr inst, IntPtr args, IntPtr kw, MethodBase info, MethodInfo[] methodinfo)\n at Python.Runtime.MethodObject.Invoke(IntPtr target, IntPtr args, IntPtr kw, MethodBase info)\n at Python.Runtime.MethodBinding.tp_call(IntPtr ob, IntPtr args, IntPtr kw)\n at Python.Runtime.Runtime.Py_Main(Int32 argc, String[] argv)\n at Python.Runtime.PythonConsole.Main(String[] args)\n```\n\nDo you expect this to work correctly?\n\nThanks,\n","author":{"url":"https://github.com/galpin","@type":"Person","name":"galpin"},"datePublished":"2015-12-14T14:50:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/113/pythonnet/issues/113"}
| 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:6fa834a2-f2bf-717d-e641-cdeba1a42d17 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 80C6:330F09:34373E4:48F4DDE:69711BA4 |
| html-safe-nonce | 57ff1353061e0a77af22898ff76bdba8a559808fb575a2eef97e72444ae87340 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEM2OjMzMEYwOTozNDM3M0U0OjQ4RjREREU6Njk3MTFCQTQiLCJ2aXNpdG9yX2lkIjoiMjM1OTc5NDg1Njg1MTc0MTYwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f1b4c854276563c3027da916e854f5f047f31c6e4d511024984eb66b23187732 |
| hovercard-subject-tag | issue:122057346 |
| 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/pythonnet/pythonnet/113/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0a1432d08dfeeadd2862b14c58b09bb488a0fa870f6b977f792e2f7c8f11f42f/pythonnet/pythonnet/issues/113 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0a1432d08dfeeadd2862b14c58b09bb488a0fa870f6b977f792e2f7c8f11f42f/pythonnet/pythonnet/issues/113 |
| og:image:alt | The following test currently crashes the runtime (stack trace included below). class EnumerableTest(unittest.TestCase): def testFirstAndLast(self): values = [1, 2, 3] self.assertTrue(Enumerable.Fir... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | galpin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 73ca43ac10b0f114fadc2d2cf702bc0c6453174aa5f9dad3a1d131b428870c6d |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| 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 | 8c16e50bde10edd19f5772e9b3804df6d7bf9bfe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width