<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/getargs.c, branch v2.2a3</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/getargs.c?h=v2.2a3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/getargs.c?h=v2.2a3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-08-28T16:37:51Z</updated>
<entry>
<title>The "O!" format code should implement an isinstance() test</title>
<updated>2001-08-28T16:37:51Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-08-28T16:37:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cbfc855f57ab6ad7920857bba3a8e2475ef0fb33'/>
<id>urn:sha1:cbfc855f57ab6ad7920857bba3a8e2475ef0fb33</id>
<content type='text'>
rather than a type equality test.
</content>
</entry>
<entry>
<title>Patch #445762: Support --disable-unicode</title>
<updated>2001-08-17T18:39:25Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-08-17T18:39:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=339d0f720e86dc34837547c90d3003a4a68d7d46'/>
<id>urn:sha1:339d0f720e86dc34837547c90d3003a4a68d7d46</id>
<content type='text'>
- Do not compile unicodeobject, unicodectype, and unicodedata if Unicode is disabled
- check for Py_USING_UNICODE in all places that use Unicode functions
- disables unicode literals, and the builtin functions
- add the types.StringTypes list
- remove Unicode literals from most tests.
</content>
</entry>
<entry>
<title>Add _PyUnicode_AsDefaultEncodedString to unicodeobject.h.</title>
<updated>2001-07-30T22:34:24Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-07-30T22:34:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3ce45389bd929296863e26586fa6963ba307e6fb'/>
<id>urn:sha1:3ce45389bd929296863e26586fa6963ba307e6fb</id>
<content type='text'>
And remove all the extern decls in the middle of .c files.
Apparently, it was excluded from the header file because it is
intended for internal use by the interpreter.  It's still intended for
internal use and documented as such in the header file.
</content>
</entry>
<entry>
<title>Change cascaded if stmts to switch stmt in vgetargs1().</title>
<updated>2001-05-29T17:46:19Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-05-29T17:46:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=25916bdc11c7d96ada294a25cff3510ef72ddb75'/>
<id>urn:sha1:25916bdc11c7d96ada294a25cff3510ef72ddb75</id>
<content type='text'>
In the default branch, keep three ifs that are used if level == 0, the
most common case.  Note that first if here is a slight optimization
for the 'O' format.

Second part of SF patch 426072.
</content>
</entry>
<entry>
<title>Internal refactoring of convertsimple() and friends.</title>
<updated>2001-05-29T17:37:05Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-05-29T17:37:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1cb7aa3e6e0a7cf94938701ac1a027e1b5b25c1f'/>
<id>urn:sha1:1cb7aa3e6e0a7cf94938701ac1a027e1b5b25c1f</id>
<content type='text'>
Note that lots of code was re-indented.

Replace two-step of convertsimple() and convertsimple1() with
convertsimple() and helper converterr(), which is called to format
error messages when convertsimple() fails.  The old code did all the
real work in convertsimple1(), but deferred error message formatting
to conversimple().  The result was paying the price of a second
function call on every call just to format error messages in the
failure cases.

Factor out of the buffer-handling code in convertsimple() and package
it as convertbuffer().

Add two macros to ease readability of Unicode coversions,
UNICODE_DEFAULT_ENCODING() and CONV_UNICODE, an error string.

The convertsimple() routine had awful indentation problems, primarily
because there were two tabs between the case line and the body of the
case statements.  This patch reformats the entire function to have a
single tab between case line and case body, which makes the code
easier to read (and consistent with ceval).  The introduction of
converterr() exacerbated the problem and prompted this fix.

Also, eliminate non-standard whitespace after opening paren and before
closing paren in a few if statements.

(This checkin is part of SF patch 426072.)
</content>
</entry>
<entry>
<title>Fix whitespace botch.</title>
<updated>2001-05-18T21:03:40Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-05-18T21:03:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d657303910244aea88c192f5629d5fe9ea778a6d'/>
<id>urn:sha1:d657303910244aea88c192f5629d5fe9ea778a6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vgetargs1() and vgetargskeywords(): Replace uses of PyTuple_Size() and</title>
<updated>2001-05-18T20:57:38Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-05-18T20:57:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0f8117f14a98d697828b96ec1130105332f67dad'/>
<id>urn:sha1:0f8117f14a98d697828b96ec1130105332f67dad</id>
<content type='text'>
    PyTuple_GetItem() with PyTuple_GET_SIZE() and PyTuple_GET_ITEM().
    The code has already done a PyTuple_Check().
</content>
</entry>
<entry>
<title>Add support for Windows using "mbcs" as the default Unicode encoding when dealing with the file system.  As discussed on python-dev and in patch 410465.</title>
<updated>2001-05-13T08:04:26Z</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2001-05-13T08:04:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ef8b654bbea15dc55767a7095e01dff7a3ca86cb'/>
<id>urn:sha1:ef8b654bbea15dc55767a7095e01dff7a3ca86cb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added new parser markers 'et' and 'et#' which do not recode string</title>
<updated>2001-05-02T17:16:16Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2001-05-02T17:16:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6f15e5796e89163bd9b5be7a3f7334d17f2c50c1'/>
<id>urn:sha1:6f15e5796e89163bd9b5be7a3f7334d17f2c50c1</id>
<content type='text'>
objects but instead assume that they use the requested encoding.

This is needed on Windows to enable opening files by passing in
Unicode file names.
</content>
</entry>
<entry>
<title>Related to SF bug 132008 (PyList_Reverse blows up).</title>
<updated>2001-02-12T22:13:26Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-02-12T22:13:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5c4d5bfaf593587032e872c30e32ab129ca15462'/>
<id>urn:sha1:5c4d5bfaf593587032e872c30e32ab129ca15462</id>
<content type='text'>
_testcapimodule.c
    make sure PyList_Reverse doesn't blow up again
getargs.c
    assert args isn't NULL at the top of vgetargs1 instead of
    waiting for a NULL-pointer dereference at the end
</content>
</entry>
</feed>
