Barry Warsaw [Fri, 25 Aug 2000 19:53:17 +0000 (19:53 +0000)]
Group consensus is that supporting alternative locale categories is
useless. So the category argument on _find() is removed, as is the
dcgettext() function.
Barry Warsaw [Fri, 25 Aug 2000 19:50:38 +0000 (19:50 +0000)]
Set this test up so that we don't have to create xx/LC_MESSAGES in the
cvs tree. It creates the directory and gettext.mo file on the fly,
from the base64 encode binary data.
Tim Peters [Fri, 25 Aug 2000 06:52:44 +0000 (06:52 +0000)]
In readme.txt, make what's needed to build the "optional" subprojects
much more explicit. Also document that we're moving to Tcl/Tk 8.3.2.
Simplify .dsp files by getting rid of useless include paths.
.wse file changed to reflect that my setup is different than Guido's:
if you *build* a Python distro using python20.wse, beware!
Thomas Wouters [Fri, 25 Aug 2000 05:41:11 +0000 (05:41 +0000)]
Fix allowable node-types for assignment, need to add 'listmaker'.
(This fix is a bit broken, just as the test already was: the test for
testlist and listmaker are done always, whereas the test for exprlist and
the actual abort() are only done if Py_DEBUG is defined. Suggestions
welcome, I guess ;)
Thomas Wouters [Thu, 24 Aug 2000 20:14:10 +0000 (20:14 +0000)]
Support for augmented assignment in the UserList, UserDict, UserString and
rfc822 (Addresslist) modules. Also a preliminary testcase for augmented
assignment, which should actually be merged with the test_class testcase I
added last week.
Thomas Wouters [Thu, 24 Aug 2000 20:11:32 +0000 (20:11 +0000)]
Support for three-token characters (**=, >>=, <<=) which was written by
Michael Hudson, and support in general for the augmented assignment syntax.
The graminit.c patch is large!
Thomas Wouters [Thu, 24 Aug 2000 20:08:19 +0000 (20:08 +0000)]
Support for the in-place operations introduced by augmented assignment. Only
the list object supports this currently, but other candidates are
gladly accepted (like arraymodule and such.)
Guido van Rossum [Thu, 24 Aug 2000 16:20:32 +0000 (16:20 +0000)]
Addresses the other half of Bug #112634 -- the documentation suggested
that you can set self.version *after* calling the base class __init__.
In fact it must be done *before*.
(Fred, maybe the version class variable should be documented now?)
Guido van Rossum [Thu, 24 Aug 2000 16:18:04 +0000 (16:18 +0000)]
Promote the server version from a local variable to a class variable,
so that a subclass can override it.
This partly addresses Bug #112634 -- but the documentation is still
wrong, since it suggests that you can set self.version *after* calling
the base class __init__. In fact it must be done *before*.
Fred Drake [Thu, 24 Aug 2000 01:06:40 +0000 (01:06 +0000)]
Moshe Zadka <moshez@math.huji.ac.il>:
Documentation updates for urlretrieve() and URLopener.retrieve(), to
reflect Randall Hopper's patch for those functions.
Fred Drake [Thu, 24 Aug 2000 00:50:27 +0000 (00:50 +0000)]
Make sure Thomas Wouters has enough to do. ;-)
(Some of this is in-progress; this also serves as a reminded to me to
check this out once it is written.)
Fred Drake [Thu, 24 Aug 2000 00:32:09 +0000 (00:32 +0000)]
Charles G. Waldman <cgw@fnal.gov>:
Add the EXTENDED_ARG opcode to the virtual machine, allowing 32-bit
arguments to opcodes instead of being forced to stick to the 16-bit
limit. This is especially useful for machine-generated code, which
can be too long for the SET_LINENO parameter to fit into 16 bits.
This closes the implementation portion of SourceForge patch #100893.
Thomas Wouters [Wed, 23 Aug 2000 23:16:10 +0000 (23:16 +0000)]
Add extra check on whether 'tp_as_number' is still non-NULL after coercion,
in the PyNumber_* functions. Also, remove unnecessary tests from
PyNumber_Multiply: after BINOP(), neither argument can be an instance.
Trent Mick [Wed, 23 Aug 2000 21:33:05 +0000 (21:33 +0000)]
This patch partly (some stuff went in already) ports Python to Monterey.
- Fix bug in thread_pthread.h::PyThread_get_thread_ident() where
sizeof(pthread) < sizeof(long).
- Add 'configure' for:
- SIZEOF_PTHREAD is pthread_t can be included via <pthread.h>
- setting Monterey system name
- appropriate CC,LINKCC,LDSHARED,OPT, and CCSHARED for Monterey
- Add section in README for Monterey build
Guido van Rossum [Wed, 23 Aug 2000 19:01:43 +0000 (19:01 +0000)]
Updated some URLs; removed mention of copyright (we'll have to add
something in later after that discussion is over); remove explanation
of 2.0 version number.
Skip Montanaro [Wed, 23 Aug 2000 16:58:32 +0000 (16:58 +0000)]
update commonprefix doc to make sure user is aware it works
character-by-character and that that behavior may result in it returning
prefixes that are not valid paths
Jack Jansen [Tue, 22 Aug 2000 21:52:51 +0000 (21:52 +0000)]
Added PyOS_CheckStack call to PyObject_Compare
Lowered the recursion limit on compares to 60 (one recursion depth can
take a whopping 2K of stack space when running test_b1!)
Guido van Rossum [Tue, 22 Aug 2000 02:04:46 +0000 (02:04 +0000)]
Patch by Toby Dickenson: don't die when an error occurs during string
conversion in an exception, but instead display <unprintable %s
object> where %s is the type name.
Fred Drake [Mon, 21 Aug 2000 21:42:42 +0000 (21:42 +0000)]
Patch from Paul Schreiber <paul@commerceflow.com>:
Patch description
-----------------
This addresses four issues:
(1) usernames and passwords in urls with special characters are now
decoded properly. i.e. http://foo%2C:bar@www.whatever.com/
(2) Basic Auth support has been added to HTTPS, like it was in HTTP.
(3) Version 1.92 sent the POSTed data, but did not deal with errors
(HTTP responses other than 200) properly. HTTPS now behaves the
same way HTTP does.
(4) made URL-checking beahve the same way with HTTPS as it does with
HTTP (changed == to !=).
Barry Warsaw [Mon, 21 Aug 2000 17:07:20 +0000 (17:07 +0000)]
com_print_stmt(): Guido rightly points out that the stream expression
in extended prints should only be evaluated once. This patch plays
stack games (documented!) to fix this.