Commit Graph

35225 Commits

Author SHA1 Message Date
Gregory P. Smith 6c3572673d test for strlcpy (so i can use it in _bsddb.c) 2007-09-03 16:44:06 +00:00
Eric Smith 4cb4e4e882 Fix segfault discovered by Ron Adam. Not checking for terminating right bracket in "'{0[}'.format(())". Fixed, and tests added. 2007-09-03 08:40:29 +00:00
Martin v. Löwis f82d9b52fa Patch #1076: Use wide API for registry functions. 2007-09-03 07:43:05 +00:00
Martin v. Löwis 5d12abe0b1 Patch #1075: Use wide API to format error messages. 2007-09-03 07:40:24 +00:00
Georg Brandl c76473d887 Fix Mac build, patch #1091 by Humberto Diogenes. 2007-09-03 07:27:49 +00:00
Georg Brandl e4ac7504c9 Tutorial formatting patch by Robin Stocker. 2007-09-03 07:10:24 +00:00
Eric Smith 9d4ba3970f Removed used_args param from string.Formatter.get_field. It was left in by mistake from an earlier edit. 2007-09-02 15:33:26 +00:00
Collin Winter c79461b164 Partial py3k-ification of Doc/library/: convert has_key references into either 'k in d' or __contains__; normalize raise statements; convert print statements into print function calls. 2007-09-01 23:34:30 +00:00
Collin Winter 2ac0121305 Run 2to3's fix_has_key over distutils. 2007-09-01 20:37:22 +00:00
Collin Winter 0470689215 Run 2to3's fix_has_key over Lib/plat-os2emx/. 2007-09-01 20:35:04 +00:00
Collin Winter ba21f618a3 Fix refleaks in test_with caused by reusing the same exception instance over and over. 2007-09-01 20:29:04 +00:00
Collin Winter c59dacdbd8 Fix a poorly-translated raise statement in contextlib. 2007-09-01 20:27:58 +00:00
Collin Winter 1966f1c98f Fix refleaks exposed by test_raise. 2007-09-01 20:26:44 +00:00
Kurt B. Kaiser 1963ad3126 Saving a file containing unicode failed. 2007-09-01 19:47:39 +00:00
Andrew M. Kuchling bbb809ee6f I'm not actually an author 2007-09-01 19:26:28 +00:00
Georg Brandl b355304ea4 Document PyCFunctionWithKeywords, add comment for PEP 3123. 2007-09-01 16:19:25 +00:00
Georg Brandl a6f52786b7 Document sets' "<" and ">" operations. 2007-09-01 15:49:30 +00:00
Georg Brandl fb5d3675f8 Use symbolic name for METH_VARARGS. 2007-09-01 15:27:35 +00:00
Georg Brandl 34cb852611 Use symbolic name for METH_VARAGS. 2007-09-01 15:25:27 +00:00
Georg Brandl f2fc934a77 Get rid of METH_OLDARGS. 2007-09-01 13:59:50 +00:00
Georg Brandl 55ac8f0f26 Get rid of the remaining versionadded/versionchanged directives. 2007-09-01 13:51:09 +00:00
Georg Brandl 1617457cff Remove versionadded/versionchanged in the reference. 2007-09-01 12:38:06 +00:00
Georg Brandl 321976b6e7 Remove versionadded and versionchanged directives, fold information into text where necessary. 2007-09-01 12:33:24 +00:00
Georg Brandl 2326a79de1 Add a warning text about mixing bytes and strings. 2007-09-01 12:08:51 +00:00
Eric Smith 37f10386f1 Changed to use 'U' argument to PyArg_ParseTuple, instead of manually checking for unicode objects. 2007-09-01 10:56:01 +00:00
Georg Brandl a95207ab3b Fix RST link. 2007-09-01 07:34:27 +00:00
Georg Brandl 7046e976c0 Bug #1074: make python-config with Py3k. 2007-09-01 07:27:37 +00:00
Martin v. Löwis 39afe1e649 Bug #1737210: Change Manufacturer of Windows installer to PSF. 2007-09-01 06:36:49 +00:00
Kurt B. Kaiser 804252b3d9 Eliminate latin-1 encoding 2007-08-31 21:42:36 +00:00
Kurt B. Kaiser d953f6e2c7 Point IDLE menu Help / Python Docs at Python 3000 version 2007-08-31 21:40:34 +00:00
Eric Smith 9cd1e09deb Removed unicode_format and unicode__format__, they just called through to other functions. 2007-08-31 18:39:38 +00:00
Kurt B. Kaiser 610cee3e86 Convert IDLE's CREDITS file to unicode. 2007-08-31 18:37:07 +00:00
Guido van Rossum 27b02407b7 Updated tracker link. 2007-08-31 17:25:37 +00:00
Georg Brandl 81ac1ce56a Address a few XXX comments, other fixes. 2007-08-31 17:17:17 +00:00
Georg Brandl dcc56f8bf6 Add bytes/remove unicode from the data model. 2007-08-31 16:41:12 +00:00
Georg Brandl 85eb8c103c - document bytes()
- throw out many mentions of "old-style/new-style"
- add memoryview() though I somebody has to fill in the details
- throw out str.decode()
- throw out classobj and instanceobj
2007-08-31 16:33:38 +00:00
Guido van Rossum 3540ef16c1 Tagging for release of Python 3.0a1. 2007-08-31 15:07:53 +00:00
Guido van Rossum ba25c89919 Got test_plistlib working. Don't ask how. 2007-08-31 14:18:20 +00:00
Guido van Rossum 261f9df18d Fix fall-out of str.decode removal. 2007-08-31 14:07:27 +00:00
Guido van Rossum b3922cb086 Neal sent real performance numbers. :-( 2007-08-31 14:03:28 +00:00
Guido van Rossum 06b8b02711 Per Georg's suggestion, get rid of str.decode() (which always raises an
exception) and change bytes.find() to use _getbuffer(), so b"".find("")
will raise TypeError instead of SystemError.
2007-08-31 13:48:41 +00:00
Thomas Heller 674e9389e9 Add a workaround for a strange bug on win64, when _ctypes is compiled
with the SDK compiler.  This should fix the failing
Lib\ctypes\test\test_as_parameter.py test.
2007-08-31 13:06:44 +00:00
Barry Warsaw c5a6a3078b Restore test_email for a1. It passes completely. 2007-08-31 11:19:21 +00:00
Martin v. Löwis 5deb2101df Explicitly convert err->text to Unicode. Fixes #1069. 2007-08-31 11:17:42 +00:00
Martin v. Löwis 90d1fcd101 Change %s argument for PyUnicode_FromFormat to
be UTF-8. Fixes #1070.
2007-08-31 11:01:23 +00:00
Barry Warsaw bef9d21d14 Make test_email.py completely pass. This is cheating though because the two
line splitting examples don't split things the way they used to -- or should.
In these cases, change the test case and add an XXX.

The final failure was in Charset.body_encode() with euc-jp charset.  These
return the original string unencoded, which isn't right.  XXX and comment this
out for now; we'll fix it after a1.
2007-08-31 10:55:37 +00:00
Georg Brandl 7f13e6b3e2 string.maketrans() now produces translation tables for bytes.translate() -- wrong module?
Fix all remaining instances that did bad things with the new str.translate().
2007-08-31 10:37:15 +00:00
Georg Brandl 226878cba5 Add bytes methods documentation. 2007-08-31 10:15:37 +00:00
Martin v. Löwis 283e35f606 Mark registry components as 64-bit on Win64. 2007-08-31 09:59:29 +00:00
Thomas Heller 680d7befc0 Fix a buggy test. str8 objects contained NUL-terminated strings,
bytes objects don't.
2007-08-31 09:54:51 +00:00