]> granicus.if.org Git - python/log
python
17 years agoInitial documentation for the `abc` module.
Georg Brandl [Tue, 4 Sep 2007 08:11:03 +0000 (08:11 +0000)]
Initial documentation for the `abc` module.

17 years agoFix the string formatting docs for now; if the feature is changed again, the docs...
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.

17 years agoFix up the types module docs.
Georg Brandl [Tue, 4 Sep 2007 07:23:09 +0000 (07:23 +0000)]
Fix up the types module docs.

17 years agoConvert all print statements in the docs.
Georg Brandl [Tue, 4 Sep 2007 07:15:32 +0000 (07:15 +0000)]
Convert all print statements in the docs.

17 years agoAdd "print" command to pdb, "print s" previously invoked the print statement.
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.

17 years agoDoc update for __xslice__ removal.
Georg Brandl [Tue, 4 Sep 2007 06:35:14 +0000 (06:35 +0000)]
Doc update for __xslice__ removal.

17 years agoDecode input() with stdin.encoding. Fixes #1097.
Martin v. Löwis [Tue, 4 Sep 2007 05:24:49 +0000 (05:24 +0000)]
Decode input() with stdin.encoding. Fixes #1097.

17 years agoCVS -> Subversion
Skip Montanaro [Tue, 4 Sep 2007 02:52:00 +0000 (02:52 +0000)]
CVS -> Subversion

17 years agoI always think of the language when I see "ABC". Emphasize the meaning of
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.

17 years agoFix sinple typo.
Guido van Rossum [Tue, 4 Sep 2007 02:40:38 +0000 (02:40 +0000)]
Fix sinple typo.

17 years ago- Add support for linking the bsddb module against BerkeleyDB 4.6.x.
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.

17 years agofix test, use bytes not unicode and let the test raise its internal exception
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.

17 years agoregenerated
Gregory P. Smith [Mon, 3 Sep 2007 16:44:55 +0000 (16:44 +0000)]
regenerated

17 years agotest for strlcpy (so i can use it in _bsddb.c)
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)

17 years agoFix segfault discovered by Ron Adam. Not checking for terminating right bracket...
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.

17 years agoPatch #1076: Use wide API for registry functions.
Martin v. Löwis [Mon, 3 Sep 2007 07:43:05 +0000 (07:43 +0000)]
Patch #1076: Use wide API for registry functions.

17 years agoPatch #1075: Use wide API to format error messages.
Martin v. Löwis [Mon, 3 Sep 2007 07:40:24 +0000 (07:40 +0000)]
Patch #1075: Use wide API to format error messages.

17 years agoFix Mac build, patch #1091 by Humberto Diogenes.
Georg Brandl [Mon, 3 Sep 2007 07:27:49 +0000 (07:27 +0000)]
Fix Mac build, patch #1091 by Humberto Diogenes.

17 years agoTutorial formatting patch by Robin Stocker.
Georg Brandl [Mon, 3 Sep 2007 07:10:24 +0000 (07:10 +0000)]
Tutorial formatting patch by Robin Stocker.

17 years agoRemoved used_args param from string.Formatter.get_field. It was left in by mistake...
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.

17 years agoPartial py3k-ification of Doc/library/: convert has_key references into either 'k...
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.

17 years agoRun 2to3's fix_has_key over distutils.
Collin Winter [Sat, 1 Sep 2007 20:37:22 +0000 (20:37 +0000)]
Run 2to3's fix_has_key over distutils.

17 years agoRun 2to3's fix_has_key over Lib/plat-os2emx/.
Collin Winter [Sat, 1 Sep 2007 20:35:04 +0000 (20:35 +0000)]
Run 2to3's fix_has_key over Lib/plat-os2emx/.

17 years agoFix refleaks in test_with caused by reusing the same exception instance over and...
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.

17 years agoFix a poorly-translated raise statement in contextlib.
Collin Winter [Sat, 1 Sep 2007 20:27:58 +0000 (20:27 +0000)]
Fix a poorly-translated raise statement in contextlib.

17 years agoFix refleaks exposed by test_raise.
Collin Winter [Sat, 1 Sep 2007 20:26:44 +0000 (20:26 +0000)]
Fix refleaks exposed by test_raise.

17 years agoSaving a file containing unicode failed.
Kurt B. Kaiser [Sat, 1 Sep 2007 19:47:39 +0000 (19:47 +0000)]
Saving a file containing unicode failed.

17 years agoI'm not actually an author
Andrew M. Kuchling [Sat, 1 Sep 2007 19:26:28 +0000 (19:26 +0000)]
I'm not actually an author

17 years agoDocument PyCFunctionWithKeywords, add comment for PEP 3123.
Georg Brandl [Sat, 1 Sep 2007 16:19:25 +0000 (16:19 +0000)]
Document PyCFunctionWithKeywords, add comment for PEP 3123.

17 years agoDocument sets' "<" and ">" operations.
Georg Brandl [Sat, 1 Sep 2007 15:49:30 +0000 (15:49 +0000)]
Document sets' "<" and ">" operations.

17 years agoUse symbolic name for METH_VARARGS.
Georg Brandl [Sat, 1 Sep 2007 15:27:35 +0000 (15:27 +0000)]
Use symbolic name for METH_VARARGS.

17 years agoUse symbolic name for METH_VARAGS.
Georg Brandl [Sat, 1 Sep 2007 15:25:27 +0000 (15:25 +0000)]
Use symbolic name for METH_VARAGS.

17 years agoGet rid of METH_OLDARGS.
Georg Brandl [Sat, 1 Sep 2007 13:59:50 +0000 (13:59 +0000)]
Get rid of METH_OLDARGS.

17 years agoGet rid of the remaining versionadded/versionchanged directives.
Georg Brandl [Sat, 1 Sep 2007 13:51:09 +0000 (13:51 +0000)]
Get rid of the remaining versionadded/versionchanged directives.

17 years agoRemove versionadded/versionchanged in the reference.
Georg Brandl [Sat, 1 Sep 2007 12:38:06 +0000 (12:38 +0000)]
Remove versionadded/versionchanged in the reference.

17 years agoRemove versionadded and versionchanged directives, fold information into text where...
Georg Brandl [Sat, 1 Sep 2007 12:33:24 +0000 (12:33 +0000)]
Remove versionadded and versionchanged directives, fold information into text where necessary.

17 years agoAdd a warning text about mixing bytes and strings.
Georg Brandl [Sat, 1 Sep 2007 12:08:51 +0000 (12:08 +0000)]
Add a warning text about mixing bytes and strings.

17 years agoChanged to use 'U' argument to PyArg_ParseTuple, instead of manually checking for...
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.

17 years agoFix RST link.
Georg Brandl [Sat, 1 Sep 2007 07:34:27 +0000 (07:34 +0000)]
Fix RST link.

17 years agoBug #1074: make python-config with Py3k.
Georg Brandl [Sat, 1 Sep 2007 07:27:37 +0000 (07:27 +0000)]
Bug #1074: make python-config with Py3k.

17 years agoBug #1737210: Change Manufacturer of Windows installer to PSF.
Martin v. Löwis [Sat, 1 Sep 2007 06:36:49 +0000 (06:36 +0000)]
Bug #1737210: Change Manufacturer of Windows installer to PSF.

17 years agoEliminate latin-1 encoding
Kurt B. Kaiser [Fri, 31 Aug 2007 21:42:36 +0000 (21:42 +0000)]
Eliminate latin-1 encoding

17 years agoPoint IDLE menu Help / Python Docs at Python 3000 version
Kurt B. Kaiser [Fri, 31 Aug 2007 21:40:34 +0000 (21:40 +0000)]
Point IDLE  menu Help / Python Docs at Python 3000 version

17 years agoRemoved unicode_format and unicode__format__, they just called through to other funct...
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.

17 years agoConvert IDLE's CREDITS file to unicode.
Kurt B. Kaiser [Fri, 31 Aug 2007 18:37:07 +0000 (18:37 +0000)]
Convert IDLE's CREDITS file to unicode.

17 years agoUpdated tracker link.
Guido van Rossum [Fri, 31 Aug 2007 17:25:37 +0000 (17:25 +0000)]
Updated tracker link.

17 years agoAddress a few XXX comments, other fixes.
Georg Brandl [Fri, 31 Aug 2007 17:17:17 +0000 (17:17 +0000)]
Address a few XXX comments, other fixes.

17 years agoAdd bytes/remove unicode from the data model.
Georg Brandl [Fri, 31 Aug 2007 16:41:12 +0000 (16:41 +0000)]
Add bytes/remove unicode from the data model.

17 years ago- document bytes()
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

17 years agoTagging for release of Python 3.0a1. v3.0a1
Guido van Rossum [Fri, 31 Aug 2007 15:07:53 +0000 (15:07 +0000)]
Tagging for release of Python 3.0a1.

17 years agoGot test_plistlib working. Don't ask how.
Guido van Rossum [Fri, 31 Aug 2007 14:18:20 +0000 (14:18 +0000)]
Got test_plistlib working.  Don't ask how.

17 years agoFix fall-out of str.decode removal.
Guido van Rossum [Fri, 31 Aug 2007 14:07:27 +0000 (14:07 +0000)]
Fix fall-out of str.decode removal.

17 years agoNeal sent real performance numbers. :-(
Guido van Rossum [Fri, 31 Aug 2007 14:03:28 +0000 (14:03 +0000)]
Neal sent real performance numbers. :-(

17 years agoPer Georg's suggestion, get rid of str.decode() (which always raises an
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.

17 years agoAdd a workaround for a strange bug on win64, when _ctypes is compiled
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.

17 years agoRestore test_email for a1. It passes completely.
Barry Warsaw [Fri, 31 Aug 2007 11:19:21 +0000 (11:19 +0000)]
Restore test_email for a1.  It passes completely.

17 years agoExplicitly convert err->text to Unicode. Fixes #1069.
Martin v. Löwis [Fri, 31 Aug 2007 11:17:42 +0000 (11:17 +0000)]
Explicitly convert err->text to Unicode. Fixes #1069.

17 years agoChange %s argument for PyUnicode_FromFormat to
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.

17 years agoMake test_email.py completely pass. This is cheating though because the two
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.

17 years agostring.maketrans() now produces translation tables for bytes.translate() -- wrong...
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().

17 years agoAdd bytes methods documentation.
Georg Brandl [Fri, 31 Aug 2007 10:15:37 +0000 (10:15 +0000)]
Add bytes methods documentation.

17 years agoMark registry components as 64-bit on Win64.
Martin v. Löwis [Fri, 31 Aug 2007 09:59:29 +0000 (09:59 +0000)]
Mark registry components as 64-bit on Win64.

17 years agoFix a buggy test. str8 objects contained NUL-terminated strings,
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.

17 years agoCommit #1068: new docs for PEP 3101. Also document the old string formatting as ...
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.

17 years agoround(1e20) wrongly returned 0.
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)

17 years agoUpdate the first two parts of the reference manual for Py3k,
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.

17 years agoRevert 57722. Move error dialog APIs to msvcrt instead,
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.

17 years agoRegenerate Lib/symbol.py.
Georg Brandl [Fri, 31 Aug 2007 07:58:27 +0000 (07:58 +0000)]
Regenerate Lib/symbol.py.

17 years agoFix unicode issue in tutorial.
Georg Brandl [Fri, 31 Aug 2007 06:46:05 +0000 (06:46 +0000)]
Fix unicode issue in tutorial.

17 years agoFix test_startfile and remove duplicated test.
Thomas Heller [Fri, 31 Aug 2007 06:45:04 +0000 (06:45 +0000)]
Fix test_startfile and remove duplicated test.

17 years agoInsert "startfile" into posix_methods again; it was accidentially
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.

17 years agoFix 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: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.

17 years agoCorrect a few typos.
Georg Brandl [Fri, 31 Aug 2007 06:15:01 +0000 (06:15 +0000)]
Correct a few typos.

17 years agoUgh, hopefully I can get this right. The code is only compiled on Win64
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

17 years agoTry to fix the problem of passing a non-int on Win64 right this time.
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.

17 years agoRemove checking redundantly for checks of PyInt and PyLong.
Neal Norwitz [Fri, 31 Aug 2007 04:32:55 +0000 (04:32 +0000)]
Remove checking redundantly for checks of PyInt and PyLong.

17 years agoTry to fix a problem with large values on Win64. Diagnosed by Thomas Heller
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

17 years agoForce test_mailbox and test_old_mailbox into submission.
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.

17 years agoRemove chr8, we're not likely to need it at this point
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

17 years ago1. Don't encode input strings to bytes.
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.

17 years agoThomas removed all the SLICE op codes
Neal Norwitz [Fri, 31 Aug 2007 04:10:28 +0000 (04:10 +0000)]
Thomas removed all the SLICE op codes

17 years agoCustomary 2nd submit of this file after it's been changed.
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.

17 years agoA few more fixes to the tutorial
Neal Norwitz [Fri, 31 Aug 2007 03:46:28 +0000 (03:46 +0000)]
A few more fixes to the tutorial

17 years agoMore email package fixes.
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!)

17 years agoTutorial update for 3.0 by Paul Dubois.
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.

17 years agoMore email package fixes.
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

17 years agoMore email package fixes.
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

17 years agoChanged signature of string.Formatter.get_field, per suggestion by
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.

17 years agoFixed test name.
Eric Smith [Fri, 31 Aug 2007 01:33:06 +0000 (01:33 +0000)]
Fixed test name.

17 years agoAdded test cases for string.Formatter subclassing.
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.

17 years agoFix a compile error on Windows.
Collin Winter [Fri, 31 Aug 2007 00:59:38 +0000 (00:59 +0000)]
Fix a compile error on Windows.

17 years agoCut test_raise down to size.
Collin Winter [Fri, 31 Aug 2007 00:47:26 +0000 (00:47 +0000)]
Cut test_raise down to size.

17 years agoUpdate import.c's MAGIC value for the new raise syntax (as opposed to merely updating...
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).

17 years agoMinor tweaks.
Guido van Rossum [Fri, 31 Aug 2007 00:38:53 +0000 (00:38 +0000)]
Minor tweaks.

17 years agoFirst draft of a what's new document.
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.)

17 years agoUse pow() instead of repeated multiplication by 10 in round(x, n).
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).

17 years agoFix test_smtplib by munging asynchat some more.
Thomas Wouters [Fri, 31 Aug 2007 00:20:14 +0000 (00:20 +0000)]
Fix test_smtplib by munging asynchat some more.

17 years agoIssue #1066: implement PEP 3109, 2/3 of PEP 3134.
Collin Winter [Fri, 31 Aug 2007 00:04:24 +0000 (00:04 +0000)]
Issue #1066: implement PEP 3109, 2/3 of PEP 3134.

17 years agoRemove curses temp file consistently.
Guido van Rossum [Thu, 30 Aug 2007 23:34:01 +0000 (23:34 +0000)]
Remove curses temp file consistently.

17 years agoRemove the simple slicing API. All slicing is now done with slice objects.
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.