<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cpython.git/Python/errors.c, branch v3.4.0b1</title>
<subtitle>https://github.com/python/cpython.git</subtitle>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/'/>
<entry>
<title>Issue #19512, #19515: remove shared identifiers, move identifiers where they</title>
<updated>2013-11-07T22:07:29Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-11-07T22:07:29Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=bd303c165bc914fc943026ece55f4ebd225614c9'/>
<id>bd303c165bc914fc943026ece55f4ebd225614c9</id>
<content type='text'>
are used.

Move also _Py_IDENTIFIER() defintions to the top in modified files to remove
identifiers duplicated in the same file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
are used.

Move also _Py_IDENTIFIER() defintions to the top in modified files to remove
identifiers duplicated in the same file.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #19512: add _PyUnicode_CompareWithId() function</title>
<updated>2013-11-06T23:46:04Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-11-06T23:46:04Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=ad14ccd047022d09f486d2359a342ffc5e676e5a'/>
<id>ad14ccd047022d09f486d2359a342ffc5e676e5a</id>
<content type='text'>
_PyUnicode_CompareWithId() is faster than PyUnicode_CompareWithASCIIString()
when both strings are equal and interned.

Add also _PyId_builtins identifier for "builtins" common string.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
_PyUnicode_CompareWithId() is faster than PyUnicode_CompareWithASCIIString()
when both strings are equal and interned.

Add also _PyId_builtins identifier for "builtins" common string.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #19512: add some common identifiers to only create common strings once,</title>
<updated>2013-11-06T21:41:44Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-11-06T21:41:44Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=090543736fa86c676252de7a44e6a7c6f347164e'/>
<id>090543736fa86c676252de7a44e6a7c6f347164e</id>
<content type='text'>
instead of creating temporary Unicode string objects

Add also more identifiers in pythonrun.c to avoid temporary Unicode string
objets for the interactive interpreter.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
instead of creating temporary Unicode string objects

Add also more identifiers in pythonrun.c to avoid temporary Unicode string
objets for the interactive interpreter.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't export internal symbols ("make smelly")</title>
<updated>2013-10-12T20:41:17Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2013-10-12T20:41:17Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=409b53840b83bc275db3ac234c547ff4dd67af58'/>
<id>409b53840b83bc275db3ac234c547ff4dd67af58</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Factor-out the common code for setting a KeyError.</title>
<updated>2013-09-02T22:59:26Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2013-09-02T22:59:26Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=69492dab07772f71aa226cbafa03f7d50309dd43'/>
<id>69492dab07772f71aa226cbafa03f7d50309dd43</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #18571: Implementation of the PEP 446: file descriptors and file handles</title>
<updated>2013-08-27T22:53:59Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-08-27T22:53:59Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=daf455554bc21b6b5df0a016ab5fa639d36cc595'/>
<id>daf455554bc21b6b5df0a016ab5fa639d36cc595</id>
<content type='text'>
are now created non-inheritable; add functions os.get/set_inheritable(),
os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
are now created non-inheritable; add functions os.get/set_inheritable(),
os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
</pre>
</div>
</content>
</entry>
<entry>
<title>Close #11619: The parser and the import machinery do not encode Unicode</title>
<updated>2013-08-26T20:28:21Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-08-26T20:28:21Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=14e461d5b92000ec4e89182fa25ab0d5b5b31234'/>
<id>14e461d5b92000ec4e89182fa25ab0d5b5b31234</id>
<content type='text'>
filenames anymore on Windows.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
filenames anymore on Windows.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #18664, #18408: Rewrite PyErr_WriteUnraisable() to handle errors</title>
<updated>2013-08-26T12:04:10Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@wyplay.com</email>
</author>
<published>2013-08-26T12:04:10Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=c82bfd871f33b824974469071469ac4fb491d547'/>
<id>c82bfd871f33b824974469071469ac4fb491d547</id>
<content type='text'>
 * Catch PyFile_WriteString() and PyFile_WriteObject() errors
 * Clear the current exception on _PyObject_GetAttrId() failure
 * Use PyUnicode_CompareWithASCIIString() and PyFile_WriteObject() instead of
   _PyUnicode_AsString() and strcmp() to avoid Unicode encoding error. stderr
   has a more tolerant error handler than utf-8/strict.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 * Catch PyFile_WriteString() and PyFile_WriteObject() errors
 * Clear the current exception on _PyObject_GetAttrId() failure
 * Use PyUnicode_CompareWithASCIIString() and PyFile_WriteObject() instead of
   _PyUnicode_AsString() and strcmp() to avoid Unicode encoding error. stderr
   has a more tolerant error handler than utf-8/strict.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #18520: PyErr_NoMemory() now fails with a fatal error if it is called</title>
<updated>2013-07-22T20:28:37Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-07-22T20:28:37Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=f54a574478e955d3175f9be5ac3a6c4533e68763'/>
<id>f54a574478e955d3175f9be5ac3a6c4533e68763</id>
<content type='text'>
before PyExc_MemoryError has been initialized by _PyExc_Init()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
before PyExc_MemoryError has been initialized by _PyExc_Init()
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #18408: PyEval_EvalFrameEx() and PyEval_CallObjectWithKeywords() now fail</title>
<updated>2013-07-17T23:41:08Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-07-17T23:41:08Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=ace47d7efd2e2ab708fdc25936e9a8f85e08b6d3'/>
<id>ace47d7efd2e2ab708fdc25936e9a8f85e08b6d3</id>
<content type='text'>
with an assertion error if they are called with an exception set
(PyErr_Occurred()).

If these functions are called with an exception set, the exception may be
cleared and so the caller looses its exception.

Add also assertions to PyEval_CallObjectWithKeywords() and call_function() to
check if the function succeed with no exception set, or the function failed
with an exception set.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
with an assertion error if they are called with an exception set
(PyErr_Occurred()).

If these functions are called with an exception set, the exception may be
cleared and so the caller looses its exception.

Add also assertions to PyEval_CallObjectWithKeywords() and call_function() to
check if the function succeed with no exception set, or the function failed
with an exception set.
</pre>
</div>
</content>
</entry>
</feed>
