Title: Setting PYTHONDONTWRITEBYTECODE or using -B does not stop the package cache directory creation and usage · Issue #389 · jython/jython · GitHub
Open Graph Title: Setting PYTHONDONTWRITEBYTECODE or using -B does not stop the package cache directory creation and usage · Issue #389 · jython/jython
X Title: Setting PYTHONDONTWRITEBYTECODE or using -B does not stop the package cache directory creation and usage · Issue #389 · jython/jython
Description: PySystemState.dont_write_bytecode field is set to true when that environment variable is set or the flag used. However PySystemState.initCacheDirectory creates the cache directory regardless of that field's value. This directory is used ...
Open Graph Description: PySystemState.dont_write_bytecode field is set to true when that environment variable is set or the flag used. However PySystemState.initCacheDirectory creates the cache directory regardless of tha...
X Description: PySystemState.dont_write_bytecode field is set to true when that environment variable is set or the flag used. However PySystemState.initCacheDirectory creates the cache directory regardless of tha...
Opengraph URL: https://github.com/jython/jython/issues/389
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Setting PYTHONDONTWRITEBYTECODE or using -B does not stop the package cache directory creation and usage","articleBody":"`PySystemState.dont_write_bytecode` field is set to true when that environment variable is set or the flag used. However `PySystemState.initCacheDirectory` creates the cache directory regardless of that field's value.\n\nThis directory is used by `SysPackageManager` to cache `packages.idx` and `.pkc` files with permissions (0600) so this causes an issue (similar to #93) that blocks our archiving system.\n\nIs there a use-case where bytecode writing is blocked but package caching desired?","author":{"url":"https://github.com/PeterC-DLS","@type":"Person","name":"PeterC-DLS"},"datePublished":"2025-06-13T10:58:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/389/jython/issues/389"}
| 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:5c9ea6f2-8f2c-7f10-c0c2-b8126dda9ea5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C474:2558DF:4E52D82:69A1AA0:696E0464 |
| html-safe-nonce | f390718f4fe59c444b812d511ea75749e9fa33cd0cd42a92a645a3a2e84996d9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDc0OjI1NThERjo0RTUyRDgyOjY5QTFBQTA6Njk2RTA0NjQiLCJ2aXNpdG9yX2lkIjoiNzg0NTkyODQ2MzA2ODA0ODM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cafae3c6a9477f3574750f16f36d900258caad0e9aa7d3734b16cc1b8c70b284 |
| hovercard-subject-tag | issue:3143184904 |
| 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/jython/jython/389/issue_layout |
| twitter:image | https://opengraph.githubassets.com/327e9ab8da2e668dfa10bf164a268877649dd204de0376e6fb5c1e105c20cd5c/jython/jython/issues/389 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/327e9ab8da2e668dfa10bf164a268877649dd204de0376e6fb5c1e105c20cd5c/jython/jython/issues/389 |
| og:image:alt | PySystemState.dont_write_bytecode field is set to true when that environment variable is set or the flag used. However PySystemState.initCacheDirectory creates the cache directory regardless of tha... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | PeterC-DLS |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b5131b207ddd175abf059a848d5f4302ec0606b02211b989013be49cf08593e |
| turbo-cache-control | no-preview |
| go-import | github.com/jython/jython git https://github.com/jython/jython.git |
| octolytics-dimension-user_id | 10533356 |
| octolytics-dimension-user_login | jython |
| octolytics-dimension-repository_id | 282480317 |
| octolytics-dimension-repository_nwo | jython/jython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 282480317 |
| octolytics-dimension-repository_network_root_nwo | jython/jython |
| 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 | f8590a63bfc8093b241930ca57d536c9a50f9680 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width