[issue46471] use global singletons for single byte bytes objects in deepfreeze

2022-01-23 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> fixed stage: patch review -> resolved status: pending -> closed ___ Python tracker ___

[issue46471] use global singletons for single byte bytes objects in deepfreeze

2022-01-23 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Can we close this, or are you expecting more changes? -- nosy: +erlendaasland status: open -> pending ___ Python tracker ___

[issue46471] use global singletons for single byte bytes objects in deepfreeze

2022-01-23 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset ca78130d7eb5265759697639e42487ec6d0a4caf by Kumar Aditya in branch 'main': bpo-46471: Use single byte singletons (GH-30781) https://github.com/python/cpython/commit/ca78130d7eb5265759697639e42487ec6d0a4caf --

[issue46471] use global singletons for single byte bytes objects in deepfreeze

2022-01-22 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch pull_requests: +28966 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30781 ___ Python tracker ___

[issue46471] use global singletons for single byte bytes objects in deepfreeze

2022-01-22 Thread Kumar Aditya
New submission from Kumar Aditya : By using global singletons for single byte bytes objects in deepfreeze, there is no need to generate c code for it so it reduces the size of generated c file and reduces memory use of the objects when they are allocated on the heap as now they are