<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/python.c, branch 3.3</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/python.c?h=3.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/python.c?h=3.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2013-07-26T23:04:56Z</updated>
<entry>
<title>Issue #15893: frozenmain.c now handles PyMem_Malloc() failure</title>
<updated>2013-07-26T23:04:56Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-07-26T23:04:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=36577e4e8cf967083dea762407ba9d9d28de5b8a'/>
<id>urn:sha1:36577e4e8cf967083dea762407ba9d9d28de5b8a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#18399: fix comment typo.</title>
<updated>2013-07-10T14:57:39Z</updated>
<author>
<name>R David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2013-07-10T14:57:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=296b73c83dd62173e104d4bf0c09b9b8f3a1b805'/>
<id>urn:sha1:296b73c83dd62173e104d4bf0c09b9b8f3a1b805</id>
<content type='text'>
Patch by Andrew Rowe.
</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:53Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2012-12-03T11:48:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2660e427d1abcae9fc60115c45619ed2286fc560'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Issue #16416: On Mac OS X, operating system data are now always</title>
<updated>2012-12-03T11:47:59Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2012-12-03T11:47:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=27b1ca29ccf523e736a47c02f554de5374e241fc'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>If main() is called and an argument cannot be decoded, make sure to</title>
<updated>2012-06-25T20:25:28Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2012-06-25T20:25:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0b1b9ce494ee91ed525a83b802e15cd9a03922d5'/>
<id>urn:sha1:0b1b9ce494ee91ed525a83b802e15cd9a03922d5</id>
<content type='text'>
free the copy of the command-line.

Found using Clang's static analyzer.
</content>
</entry>
<entry>
<title>Issue #3367: NULL-terminate argv[] copies to prevent an invalid access</title>
<updated>2012-03-26T13:05:22Z</updated>
<author>
<name>Stefan Krah</name>
<email>skrah@bytereef.org</email>
</author>
<published>2012-03-26T13:05:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0f6ce8d9dfaaeca036a085ef8de252efa8a2beea'/>
<id>urn:sha1:0f6ce8d9dfaaeca036a085ef8de252efa8a2beea</id>
<content type='text'>
in sys_update_path().
</content>
</entry>
<entry>
<title>main() now displays an error message before exiting if a command line argument</title>
<updated>2011-12-16T22:48:31Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2011-12-16T22:48:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=94ba691ed34ffa1aff424876d6162b39a297e29e'/>
<id>urn:sha1:94ba691ed34ffa1aff424876d6162b39a297e29e</id>
<content type='text'>
cannot be decoded
</content>
</entry>
<entry>
<title>Issue #4388: On Mac OS X, decode command line arguments from UTF-8, instead of</title>
<updated>2010-10-20T22:58:25Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-20T22:58:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f933e1ab6fdea76973384e38ea95520de422c340'/>
<id>urn:sha1:f933e1ab6fdea76973384e38ea95520de422c340</id>
<content type='text'>
the locale encoding. If the LANG (and LC_ALL and LC_CTYPE) environment variable
is not set, the locale encoding is ISO-8859-1, whereas most programs (including
Python) expect UTF-8. Python already uses UTF-8 for the filesystem encoding and
to encode command line arguments on this OS.
</content>
</entry>
<entry>
<title>Add an optional size argument to _Py_char2wchar()</title>
<updated>2010-10-16T23:16:16Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-16T23:16:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=168e117e0a8825bc3ae0c08f0b08a33ac351a14f'/>
<id>urn:sha1:168e117e0a8825bc3ae0c08f0b08a33ac351a14f</id>
<content type='text'>
_Py_char2wchar() callers usually need the result size in characters. Since it's
trivial to compute it in _Py_char2wchar() (O(1) whereas wcslen() is O(n)), add
an option to get it.
</content>
</entry>
<entry>
<title>Revert r85435 (and r85440): decode command line arguments from utf-8</title>
<updated>2010-10-13T23:24:06Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-13T23:24:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=052a04d34a3841996af59962b038f05af63abacc'/>
<id>urn:sha1:052a04d34a3841996af59962b038f05af63abacc</id>
<content type='text'>
Python exits with a fatal error if the command line contains an undecodable
argument. PyUnicode_FromString() fails at the first undecodable byte because it
calls the error handler, but error handlers are not ready before Python
initialization.
</content>
</entry>
</feed>
