<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Tools/scripts/generate_global_objects.py, branch main</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>gh-97669: Create Tools/build/ directory (#97963)</title>
<updated>2022-10-17T10:01:00+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2022-10-17T10:01:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=1863302d61a7a5dd8b8d345a00f0ee242c7c10bf'/>
<id>1863302d61a7a5dd8b8d345a00f0ee242c7c10bf</id>
<content type='text'>
Create Tools/build/ directory. Move the following scripts from
Tools/scripts/ to Tools/build/:

* check_extension_modules.py
* deepfreeze.py
* freeze_modules.py
* generate_global_objects.py
* generate_levenshtein_examples.py
* generate_opcode_h.py
* generate_re_casefix.py
* generate_sre_constants.py
* generate_stdlib_module_names.py
* generate_token.py
* parse_html5_entities.py
* smelly.py
* stable_abi.py
* umarshal.py
* update_file.py
* verify_ensurepip_wheels.py

Update references to these scripts.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Create Tools/build/ directory. Move the following scripts from
Tools/scripts/ to Tools/build/:

* check_extension_modules.py
* deepfreeze.py
* freeze_modules.py
* generate_global_objects.py
* generate_levenshtein_examples.py
* generate_opcode_h.py
* generate_re_casefix.py
* generate_sre_constants.py
* generate_stdlib_module_names.py
* generate_token.py
* parse_html5_entities.py
* smelly.py
* stable_abi.py
* umarshal.py
* update_file.py
* verify_ensurepip_wheels.py

Update references to these scripts.</pre>
</div>
</content>
</entry>
<entry>
<title>GH-90699: use statically allocated interned strings in typeobject's slotdefs  (GH-94706)</title>
<updated>2022-09-07T22:02:08+00:00</updated>
<author>
<name>Kumar Aditya</name>
<email>59607654+kumaraditya303@users.noreply.github.com</email>
</author>
<published>2022-09-07T22:02:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=4e4bfffe2ded7339663945ad4c494db0e88ec96c'/>
<id>4e4bfffe2ded7339663945ad4c494db0e88ec96c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>GH-96458: Statically initialize utf8 representation of static strings (#96481)</title>
<updated>2022-09-03T06:43:08+00:00</updated>
<author>
<name>Kumar Aditya</name>
<email>59607654+kumaraditya303@users.noreply.github.com</email>
</author>
<published>2022-09-03T06:43:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6dab8c95bd8db18e09619d804a938ab3e46042fc'/>
<id>6dab8c95bd8db18e09619d804a938ab3e46042fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>GH-94851: check refcnt of immortal objects after finalization (GH-95001)</title>
<updated>2022-07-25T17:43:59+00:00</updated>
<author>
<name>Kumar Aditya</name>
<email>59607654+kumaraditya303@users.noreply.github.com</email>
</author>
<published>2022-07-25T17:43:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=73ee5a6b865fbd2e89b5b1f0a33bd7bcc7176c21'/>
<id>73ee5a6b865fbd2e89b5b1f0a33bd7bcc7176c21</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>GH-90699: Intern statically allocated strings (GH-93597)</title>
<updated>2022-07-08T17:47:37+00:00</updated>
<author>
<name>Kumar Aditya</name>
<email>59607654+kumaraditya303@users.noreply.github.com</email>
</author>
<published>2022-07-08T17:47:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9dff9f48144cf5d8bc1e6605f258973200c6b8c8'/>
<id>9dff9f48144cf5d8bc1e6605f258973200c6b8c8</id>
<content type='text'>
This is similar to how strings are interned for deepfreeze.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is similar to how strings are interned for deepfreeze.</pre>
</div>
</content>
</entry>
<entry>
<title>GH-90699: Move generated static initializer to pycore_runtime_generated.h (GH-94051)</title>
<updated>2022-07-07T20:04:05+00:00</updated>
<author>
<name>Kumar Aditya</name>
<email>59607654+kumaraditya303@users.noreply.github.com</email>
</author>
<published>2022-07-07T20:04:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=71697664d71e09dcf34aac41f6c100350efc3726'/>
<id>71697664d71e09dcf34aac41f6c100350efc3726</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46712: share more global strings in deepfreeze (gh-32152)</title>
<updated>2022-04-19T17:41:36+00:00</updated>
<author>
<name>Kumar Aditya</name>
<email>59607654+kumaraditya303@users.noreply.github.com</email>
</author>
<published>2022-04-19T17:41:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ab0d35d70dfe0b4c11583f8f735a8cc49b58c58b'/>
<id>ab0d35d70dfe0b4c11583f8f735a8cc49b58c58b</id>
<content type='text'>
(for gh-90868)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(for gh-90868)</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-47146: Avoid Using make Recursively (gh-32206)</title>
<updated>2022-03-31T01:24:02+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2022-03-31T01:24:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=db4dada5108dd49ebca23e4559a53630a2df8447'/>
<id>db4dada5108dd49ebca23e4559a53630a2df8447</id>
<content type='text'>
https://bugs.python.org/issue47146</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugs.python.org/issue47146</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46712: Do not Regen Deep-Frozen Modules before Generating Global Objects (gh-32061)</title>
<updated>2022-03-23T15:55:52+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2022-03-23T15:55:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=febf54bcf3fdc45ad84b4073e24bbaaee0ac8b2a'/>
<id>febf54bcf3fdc45ad84b4073e24bbaaee0ac8b2a</id>
<content type='text'>
We have to run "make regen-deepfreeze" before running Tools/scripts/generate-global-objects.py; otherwise we will miss any changes to global objects in deep-frozen modules (which aren't committed in the repo).  However, building $(PYTHON_FOR_FREEZE) fails if one of its source files had a global object (e.g. via _Py_ID(...)) added or removed, without generate-global-objects.py running first.  So "make regen-global-objects" would sometimes fail.

We solve this by running generate-global-objects.py before *and* after "make regen-deepfreeze". To speed things up and cut down on noise, we also avoid updating the global objects files if there are no changes to them.

https://bugs.python.org/issue46712</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have to run "make regen-deepfreeze" before running Tools/scripts/generate-global-objects.py; otherwise we will miss any changes to global objects in deep-frozen modules (which aren't committed in the repo).  However, building $(PYTHON_FOR_FREEZE) fails if one of its source files had a global object (e.g. via _Py_ID(...)) added or removed, without generate-global-objects.py running first.  So "make regen-global-objects" would sometimes fail.

We solve this by running generate-global-objects.py before *and* after "make regen-deepfreeze". To speed things up and cut down on noise, we also avoid updating the global objects files if there are no changes to them.

https://bugs.python.org/issue46712</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46881: Statically allocate and initialize the latin1 characters. (GH-31616)</title>
<updated>2022-03-09T23:02:00+00:00</updated>
<author>
<name>Kumar Aditya</name>
<email>59607654+kumaraditya303@users.noreply.github.com</email>
</author>
<published>2022-03-09T23:02:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8714b6fa27271035dd6dd3514e283f92d669321d'/>
<id>8714b6fa27271035dd6dd3514e283f92d669321d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
