<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/main.c, branch v3.2b1</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/main.c?h=v3.2b1</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/main.c?h=v3.2b1'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2010-12-04T10:47:18Z</updated>
<entry>
<title>#1772833: add -q command line option.</title>
<updated>2010-12-04T10:47:18Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2010-12-04T10:47:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9d8711964f114b9f0f5ed8a9a1eccfba2a096030'/>
<id>urn:sha1:9d8711964f114b9f0f5ed8a9a1eccfba2a096030</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove redundant includes of headers that are already included by Python.h.</title>
<updated>2010-11-30T09:41:01Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2010-11-30T09:41:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e5b99f0fb306b80118849048b3d145c1a614c38b'/>
<id>urn:sha1:e5b99f0fb306b80118849048b3d145c1a614c38b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>PyUnicode_EncodeFS() raises an exception if _Py_wchar2char() fails</title>
<updated>2010-11-08T22:43:46Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-11-08T22:43:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2f02a511353c761bef2ab867ca4295bbb0217b96'/>
<id>urn:sha1:2f02a511353c761bef2ab867ca4295bbb0217b96</id>
<content type='text'>
 * Add error_pos optional argument to _Py_wchar2char()
 * PyUnicode_EncodeFS() raises a UnicodeEncodeError or MemoryError if
   _Py_wchar2char() fails
</content>
</entry>
<entry>
<title>Issue #10089: Add support for arbitrary -X options on the command-line.</title>
<updated>2010-10-21T13:42:28Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-10-21T13:42:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9583cac6337f9a5f2670fbe5e1f2e85aaad04522'/>
<id>urn:sha1:9583cac6337f9a5f2670fbe5e1f2e85aaad04522</id>
<content type='text'>
They can be retrieved through a new attribute `sys._xoptions`.
</content>
</entry>
<entry>
<title>run_file(): encode the filename with PyUnicode_EncodeFSDefault() instead of</title>
<updated>2010-10-17T19:34:51Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-17T19:34:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e0f32687152615b7266e66cbee216434fbbdd5bc'/>
<id>urn:sha1:e0f32687152615b7266e66cbee216434fbbdd5bc</id>
<content type='text'>
PyUnicode_AsUTF8String()
</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>Py_Main() uses _Py_wchar2char() to encode the filename in error messages</title>
<updated>2010-10-14T10:51:24Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-14T10:51:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9a6692f6d7784365ae07094694c754d2b153b719'/>
<id>urn:sha1:9a6692f6d7784365ae07094694c754d2b153b719</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #9992: Remove PYTHONFSENCODING environment variable.</title>
<updated>2010-10-13T22:02:27Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-13T22:02:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8f6b6b0cc3febd15e33a96bd31dcb3cbef2ad1ac'/>
<id>urn:sha1:8f6b6b0cc3febd15e33a96bd31dcb3cbef2ad1ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Create fileutils.c/.h</title>
<updated>2010-10-07T21:45:39Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-07T21:45:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4e31443c4d2c1fb211a6ea90fc6a8fbd9ff81c97'/>
<id>urn:sha1:4e31443c4d2c1fb211a6ea90fc6a8fbd9ff81c97</id>
<content type='text'>
 * _Py_fopen() and _Py_stat() come from Python/import.c
 * (_Py)_wrealpath() comes from Python/sysmodule.c
 * _Py_char2wchar(), _Py_wchar2char() and _Py_wfopen() come from Modules/main.c
 * (_Py)_wstat(), (_Py)_wgetcwd(), _Py_wreadlink() come from Modules/getpath.c
</content>
</entry>
<entry>
<title>Rewrite RunMainFromImporter()</title>
<updated>2010-10-06T23:24:57Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-06T23:24:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4726e40e00ad9c2e333c4dfc5005f410a520834c'/>
<id>urn:sha1:4726e40e00ad9c2e333c4dfc5005f410a520834c</id>
<content type='text'>
 * fix argv0 reference counter if PyList_SetItem() fails
 * don't use complex if conditions, but a simple indentation and "goto error"
 * simplify error handling (remove Py_XDECREF(importer) from the error label)
 * don't set sys_path to NULL (it's useless, sys_path is a borrowed reference
   and sys_path is not a static variable)
 * try to write only one instruction per line for better readability
</content>
</entry>
</feed>
