<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Include/ceval.h, branch 2.7</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/ceval.h?h=2.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/ceval.h?h=2.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2017-03-30T17:32:18Z</updated>
<entry>
<title>bpo-29935: Fixed error messages in the index() method of tuple and list (#887) (#907) (#910)</title>
<updated>2017-03-30T17:32:18Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-03-30T17:32:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=079f21f873b99f9564a41c5b7f3e0d7035847ae5'/>
<id>urn:sha1:079f21f873b99f9564a41c5b7f3e0d7035847ae5</id>
<content type='text'>
when pass indices of wrong type.
(cherry picked from commit d4edfc9abffca965e76ebc5957a92031a4d6c4d4)
(cherry picked from commit bf4bb2e43030661e568d5d4b046e8b9351cc164c)</content>
</entry>
<entry>
<title>Added the const qualifier for char* argument of Py_EnterRecursiveCall().</title>
<updated>2015-06-21T13:26:28Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-06-21T13:26:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1670af6c33beb4851934b481ed8dfde3baf139a2'/>
<id>urn:sha1:1670af6c33beb4851934b481ed8dfde3baf139a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Untabify C files. Will watch buildbots.</title>
<updated>2010-05-09T14:46:46Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-05-09T14:46:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c83ea137d7e717f764e2f31fc2544f522de7d857'/>
<id>urn:sha1:c83ea137d7e717f764e2f31fc2544f522de7d857</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #8276: PyEval_CallObject() is now only available in macro form.  The</title>
<updated>2010-04-01T16:42:11Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-04-01T16:42:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=76c8649038bed4598c7fcac9ef87548f94013087'/>
<id>urn:sha1:76c8649038bed4598c7fcac9ef87548f94013087</id>
<content type='text'>
function declaration, which was kept for backwards compatibility reasons,
is now removed (the macro was introduced in 1997!).
</content>
</entry>
<entry>
<title>Merge ssize_t branch.</title>
<updated>2006-02-15T17:27:45Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-02-15T17:27:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=18e165558b24d29e7e0ca501842b9236589b012a'/>
<id>urn:sha1:18e165558b24d29e7e0ca501842b9236589b012a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add const to several API functions that take char *.</title>
<updated>2005-12-10T18:50:16Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2005-12-10T18:50:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=af68c874a6803b4e90b616077a602c0593719a1d'/>
<id>urn:sha1:af68c874a6803b4e90b616077a602c0593719a1d</id>
<content type='text'>
In C++, it's an error to pass a string literal to a char* function
without a const_cast().  Rather than require every C++ extension
module to put a cast around string literals, fix the API to state the
const-ness.

I focused on parts of the API where people usually pass literals:
PyArg_ParseTuple() and friends, Py_BuildValue(), PyMethodDef, the type
slots, etc.  Predictably, there were a large set of functions that
needed to be fixed as a result of these changes.  The most pervasive
change was to make the keyword args list passed to
PyArg_ParseTupleAndKewords() to be a const char *kwlist[].

One cast was required as a result of the changes:  A type object
mallocs the memory for its tp_doc slot and later frees it.
PyTypeObject says that tp_doc is const char *; but if the type was
created by type_new(), we know it is safe to cast to char *.
</content>
</entry>
<entry>
<title>PEP 342 implementation.  Per Guido's comments, the generator throw()</title>
<updated>2005-08-02T00:46:46Z</updated>
<author>
<name>Phillip J. Eby</name>
<email>pje@telecommunity.com</email>
</author>
<published>2005-08-02T00:46:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0d6615fd29063bdaccb13e1fbae542fb666d8728'/>
<id>urn:sha1:0d6615fd29063bdaccb13e1fbae542fb666d8728</id>
<content type='text'>
method still needs to support string exceptions, and allow None for the
third argument.  Documentation updates are needed, too.
</content>
</entry>
<entry>
<title>SF patch 1044089:  New C API function PyEval_ThreadsInitialized(), by Nick</title>
<updated>2004-10-11T02:40:51Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-10-11T02:40:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7f468f29f49786988e4f1a005174578fc83c7eb9'/>
<id>urn:sha1:7f468f29f49786988e4f1a005174578fc83c7eb9</id>
<content type='text'>
Coghlan, for determining whether PyEval_InitThreads() has been called.
Also purged the undocumented+unused _PyThread_Started int.
</content>
</entry>
<entry>
<title>Patch #966493: Cleanup generator/eval_frame exposure.</title>
<updated>2004-06-27T15:43:12Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2004-06-27T15:43:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8d97e33bb76c322cdb08dbf97c26d787cd3488a7'/>
<id>urn:sha1:8d97e33bb76c322cdb08dbf97c26d787cd3488a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #957398: Add public API for Generator Object/Type.</title>
<updated>2004-06-01T15:22:42Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2004-06-01T15:22:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e440e47e91a93ae57870da8753f9c141c4a37885'/>
<id>urn:sha1:e440e47e91a93ae57870da8753f9c141c4a37885</id>
<content type='text'>
</content>
</entry>
</feed>
