]>
granicus.if.org Git - python/log
Georg Brandl [Tue, 4 Sep 2007 08:11:03 +0000 (08:11 +0000)]
Initial documentation for the `abc` module.
Georg Brandl [Tue, 4 Sep 2007 07:27:54 +0000 (07:27 +0000)]
Fix the string formatting docs for now; if the feature is changed again, the docs can be changed too.
Georg Brandl [Tue, 4 Sep 2007 07:23:09 +0000 (07:23 +0000)]
Fix up the types module docs.
Georg Brandl [Tue, 4 Sep 2007 07:15:32 +0000 (07:15 +0000)]
Convert all print statements in the docs.
Georg Brandl [Tue, 4 Sep 2007 07:07:56 +0000 (07:07 +0000)]
Add "print" command to pdb, "print s" previously invoked the print statement.
Georg Brandl [Tue, 4 Sep 2007 06:35:14 +0000 (06:35 +0000)]
Doc update for __xslice__ removal.
Martin v. Löwis [Tue, 4 Sep 2007 05:24:49 +0000 (05:24 +0000)]
Decode input() with stdin.encoding. Fixes #1097.
Skip Montanaro [Tue, 4 Sep 2007 02:52:00 +0000 (02:52 +0000)]
CVS -> Subversion
Skip Montanaro [Tue, 4 Sep 2007 02:48:01 +0000 (02:48 +0000)]
I always think of the language when I see "ABC". Emphasize the meaning of
the acronym.
Guido van Rossum [Tue, 4 Sep 2007 02:40:38 +0000 (02:40 +0000)]
Fix sinple typo.
Matthias Klose [Mon, 3 Sep 2007 23:44:29 +0000 (23:44 +0000)]
- Add support for linking the bsddb module against BerkeleyDB 4.6.x.
Gregory P. Smith [Mon, 3 Sep 2007 16:48:32 +0000 (16:48 +0000)]
fix test, use bytes not unicode and let the test raise its internal exception
rather than just complaining about stderr not being what we expected masking
the true problem.
Gregory P. Smith [Mon, 3 Sep 2007 16:44:55 +0000 (16:44 +0000)]
regenerated
Gregory P. Smith [Mon, 3 Sep 2007 16:44:06 +0000 (16:44 +0000)]
test for strlcpy (so i can use it in _bsddb.c)
Eric Smith [Mon, 3 Sep 2007 08:40:29 +0000 (08:40 +0000)]
Fix segfault discovered by Ron Adam. Not checking for terminating right bracket in "'{0[}'.format(())". Fixed, and tests added.
Martin v. Löwis [Mon, 3 Sep 2007 07:43:05 +0000 (07:43 +0000)]
Patch #1076: Use wide API for registry functions.
Martin v. Löwis [Mon, 3 Sep 2007 07:40:24 +0000 (07:40 +0000)]
Patch #1075: Use wide API to format error messages.
Georg Brandl [Mon, 3 Sep 2007 07:27:49 +0000 (07:27 +0000)]
Fix Mac build, patch #1091 by Humberto Diogenes.
Georg Brandl [Mon, 3 Sep 2007 07:10:24 +0000 (07:10 +0000)]
Tutorial formatting patch by Robin Stocker.
Eric Smith [Sun, 2 Sep 2007 15:33:26 +0000 (15:33 +0000)]
Removed used_args param from string.Formatter.get_field. It was left in by mistake from an earlier edit.
Collin Winter [Sat, 1 Sep 2007 23:34:30 +0000 (23:34 +0000)]
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.
Collin Winter [Sat, 1 Sep 2007 20:37:22 +0000 (20:37 +0000)]
Run 2to3's fix_has_key over distutils.
Collin Winter [Sat, 1 Sep 2007 20:35:04 +0000 (20:35 +0000)]
Run 2to3's fix_has_key over Lib/plat-os2emx/.
Collin Winter [Sat, 1 Sep 2007 20:29:04 +0000 (20:29 +0000)]
Fix refleaks in test_with caused by reusing the same exception instance over and over.
Collin Winter [Sat, 1 Sep 2007 20:27:58 +0000 (20:27 +0000)]
Fix a poorly-translated raise statement in contextlib.
Collin Winter [Sat, 1 Sep 2007 20:26:44 +0000 (20:26 +0000)]
Fix refleaks exposed by test_raise.
Kurt B. Kaiser [Sat, 1 Sep 2007 19:47:39 +0000 (19:47 +0000)]
Saving a file containing unicode failed.
Andrew M. Kuchling [Sat, 1 Sep 2007 19:26:28 +0000 (19:26 +0000)]
I'm not actually an author
Georg Brandl [Sat, 1 Sep 2007 16:19:25 +0000 (16:19 +0000)]
Document PyCFunctionWithKeywords, add comment for PEP 3123.
Georg Brandl [Sat, 1 Sep 2007 15:49:30 +0000 (15:49 +0000)]
Document sets' "<" and ">" operations.
Georg Brandl [Sat, 1 Sep 2007 15:27:35 +0000 (15:27 +0000)]
Use symbolic name for METH_VARARGS.
Georg Brandl [Sat, 1 Sep 2007 15:25:27 +0000 (15:25 +0000)]
Use symbolic name for METH_VARAGS.
Georg Brandl [Sat, 1 Sep 2007 13:59:50 +0000 (13:59 +0000)]
Get rid of METH_OLDARGS.
Georg Brandl [Sat, 1 Sep 2007 13:51:09 +0000 (13:51 +0000)]
Get rid of the remaining versionadded/versionchanged directives.
Georg Brandl [Sat, 1 Sep 2007 12:38:06 +0000 (12:38 +0000)]
Remove versionadded/versionchanged in the reference.
Georg Brandl [Sat, 1 Sep 2007 12:33:24 +0000 (12:33 +0000)]
Remove versionadded and versionchanged directives, fold information into text where necessary.
Georg Brandl [Sat, 1 Sep 2007 12:08:51 +0000 (12:08 +0000)]
Add a warning text about mixing bytes and strings.
Eric Smith [Sat, 1 Sep 2007 10:56:01 +0000 (10:56 +0000)]
Changed to use 'U' argument to PyArg_ParseTuple, instead of manually checking for unicode objects.
Georg Brandl [Sat, 1 Sep 2007 07:34:27 +0000 (07:34 +0000)]
Fix RST link.
Georg Brandl [Sat, 1 Sep 2007 07:27:37 +0000 (07:27 +0000)]
Bug #1074: make python-config with Py3k.
Martin v. Löwis [Sat, 1 Sep 2007 06:36:49 +0000 (06:36 +0000)]
Bug #
1737210 : Change Manufacturer of Windows installer to PSF.
Kurt B. Kaiser [Fri, 31 Aug 2007 21:42:36 +0000 (21:42 +0000)]
Eliminate latin-1 encoding
Kurt B. Kaiser [Fri, 31 Aug 2007 21:40:34 +0000 (21:40 +0000)]
Point IDLE menu Help / Python Docs at Python 3000 version
Eric Smith [Fri, 31 Aug 2007 18:39:38 +0000 (18:39 +0000)]
Removed unicode_format and unicode__format__, they just called through to other functions.
Kurt B. Kaiser [Fri, 31 Aug 2007 18:37:07 +0000 (18:37 +0000)]
Convert IDLE's CREDITS file to unicode.
Guido van Rossum [Fri, 31 Aug 2007 17:25:37 +0000 (17:25 +0000)]
Updated tracker link.
Georg Brandl [Fri, 31 Aug 2007 17:17:17 +0000 (17:17 +0000)]
Address a few XXX comments, other fixes.
Georg Brandl [Fri, 31 Aug 2007 16:41:12 +0000 (16:41 +0000)]
Add bytes/remove unicode from the data model.
Georg Brandl [Fri, 31 Aug 2007 16:33:38 +0000 (16:33 +0000)]
- 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
Guido van Rossum [Fri, 31 Aug 2007 15:07:53 +0000 (15:07 +0000)]
Tagging for release of Python 3.0a1.
Guido van Rossum [Fri, 31 Aug 2007 14:18:20 +0000 (14:18 +0000)]
Got test_plistlib working. Don't ask how.
Guido van Rossum [Fri, 31 Aug 2007 14:07:27 +0000 (14:07 +0000)]
Fix fall-out of str.decode removal.
Guido van Rossum [Fri, 31 Aug 2007 14:03:28 +0000 (14:03 +0000)]
Neal sent real performance numbers. :-(
Guido van Rossum [Fri, 31 Aug 2007 13:48:41 +0000 (13:48 +0000)]
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.
Thomas Heller [Fri, 31 Aug 2007 13:06:44 +0000 (13:06 +0000)]
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.
Barry Warsaw [Fri, 31 Aug 2007 11:19:21 +0000 (11:19 +0000)]
Restore test_email for a1. It passes completely.
Martin v. Löwis [Fri, 31 Aug 2007 11:17:42 +0000 (11:17 +0000)]
Explicitly convert err->text to Unicode. Fixes #1069.
Martin v. Löwis [Fri, 31 Aug 2007 11:01:23 +0000 (11:01 +0000)]
Change %s argument for PyUnicode_FromFormat to
be UTF-8. Fixes #1070.
Barry Warsaw [Fri, 31 Aug 2007 10:55:37 +0000 (10:55 +0000)]
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.
Georg Brandl [Fri, 31 Aug 2007 10:37:15 +0000 (10:37 +0000)]
string.maketrans() now produces translation tables for bytes.translate() -- wrong module?
Fix all remaining instances that did bad things with the new str.translate().
Georg Brandl [Fri, 31 Aug 2007 10:15:37 +0000 (10:15 +0000)]
Add bytes methods documentation.
Martin v. Löwis [Fri, 31 Aug 2007 09:59:29 +0000 (09:59 +0000)]
Mark registry components as 64-bit on Win64.
Thomas Heller [Fri, 31 Aug 2007 09:54:51 +0000 (09:54 +0000)]
Fix a buggy test. str8 objects contained NUL-terminated strings,
bytes objects don't.
Georg Brandl [Fri, 31 Aug 2007 09:22:56 +0000 (09:22 +0000)]
Commit #1068: new docs for PEP 3101. Also document the old string formatting as "old", and begin documenting str/unicode unification.
Thomas Heller [Fri, 31 Aug 2007 08:56:50 +0000 (08:56 +0000)]
round(1e20) wrongly returned 0.
This fixes test_builtin on windows.
(bug was introduced by the merge of the int/long unification branch,
rev 53421)
Georg Brandl [Fri, 31 Aug 2007 08:07:45 +0000 (08:07 +0000)]
Update the first two parts of the reference manual for Py3k,
mainly concerning PEPs 3131 and 3120.
Martin v. Löwis [Fri, 31 Aug 2007 07:58:36 +0000 (07:58 +0000)]
Revert 57722. Move error dialog APIs to msvcrt instead,
add -n option to regrtest, and use it on the buildbot.
Georg Brandl [Fri, 31 Aug 2007 07:58:27 +0000 (07:58 +0000)]
Regenerate Lib/symbol.py.
Georg Brandl [Fri, 31 Aug 2007 06:46:05 +0000 (06:46 +0000)]
Fix unicode issue in tutorial.
Thomas Heller [Fri, 31 Aug 2007 06:45:04 +0000 (06:45 +0000)]
Fix test_startfile and remove duplicated test.
Thomas Heller [Fri, 31 Aug 2007 06:44:36 +0000 (06:44 +0000)]
Insert "startfile" into posix_methods again; it was accidentially
removed in rev 55543.
Georg Brandl [Fri, 31 Aug 2007 06:20:46 +0000 (06:20 +0000)]
Fix sphinx-build so that it runs with 2.x and 3.x but refuses to start with 3.x.
Georg Brandl [Fri, 31 Aug 2007 06:15:01 +0000 (06:15 +0000)]
Correct a few typos.
Neal Norwitz [Fri, 31 Aug 2007 05:32:33 +0000 (05:32 +0000)]
Ugh, hopefully I can get this right. The code is only compiled on Win64
Neal Norwitz [Fri, 31 Aug 2007 05:20:36 +0000 (05:20 +0000)]
Try to fix the problem of passing a non-int on Win64 right this time.
Neal Norwitz [Fri, 31 Aug 2007 04:32:55 +0000 (04:32 +0000)]
Remove checking redundantly for checks of PyInt and PyLong.
Neal Norwitz [Fri, 31 Aug 2007 04:31:47 +0000 (04:31 +0000)]
Try to fix a problem with large values on Win64. Diagnosed by Thomas Heller
Guido van Rossum [Fri, 31 Aug 2007 04:25:05 +0000 (04:25 +0000)]
Force test_mailbox and test_old_mailbox into submission.
(a) Several tests in test_mailbox were failing because we were writing
text to a file opened in binary mode. Switching to text fixed these.
(b) test_unix_mbox() in each test does a wacko comparison which apparently
no longer works due to a different way the message gets parsed.
I disabled this, I don't think the test was testing what it thought
it was testing.
Neal Norwitz [Fri, 31 Aug 2007 04:17:51 +0000 (04:17 +0000)]
Remove chr8, we're not likely to need it at this point
Kurt B. Kaiser [Fri, 31 Aug 2007 04:15:13 +0000 (04:15 +0000)]
1. Don't encode input strings to bytes.
2. Re-enable stderr redirection.
Neal Norwitz [Fri, 31 Aug 2007 04:10:28 +0000 (04:10 +0000)]
Thomas removed all the SLICE op codes
Guido van Rossum [Fri, 31 Aug 2007 04:03:25 +0000 (04:03 +0000)]
Customary 2nd submit of this file after it's been changed.
Neal Norwitz [Fri, 31 Aug 2007 03:46:28 +0000 (03:46 +0000)]
A few more fixes to the tutorial
Barry Warsaw [Fri, 31 Aug 2007 03:26:19 +0000 (03:26 +0000)]
More email package fixes.
Fix a couple of tests since .body_encode()'s arguments have changed. Also, I
think body_encode() should take a string not a byte array for consistency with
the rest of the api (but I'm not positive about this). In
quoprimime.body_encode(), body_check() must be passed an int.
Current status: 7F (no errors!)
Guido van Rossum [Fri, 31 Aug 2007 03:25:11 +0000 (03:25 +0000)]
Tutorial update for 3.0 by Paul Dubois.
I had to fix a few markup issues in controlflow.rst and modules.rst.
There's a unicode issue on line 448 in introduction.rst that someone else needs to fix.
Barry Warsaw [Fri, 31 Aug 2007 03:04:26 +0000 (03:04 +0000)]
More email package fixes.
MIMEApplication() requires a bytes object for its _data, so fix the tests.
We no longer need utils._identity() or utils._bdecode(). The former isn't
used anywhere AFAICT (where's "make test's" lint? <wink>) and the latter is a
kludge that is eliminated by base64.b64encode().
Current status: 5F/5E
Barry Warsaw [Fri, 31 Aug 2007 02:35:00 +0000 (02:35 +0000)]
More email package fixes.
This repairs the linear whitespace insertion between RFC 2047 encoded words
without leaving bogus trailing spaces at the end lines that end in encoded
words.
Current status: 7F/9E
Eric Smith [Fri, 31 Aug 2007 02:26:31 +0000 (02:26 +0000)]
Changed signature of string.Formatter.get_field, per suggestion by
Ron Adam.
Added test case for using all parameters in string.Formatter.
Eric Smith [Fri, 31 Aug 2007 01:33:06 +0000 (01:33 +0000)]
Fixed test name.
Eric Smith [Fri, 31 Aug 2007 01:14:01 +0000 (01:14 +0000)]
Added test cases for string.Formatter subclassing.
Made format_spec parameter to builtin format optional, defaults to
empty string. Added test cases.
Collin Winter [Fri, 31 Aug 2007 00:59:38 +0000 (00:59 +0000)]
Fix a compile error on Windows.
Collin Winter [Fri, 31 Aug 2007 00:47:26 +0000 (00:47 +0000)]
Cut test_raise down to size.
Collin Winter [Fri, 31 Aug 2007 00:42:15 +0000 (00:42 +0000)]
Update import.c's MAGIC value for the new raise syntax (as opposed to merely updating the comment).
Guido van Rossum [Fri, 31 Aug 2007 00:38:53 +0000 (00:38 +0000)]
Minor tweaks.
Guido van Rossum [Fri, 31 Aug 2007 00:37:00 +0000 (00:37 +0000)]
First draft of a what's new document.
(There's something wrong with my network right now so I can't build it.)
Guido van Rossum [Fri, 31 Aug 2007 00:27:03 +0000 (00:27 +0000)]
Use pow() instead of repeated multiplication by 10 in round(x, n).
Thomas Wouters [Fri, 31 Aug 2007 00:20:14 +0000 (00:20 +0000)]
Fix test_smtplib by munging asynchat some more.
Collin Winter [Fri, 31 Aug 2007 00:04:24 +0000 (00:04 +0000)]
Issue #1066: implement PEP 3109, 2/3 of PEP 3134.
Guido van Rossum [Thu, 30 Aug 2007 23:34:01 +0000 (23:34 +0000)]
Remove curses temp file consistently.
Thomas Wouters [Thu, 30 Aug 2007 22:57:53 +0000 (22:57 +0000)]
Remove the simple slicing API. All slicing is now done with slice objects.