<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Include/tupleobject.h, branch misc-acks-comment</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>bpo-35134: Create Include/cpython/tupleobject.h (GH-10764)</title>
<updated>2018-11-28T12:01:32+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-28T12:01:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=54ba556c6c7d8fd5504dc142c2e773890c55a774'/>
<id>54ba556c6c7d8fd5504dc142c2e773890c55a774</id>
<content type='text'>
Move tupleobject.h code surrounded by "#ifndef Py_LIMITED_API"
to a new Include/cpython/tupleobject.h header file.

Add cpython/ header files to Makefile.pre.in and pythoncore project
of PCbuild.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move tupleobject.h code surrounded by "#ifndef Py_LIMITED_API"
to a new Include/cpython/tupleobject.h header file.

Add cpython/ header files to Makefile.pre.in and pythoncore project
of PCbuild.</pre>
</div>
</content>
</entry>
<entry>
<title>Add assertion to _PyTuple_CAST(op) (GH-10712)</title>
<updated>2018-11-26T12:37:13+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-26T12:37:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=df108dc6610e41c54ed064a854e3903c143f0d77'/>
<id>df108dc6610e41c54ed064a854e3903c143f0d77</id>
<content type='text'>
Add "assert(PyTuple_Check(op));" to _PyTuple_CAST() to check that the
argument is a tuple object in debug mode.

PyTuple_GET_SIZE() now uses _PyTuple_CAST() to get its assertion.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add "assert(PyTuple_Check(op));" to _PyTuple_CAST() to check that the
argument is a tuple object in debug mode.

PyTuple_GET_SIZE() now uses _PyTuple_CAST() to get its assertion.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35081: Add Include/internal/pycore_tupleobject.h (GH-10705)</title>
<updated>2018-11-25T22:56:17+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-25T22:56:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ec13b9322d95a651606219469fc7b7e9c977f248'/>
<id>ec13b9322d95a651606219469fc7b7e9c977f248</id>
<content type='text'>
Move _PyTuple_ITEMS() to a new header file:
Include/internal/pycore_tupleobject.h</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move _PyTuple_ITEMS() to a new header file:
Include/internal/pycore_tupleobject.h</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35081: Add _PyTuple_CAST() (GH-10704)</title>
<updated>2018-11-25T22:30:32+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-25T22:30:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8ac6539d85b481fc6b5e9145446b07e591b2caba'/>
<id>8ac6539d85b481fc6b5e9145446b07e591b2caba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35199: Add an internal _PyTuple_ITEMS() macro (GH-10434)</title>
<updated>2018-11-09T15:56:48+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-09T15:56:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d17a693fa08ce9f2d35acbb1f76e20bdae3e01da'/>
<id>d17a693fa08ce9f2d35acbb1f76e20bdae3e01da</id>
<content type='text'>
* _PyTuple_ITEMS() gives access to the tuple-&gt;ob_item field and cast the
  first argument to PyTupleObject*. This internal macro is only usable if
  Py_BUILD_CORE is defined.
* Replace &amp;PyTuple_GET_ITEM(ob, 0) with _PyTuple_ITEMS(ob).
* Replace PyTuple_GET_ITEM(op, 1) with &amp;_PyTuple_ITEMS(ob)[1].</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* _PyTuple_ITEMS() gives access to the tuple-&gt;ob_item field and cast the
  first argument to PyTupleObject*. This internal macro is only usable if
  Py_BUILD_CORE is defined.
* Replace &amp;PyTuple_GET_ITEM(ob, 0) with _PyTuple_ITEMS(ob).
* Replace PyTuple_GET_ITEM(op, 1) with &amp;_PyTuple_ITEMS(ob)[1].</pre>
</div>
</content>
</entry>
<entry>
<title>Fix small typo in tupleobject.h (#4801)</title>
<updated>2017-12-12T07:59:30+00:00</updated>
<author>
<name>Chris</name>
<email>cbrown119955@gmail.com</email>
</author>
<published>2017-12-12T07:59:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e0720cd9e44d43587e6b6c91fd21d0bb0345ccb9'/>
<id>e0720cd9e44d43587e6b6c91fd21d0bb0345ccb9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-29867: Add asserts in PyTuple_GET_SIZE, PyList_GET_SIZE and PySet_GET_SIZE. (#751)</title>
<updated>2017-04-21T23:48:11+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-04-21T23:48:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=1a5856bf9295fa73995898d576e0bedf016aee1f'/>
<id>1a5856bf9295fa73995898d576e0bedf016aee1f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues</title>
<updated>2012-06-22T18:55:41+00:00</updated>
<author>
<name>David Malcolm</name>
<email>dmalcolm@redhat.com</email>
</author>
<published>2012-06-22T18:55:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=49526f48fc73d3ccdf09d466ed2d39a30e4df9b9'/>
<id>49526f48fc73d3ccdf09d466ed2d39a30e4df9b9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branches/pep-0384.</title>
<updated>2010-12-03T20:14:31+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2010-12-03T20:14:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=4d0d471a8031de90a2b1ce99c4ac4780e60b3bc9'/>
<id>4d0d471a8031de90a2b1ce99c4ac4780e60b3bc9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merged revisions 70546 via svnmerge from</title>
<updated>2009-03-23T18:52:06+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2009-03-23T18:52:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3a652b1d0af20c7d2a9fc9251f71b2a34c49b302'/>
<id>3a652b1d0af20c7d2a9fc9251f71b2a34c49b302</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70546 | antoine.pitrou | 2009-03-23 19:41:45 +0100 (lun., 23 mars 2009) | 9 lines

  Issue #4688: Add a heuristic so that tuples and dicts containing only
  untrackable objects are not tracked by the garbage collector. This can
  reduce the size of collections and therefore the garbage collection overhead
  on long-running programs, depending on their particular use of datatypes.

  (trivia: this makes the "binary_trees" benchmark from the Computer Language
  Shootout 40% faster)
........
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70546 | antoine.pitrou | 2009-03-23 19:41:45 +0100 (lun., 23 mars 2009) | 9 lines

  Issue #4688: Add a heuristic so that tuples and dicts containing only
  untrackable objects are not tracked by the garbage collector. This can
  reduce the size of collections and therefore the garbage collection overhead
  on long-running programs, depending on their particular use of datatypes.

  (trivia: this makes the "binary_trees" benchmark from the Computer Language
  Shootout 40% faster)
........
</pre>
</div>
</content>
</entry>
</feed>
