Title: Cookie.py __slots__ error in python3.6 · Issue #71 · grisha/mod_python · GitHub
Open Graph Title: Cookie.py __slots__ error in python3.6 · Issue #71 · grisha/mod_python
X Title: Cookie.py __slots__ error in python3.6 · Issue #71 · grisha/mod_python
Description: Hi, I'm trying to use mod_python with python 3.6.6 and I get the below error in my application as well as when running mod_python's tests. Thanks for developing and maintaining mod_python! ================================================...
Open Graph Description: Hi, I'm trying to use mod_python with python 3.6.6 and I get the below error in my application as well as when running mod_python's tests. Thanks for developing and maintaining mod_python! ========...
X Description: Hi, I'm trying to use mod_python with python 3.6.6 and I get the below error in my application as well as when running mod_python's tests. Thanks for developing and maintaining mod_python! ...
Opengraph URL: https://github.com/grisha/mod_python/issues/71
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cookie.py __slots__ error in python3.6","articleBody":"Hi, I'm trying to use mod_python with python 3.6.6 and I get the below error in my application as well as when running mod_python's tests.\r\n\r\nThanks for developing and maintaining mod_python!\r\n\r\n```\r\n======================================================================\r\nFAIL: test_psphandler (__main__.PerRequestTestCase)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"test.py\", line 2082, in test_psphandler\r\n self.fail(repr(rsp))\r\n\r\nAssertionError:\r\n\u003cpre\u003e\r\nMod_python error: \"PythonHandler mod_python.psp\"\r\nTraceback (most recent call last):\r\n File \"/usr/local/lib/python3.6/site-packages/mod_python/apache.py\", line 353, in HandlerDispatch\r\n log=debug)\r\n File \"/usr/local/lib/python3.6/site-packages/mod_python/apache.py\", line 637, in import_module\r\n module = imp.load_module(mname, f, p, d)\r\n File \"/usr/local/lib/python3.6/imp.py\", line 235, in load_module\r\n return load_source(name, filename, file)\r\n File \"/usr/local/lib/python3.6/imp.py\", line 172, in load_source\r\n module = _load(spec)\r\n File \"\u0026lt;frozen importlib._bootstrap\u0026gt;\", line 684, in _load\r\n File \"\u0026lt;frozen importlib._bootstrap\u0026gt;\", line 665, in _load_unlocked\r\n File \"\u0026lt;frozen importlib._bootstrap_external\u0026gt;\", line 678, in exec_module\r\n File \"\u0026lt;frozen importlib._bootstrap\u0026gt;\", line 219, in _call_with_frames_removed\r\n File \"/usr/local/lib/python3.6/site-packages/mod_python/psp.py\", line 21, in \u0026lt;module\u0026gt;\r\n from . import apache, Session, util, _psp\r\n File \"/usr/local/lib/python3.6/site-packages/mod_python/Session.py\", line 32, in \u0026lt;module\u0026gt;\r\n from . import apache, Cookie\r\n File \"/usr/local/lib/python3.6/site-packages/mod_python/Cookie.py\", line 105, in \u0026lt;module\u0026gt;\r\n _metaCookie = metaCookie(\\'Cookie\\', (object, ), {})\r\n File \"/usr/local/lib/python3.6/site-packages/mod_python/Cookie.py\", line 101, in __new__\r\n return type.__new__(cls, clsname, bases, clsdict)\r\nValueError: \\'expires\\' in __slots__ conflicts with class variable\r\n\u003c/pre\u003e\r\n```\r\n\r\nVersion information:\r\n```\r\nmod_python version\r\n\r\nmod_python: 3.5.0-e9fc930\r\n '/usr/lib64/httpd/modules/mod_python.so'\r\n\r\npython: 3.6.6 (default, Jul 9 2018, 17:07:16) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]\r\n '/usr/local/bin/python3.6'\r\n\r\nhttpd: 2.4.6\r\n '/usr/sbin/httpd'\r\n\r\napr: 1.4.8\r\nplatform: Linux-3.10.0-693.17.1.el7.x86_64-x86_64-with-centos-7.4.1708-Core\r\n```\r\n","author":{"url":"https://github.com/craig-sh","@type":"Person","name":"craig-sh"},"datePublished":"2018-07-10T14:09:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/71/mod_python/issues/71"}
| 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:d72aad87-4239-2f12-5215-cee2e22d5ffe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B6FC:179658:D6B13C:13B0286:6A4E2C56 |
| html-safe-nonce | 79299d9223fa4de6a10e127428f1fec0f3019766137a093257e736a811f23729 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkZDOjE3OTY1ODpENkIxM0M6MTNCMDI4Njo2QTRFMkM1NiIsInZpc2l0b3JfaWQiOiI4MjM1NzkwMzU5NTYyNDMxNTc0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c48cbfe0ee7cd53e17394b5d3aa6d3440b7f5cc96a705474b764adab1dacde7b |
| hovercard-subject-tag | issue:339859785 |
| 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/grisha/mod_python/71/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e08dfb16243e0d95c1a2ddcf9068874bba06437ed7e9b787587e31c91273fa93/grisha/mod_python/issues/71 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e08dfb16243e0d95c1a2ddcf9068874bba06437ed7e9b787587e31c91273fa93/grisha/mod_python/issues/71 |
| og:image:alt | Hi, I'm trying to use mod_python with python 3.6.6 and I get the below error in my application as well as when running mod_python's tests. Thanks for developing and maintaining mod_python! ========... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | craig-sh |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/grisha/mod_python git https://github.com/grisha/mod_python.git |
| octolytics-dimension-user_id | 243835 |
| octolytics-dimension-user_login | grisha |
| octolytics-dimension-repository_id | 7504434 |
| octolytics-dimension-repository_nwo | grisha/mod_python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7504434 |
| octolytics-dimension-repository_network_root_nwo | grisha/mod_python |
| 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 | d9dd20d38f8ae3c4cb6b597807431db300d0bd2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width