<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules/python.c, branch 3.4</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>Issue #15893: Improve error handling in main() and Py_FrozenMain()</title>
<updated>2013-07-27T00:39:09+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-07-27T00:39:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c588feeea94788e164286dbd757e34829a2eefb5'/>
<id>c588feeea94788e164286dbd757e34829a2eefb5</id>
<content type='text'>
* handle _PyMem_RawStrdup() failure
* Py_FrozenMain() releases memory on error
* Py_FrozenMain() duplicates the old locale, as done in main()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* handle _PyMem_RawStrdup() failure
* Py_FrozenMain() releases memory on error
* Py_FrozenMain() duplicates the old locale, as done in main()
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a compiler warning on FreeBSD</title>
<updated>2013-07-18T00:43:47+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-07-18T00:43:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ca713c014ecab385b606237395e14508500b4d27'/>
<id>ca713c014ecab385b606237395e14508500b4d27</id>
<content type='text'>
Modules/python.c:40: warning: ISO C90 forbids mixed declarations and code
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Modules/python.c:40: warning: ISO C90 forbids mixed declarations and code
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge: #18399: fix comment typo.</title>
<updated>2013-07-10T15:57:39+00:00</updated>
<author>
<name>R David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2013-07-10T15:57:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=609142ef05c4b71697e7819f47cf2512e6b8d85e'/>
<id>609142ef05c4b71697e7819f47cf2512e6b8d85e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>#18399: fix comment typo.</title>
<updated>2013-07-10T14:57:39+00:00</updated>
<author>
<name>R David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2013-07-10T14:57:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=296b73c83dd62173e104d4bf0c09b9b8f3a1b805'/>
<id>296b73c83dd62173e104d4bf0c09b9b8f3a1b805</id>
<content type='text'>
Patch by Andrew Rowe.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by Andrew Rowe.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #18203: Add _PyMem_RawStrdup() and _PyMem_Strdup()</title>
<updated>2013-07-07T21:30:24+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-07-07T21:30:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=49fc8ece8172162510890f42127d2aa4e13f878b'/>
<id>49fc8ece8172162510890f42127d2aa4e13f878b</id>
<content type='text'>
Replace strdup() with _PyMem_RawStrdup() or _PyMem_Strdup(), depending if the
GIL is held or not.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace strdup() with _PyMem_RawStrdup() or _PyMem_Strdup(), depending if the
GIL is held or not.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #18203: Replace malloc() with PyMem_RawMalloc() at Python initialization</title>
<updated>2013-07-07T14:25:15+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-07-07T14:25:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=1a7425f67a0d141483d89ca80ca01e3cb7f6be92'/>
<id>1a7425f67a0d141483d89ca80ca01e3cb7f6be92</id>
<content type='text'>
* Replace malloc() with PyMem_RawMalloc()
* Replace PyMem_Malloc() with PyMem_RawMalloc() where the GIL is not held.
* _Py_char2wchar() now returns a buffer allocated by PyMem_RawMalloc(), instead
  of PyMem_Malloc()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Replace malloc() with PyMem_RawMalloc()
* Replace PyMem_Malloc() with PyMem_RawMalloc() where the GIL is not held.
* _Py_char2wchar() now returns a buffer allocated by PyMem_RawMalloc(), instead
  of PyMem_Malloc()
</pre>
</div>
</content>
</entry>
<entry>
<title>(Merge 3.2) Issue #16416: On Mac OS X, operating system data are now always</title>
<updated>2012-12-03T11:48:53+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2012-12-03T11:48:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2660e427d1abcae9fc60115c45619ed2286fc560'/>
<id>2660e427d1abcae9fc60115c45619ed2286fc560</id>
<content type='text'>
encoded/decoded to/from UTF-8/surrogateescape, instead of the locale encoding
(which may be ASCII if no locale environment variable is set), to avoid
inconsistencies with os.fsencode() and os.fsdecode() functions which are
already using UTF-8/surrogateescape.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
encoded/decoded to/from UTF-8/surrogateescape, instead of the locale encoding
(which may be ASCII if no locale environment variable is set), to avoid
inconsistencies with os.fsencode() and os.fsdecode() functions which are
already using UTF-8/surrogateescape.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #16416: On Mac OS X, operating system data are now always</title>
<updated>2012-12-03T11:47:59+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2012-12-03T11:47:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=27b1ca29ccf523e736a47c02f554de5374e241fc'/>
<id>27b1ca29ccf523e736a47c02f554de5374e241fc</id>
<content type='text'>
encoded/decoded to/from UTF-8/surrogateescape, instead of the locale encoding
(which may be ASCII if no locale environment variable is set), to avoid
inconsistencies with os.fsencode() and os.fsdecode() functions which are
already using UTF-8/surrogateescape.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
encoded/decoded to/from UTF-8/surrogateescape, instead of the locale encoding
(which may be ASCII if no locale environment variable is set), to avoid
inconsistencies with os.fsencode() and os.fsdecode() functions which are
already using UTF-8/surrogateescape.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #16416: OS data are now always encoded/decoded to/from</title>
<updated>2012-11-12T22:04:02+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2012-11-12T22:04:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e262377cabc59f0c7d574ce608b61f692601608b'/>
<id>e262377cabc59f0c7d574ce608b61f692601608b</id>
<content type='text'>
UTF-8/surrogateescape, instead of the locale encoding (which may be ASCII if no
locale environment variable is set), to avoid inconsistencies with
os.fsencode() and os.fsdecode() functions which are already using
UTF-8/surrogateescape.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
UTF-8/surrogateescape, instead of the locale encoding (which may be ASCII if no
locale environment variable is set), to avoid inconsistencies with
os.fsencode() and os.fsdecode() functions which are already using
UTF-8/surrogateescape.
</pre>
</div>
</content>
</entry>
<entry>
<title>If main() is called and an argument cannot be decoded, make sure to</title>
<updated>2012-06-25T20:25:28+00:00</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2012-06-25T20:25:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0b1b9ce494ee91ed525a83b802e15cd9a03922d5'/>
<id>0b1b9ce494ee91ed525a83b802e15cd9a03922d5</id>
<content type='text'>
free the copy of the command-line.

Found using Clang's static analyzer.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
free the copy of the command-line.

Found using Clang's static analyzer.
</pre>
</div>
</content>
</entry>
</feed>
