]>
granicus.if.org Git - python/log
Gregory P. Smith [Thu, 6 Sep 2007 23:06:50 +0000 (23:06 +0000)]
merge r58023 to fix issue1112 on windows. make this test more robust
and deterministic.
Jeffrey Yasskin [Thu, 6 Sep 2007 18:55:17 +0000 (18:55 +0000)]
Extend unittest's fail*AlmostEqual methods to work on complex numbers.
Skip Montanaro [Thu, 6 Sep 2007 16:30:31 +0000 (16:30 +0000)]
I think we can just dump the else clause, per the comment I just deleted.
Georg Brandl [Thu, 6 Sep 2007 14:49:02 +0000 (14:49 +0000)]
#1116: reference to old filename fixed.
Guido van Rossum [Thu, 6 Sep 2007 14:46:41 +0000 (14:46 +0000)]
In response to issue 1101, place vastly more emphasis on the new print()
function.
Georg Brandl [Thu, 6 Sep 2007 14:09:10 +0000 (14:09 +0000)]
hashlib operates on bytes, not strings.
Georg Brandl [Thu, 6 Sep 2007 14:03:41 +0000 (14:03 +0000)]
New exception catching syntax.
Kurt B. Kaiser [Thu, 6 Sep 2007 04:03:04 +0000 (04:03 +0000)]
1. Fail gracefully if the file fails to decode when loaded.
2. If the load fails, close the half-built edit window.
3. Don't reopen the file to check the shebang.
4. Clarify that we're setting tabs in Tk.
M EditorWindow.py
M FileList.py
Guido van Rossum [Thu, 6 Sep 2007 03:57:23 +0000 (03:57 +0000)]
Use an event variable to wait for the server to be ready, not time.sleep().
Brett Cannon [Wed, 5 Sep 2007 20:35:46 +0000 (20:35 +0000)]
Cast away const qualifier to silence a compiler warning about it.
Georg Brandl [Wed, 5 Sep 2007 13:36:27 +0000 (13:36 +0000)]
Bug #
1684991 : explain __special__ lookup semantics.
Mark Summerfield [Wed, 5 Sep 2007 08:43:04 +0000 (08:43 +0000)]
Proof read/editing of abc. Added table of collections.Hashable etc. to
collections with some brief notes.
Guido van Rossum [Wed, 5 Sep 2007 03:26:38 +0000 (03:26 +0000)]
Fix doctest failure introduced by r57949.
The formatting of errors from pdb's own print command is different
from the formatting of errors when pdb exec's an arbitrary command;
the introduction of print as a pdb command caused this test to use
the former instead of the latter, causing the test to fail.
Eric Smith [Wed, 5 Sep 2007 02:02:43 +0000 (02:02 +0000)]
Simplified recursion logic. Modified variable name to match string.Formatter.
Eric Smith [Tue, 4 Sep 2007 23:04:22 +0000 (23:04 +0000)]
Changed some ValueError's to KeyError and IndexError.
Corrected code for invalid conversion specifier.
Added tests to verify.
Modified string.Formatter to correctly expand format_spec's,
and added a limit to recursion depth. Added _vformat()
method to support both of these.
Fred Drake [Tue, 4 Sep 2007 19:43:19 +0000 (19:43 +0000)]
fix typo
Georg Brandl [Tue, 4 Sep 2007 17:58:02 +0000 (17:58 +0000)]
Add a dict view usage example.
Georg Brandl [Tue, 4 Sep 2007 17:50:40 +0000 (17:50 +0000)]
Change docs for builtins that now return iterators.
Georg Brandl [Tue, 4 Sep 2007 17:43:37 +0000 (17:43 +0000)]
Docs on dictviews.
Fred Drake [Tue, 4 Sep 2007 17:33:11 +0000 (17:33 +0000)]
remove/update many of the references to dict.iter*()
Guido van Rossum [Tue, 4 Sep 2007 16:23:16 +0000 (16:23 +0000)]
Correction an issue reported by Mark Summerfeld.
Georg Brandl [Tue, 4 Sep 2007 15:45:25 +0000 (15:45 +0000)]
More abc docs.
Thomas Heller [Tue, 4 Sep 2007 11:27:47 +0000 (11:27 +0000)]
Make the _wrap_close type (which is returned by os.popen) iterable.
This should fix the Lib\test\test_uuid.py test on Windows.
Martin v. Löwis [Tue, 4 Sep 2007 09:18:06 +0000 (09:18 +0000)]
Convert code from sys.stdin.encoding to UTF-8 in
interactive mode. Fixes #1100.
Thomas Wouters [Tue, 4 Sep 2007 09:03:59 +0000 (09:03 +0000)]
Update ref docs on slicing.
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.