GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Rework `Modules/getbuildinfo.c` to build strings at build time, instead of runtime · Issue #158948 · python/cpython Open Open Copy link Labels interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior) DescriptionPython has a collection of C files to get "build information"
_Py_gitidentifier(), Py_GetBuildInfo() and Py_GetVersion() build strings at runtime. For example, Python/getversion.c uses a static buffer of a fixed size: I propose to rework these files to build strings at build time, no longer truncate strings, and don't need to build strings at runtime (no error handling needed). Linked PRsActivity
MetadataMetadataAssigneesLabelsinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior) ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |