<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/codecs.c, branch 2.1</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/codecs.c?h=2.1</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/codecs.c?h=2.1'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2000-09-26T05:46:01Z</updated>
<entry>
<title>Rationalize use of limits.h, moving the inclusion to Python.h.</title>
<updated>2000-09-26T05:46:01Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2000-09-26T05:46:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d5fadf75e4d18df61db41205ace0cda28d98eeaa'/>
<id>urn:sha1:d5fadf75e4d18df61db41205ace0cda28d98eeaa</id>
<content type='text'>
Add definitions of INT_MAX and LONG_MAX to pyport.h.
Remove includes of limits.h and conditional definitions of INT_MAX
and LONG_MAX elsewhere.

This closes SourceForge patch #101659 and bug #115323.
</content>
</entry>
<entry>
<title>Changing the CNRI copyright notice according to CNRI's instructions.</title>
<updated>2000-08-03T16:24:25Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-08-03T16:24:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=16b1ad9c7d431975353c06ad952237281e743b39'/>
<id>urn:sha1:16b1ad9c7d431975353c06ad952237281e743b39</id>
<content type='text'>
This is a notice without a date, which apparently is not a claim to
copyright but only advice to the reader.  IANAL. :-)
</content>
</entry>
<entry>
<title>Mass ANSIfication of function definitions. Doesn't cover all 'extern'</title>
<updated>2000-07-22T18:47:25Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2000-07-22T18:47:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f70ef4f8606f99744252a804229d53a4d97601c1'/>
<id>urn:sha1:f70ef4f8606f99744252a804229d53a4d97601c1</id>
<content type='text'>
declarations yet, those come later.
</content>
</entry>
<entry>
<title>Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either</title>
<updated>2000-07-16T12:04:32Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2000-07-16T12:04:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7e47402264cf87b9bbb61fc9ff610af08add7c7b'/>
<id>urn:sha1:7e47402264cf87b9bbb61fc9ff610af08add7c7b</id>
<content type='text'>
comments, docstrings or error messages. I fixed two minor things in
test_winreg.py ("didn't" -&gt; "Didn't" and "Didnt" -&gt; "Didn't").

There is a minor style issue involved: Guido seems to have preferred English
grammar (behaviour, honour) in a couple places. This patch changes that to
American, which is the more prominent style in the source. I prefer English
myself, so if English is preferred, I'd be happy to supply a patch myself ;)
</content>
</entry>
<entry>
<title>Include limits.h if we have it.</title>
<updated>2000-07-03T21:39:47Z</updated>
<author>
<name>Jack Jansen</name>
<email>jack.jansen@cwi.nl</email>
</author>
<published>2000-07-03T21:39:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=41aa8e523d1f81dc4b4d529dd01c59aef350eada'/>
<id>urn:sha1:41aa8e523d1f81dc4b4d529dd01c59aef350eada</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change the loop index in normalizestring() to size_t too, to avoid a</title>
<updated>2000-06-29T14:50:15Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-06-29T14:50:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=338311378e4e8b8f4efcdb2232e67d98b446a5e0'/>
<id>urn:sha1:338311378e4e8b8f4efcdb2232e67d98b446a5e0</id>
<content type='text'>
warning on Windows.
</content>
</entry>
<entry>
<title>Trent Mick's Win64 changes: size_t vs. int or long; also some overflow</title>
<updated>2000-06-28T22:07:35Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-06-28T22:07:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=582acece2e0db447904b3f8f8f1d2acf36834158'/>
<id>urn:sha1:582acece2e0db447904b3f8f8f1d2acf36834158</id>
<content type='text'>
tests.
</content>
</entry>
<entry>
<title>M.-A. Lemburg &lt;mal@lemburg.com&gt;:</title>
<updated>2000-05-09T19:55:59Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2000-05-09T19:55:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=766de83ab1b4752e9322b2b915d5aaf881b0ed9f'/>
<id>urn:sha1:766de83ab1b4752e9322b2b915d5aaf881b0ed9f</id>
<content type='text'>
Moved some docs to the include file.

Added a NULL check to _PyCodec_Lookup() to make it
core dump safe.
</content>
</entry>
<entry>
<title>Marc-Andre's third try at this bulk patch seems to work (except that</title>
<updated>2000-04-05T20:11:21Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-04-05T20:11:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9e896b37c7a554250d7d832566cc4fe7d30d034c'/>
<id>urn:sha1:9e896b37c7a554250d7d832566cc4fe7d30d034c</id>
<content type='text'>
his copy of test_contains.py seems to be broken -- the lines he
deleted were already absent).  Checkin messages:


New Unicode support for int(), float(), complex() and long().

- new APIs PyInt_FromUnicode() and PyLong_FromUnicode()
- added support for Unicode to PyFloat_FromString()
- new encoding API PyUnicode_EncodeDecimal() which converts
  Unicode to a decimal char* string (used in the above new
  APIs)
- shortcuts for calls like int(&lt;int object&gt;) and float(&lt;float obj&gt;)
- tests for all of the above

Unicode compares and contains checks:
- comparing Unicode and non-string types now works; TypeErrors
  are masked, all other errors such as ValueError during
  Unicode coercion are passed through (note that PyUnicode_Compare
  does not implement the masking -- PyObject_Compare does this)
- contains now works for non-string types too; TypeErrors are
  masked and 0 returned; all other errors are passed through

Better testing support for the standard codecs.

Misc minor enhancements, such as an alias dbcs for the mbcs codec.

Changes:
- PyLong_FromString() now applies the same error checks as
  does PyInt_FromString(): trailing garbage is reported
  as error and not longer silently ignored. The only characters
  which may be trailing the digits are 'L' and 'l' -- these
  are still silently ignored.
- string.ato?() now directly interface to int(), long() and
  float(). The error strings are now a little different, but
  the type still remains the same. These functions are now
  ready to get declared obsolete ;-)
- PyNumber_Int() now also does a check for embedded NULL chars
  in the input string; PyNumber_Long() already did this (and
  still does)

Followed by:

Looks like I've gone a step too far there... (and test_contains.py
seem to have a bug too).

I've changed back to reporting all errors in PyUnicode_Contains()
and added a few more test cases to test_contains.py (plus corrected
the join() NameError).
</content>
</entry>
<entry>
<title>Marc-Andre Lemburg: Error reporting in the codec registry and lookup</title>
<updated>2000-03-31T17:25:23Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-03-31T17:25:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b95de4f847c04f2b82f75e27e477afd229a189b1'/>
<id>urn:sha1:b95de4f847c04f2b82f75e27e477afd229a189b1</id>
<content type='text'>
mechanism is enhanced to be more informative.
</content>
</entry>
</feed>
