Jack Jansen
d8b382dc47
HMGetBalloonWindow should try to return an existing window.
2000-08-25 22:04:24 +00:00
Jack Jansen
cdb3483744
- Added pyexpat.
...
- Renamed socket to _socket.
2000-08-25 22:03:34 +00:00
Jack Jansen
e4cd2f28c6
Don't use our own malloc any more. It made test_longexp crash due to its optimization to lock blocks into a specific size malloc requests. This loses 15% performance, but that we'll have to live with:-(
2000-08-25 22:02:44 +00:00
Jack Jansen
a9f56e5c54
Don't redefine ERSCH, EINTR and ENODEV if we're using GUSI2.
2000-08-25 22:00:22 +00:00
Jack Jansen
6be3480083
Removed debug output.
2000-08-25 21:58:00 +00:00
Jack Jansen
14a9171cff
Cheaper implementation of PyOS_CheckStack: only call StackSpace once and keep a sentinel in a static variable.
2000-08-25 21:57:23 +00:00
Moshe Zadka
a1a4b5916b
Closing patch #101120 -- After everyone agreed.
2000-08-25 21:47:56 +00:00
Marc-André Lemburg
dc3d606bd9
Fix to [ Bug #111165 ] doc-string removal masked by PYTHONOPTIMIZE
2000-08-25 21:00:46 +00:00
Barry Warsaw
fa488ec2a0
_expand_lang(), _find(): Added support for unaliasing and expanded the
...
language found in the environment variable, contributed by James
Henstridge.
2000-08-25 20:26:43 +00:00
Barry Warsaw
1dce09da61
Group consensus is that supporting alternative locale categories is
...
useless. So the test of the dcgettext() function is removed.
2000-08-25 19:53:51 +00:00
Barry Warsaw
84314b72d6
Group consensus is that supporting alternative locale categories is
...
useless. So the category argument on _find() is removed, as is the
dcgettext() function.
2000-08-25 19:53:17 +00:00
Barry Warsaw
ff6d813657
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.
2000-08-25 19:50:38 +00:00
Barry Warsaw
e332c1f415
updated test output
2000-08-25 19:49:28 +00:00
Barry Warsaw
dd46cb38ce
output from test_gettext.py test suite
2000-08-25 19:15:00 +00:00
Barry Warsaw
9e03592149
Test suite for new gettext.py module.
2000-08-25 19:14:25 +00:00
Barry Warsaw
95be23dc86
Initial revision of gettext support for Python. This will undergo
...
some changes.
2000-08-25 19:13:37 +00:00
Fred Drake
6f9876212d
initpyexpat(): Code cleanup; makes it more robust and reduces warnings.
...
Added prototype to remove yet another warning.
Make a number of the handlers and helpers "static" since they are not
used in other C source files. This also reduces the number of warnings.
Make a lot of the code "more Python". (Need to get the style guide done!)
2000-08-25 18:03:30 +00:00
Fred Drake
0308ff8652
Add reference to RFC 2396 in "See also" section.
...
Minor cleanups.
2000-08-25 17:29:35 +00:00
Fred Drake
21801de6dc
Jeremy missed a bind() call when updating these demos. ;)
2000-08-25 16:03:27 +00:00
Jeremy Hylton
a8d30d5d66
update demo scripts to use addr tuples for bind and connect
...
closes bug #111928
2000-08-25 15:38:41 +00:00
Sjoerd Mullender
239f836c10
Not every OS that support poll seems to support POLLMSG.
2000-08-25 13:59:18 +00:00
Sjoerd Mullender
d7b86f0056
Pass data on to retrieve method.
...
Don't people *test* their changes?
2000-08-25 11:23:36 +00:00
Thomas Wouters
1de2a79a48
Call PyErr_Clear() to clear the AttributeError raised by GetAttr.
2000-08-25 10:47:46 +00:00
Tim Peters
aff1284ed1
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!
2000-08-25 06:52:44 +00:00
Thomas Wouters
b59290f5b2
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 ;)
2000-08-25 05:41:11 +00:00
Fred Drake
dfca4dc503
Revised documentation relevant to SourceForge patch #100837
...
(simplify making HTTP POST requests).
Added documentation of URLopener.version and how it can be overridden.
2000-08-25 05:13:42 +00:00
Andrew M. Kuchling
99a3701618
Documentation for poll() interface (SF patch #100852 )
2000-08-25 01:21:28 +00:00
Andrew M. Kuchling
3227cc8c09
Test suite for poll() interface (SF patch #100852 )
2000-08-25 01:18:45 +00:00
Andrew M. Kuchling
cf96dc800e
Add interface to poll() system call (SF patch #100852 )
2000-08-25 01:15:33 +00:00
Andrew M. Kuchling
5821b77782
Add configure tests for poll() (SF patch #100852 )
2000-08-25 01:14:08 +00:00
Thomas Wouters
65f39adfb3
Adjust the name for the socket module in the SSL line.
2000-08-24 22:54:53 +00:00
Thomas Wouters
6af3b37021
Add missing opcodes. Thanx to jeremy for reminding me ;)
2000-08-24 22:44:53 +00:00
Fred Drake
6d63adfbb7
Improve the exceptions raised by PyErr_BadInternalCall(); adding the
...
filename and line number of the call site to allow esier debugging.
This closes SourceForge patch #101214 .
2000-08-24 22:38:39 +00:00
Fred Drake
9ed49e979f
Fix the evil booboos. ;( Causes discussed with Jeremy offline.
2000-08-24 22:27:02 +00:00
Fred Drake
c23b5239ae
Remove the Py_FatalError() from initpyexpat(); the Guido has decreed
...
that this is not appropriate.
Made somewhat more robust in the face of reload() (exception is not
rebuilt, etc.).
Made the exception a class exception.
2000-08-24 21:57:43 +00:00
Peter Schneider-Kamp
fa12e13ae7
simple typo that makes regression test test_userstring fail
2000-08-24 21:47:34 +00:00
Thomas Wouters
e1519a1b4d
Update for augmented assignment, tested & approved by Guido.
2000-08-24 21:44:52 +00:00
Thomas Wouters
34052622c9
Update for augmented assignment.
2000-08-24 21:08:39 +00:00
Thomas Wouters
104a7bcc28
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.
2000-08-24 20:14:10 +00:00
Thomas Wouters
434d0828d8
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!
2000-08-24 20:11:32 +00:00
Thomas Wouters
dd8dbdb717
The real suport for augmented assignment: new opcodes, new PyNumber and
...
PySequence methods and functions, new tokens.
2000-08-24 20:09:45 +00:00
Thomas Wouters
e289e0bd0c
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.)
2000-08-24 20:08:19 +00:00
Thomas Wouters
12bba852a9
Rough and incomplete documentation on augmented assignment, which follows
...
shortly. Markup also needs checking.
2000-08-24 20:06:04 +00:00
Fred Drake
b0b7e31709
Rene Liebscher <rliebscher@users.sourceforge.net>:
...
Install the scripts in the BeOS directory, allowing use from the distutils
on BeOS systems.
The target location has been adjusted to match that used for the AIX
helper scripts.
This closes SourceForge patch #101207 .
2000-08-24 18:11:21 +00:00
Guido van Rossum
3d0c77b37c
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?)
2000-08-24 16:20:32 +00:00
Guido van Rossum
ba3113807d
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*.
I'll fix that too.
2000-08-24 16:18:04 +00:00
Fred Drake
ff5364ac9d
Whitespace cleanup; now passes the regression test (the last checkin made
...
it fail on a TabError (inconsistent tab/space usage)).
Removed a comment about including a test since there is a regression test
for this module.
2000-08-24 14:40:35 +00:00
Andrew M. Kuchling
103d5268c2
Updated test suite: test repr() and str() of cookies, and test metadata
...
fields with quoted values (as in Path="/acme")
2000-08-24 11:56:19 +00:00
Andrew M. Kuchling
0b29b11187
Updated version of Cookie.py (rev. 2.29) from timo
2000-08-24 11:52:33 +00:00
Fred Drake
45ca3331d9
Move references to RFCs to a "See also" section for consistency with
...
other sections of the library reference.
2000-08-24 04:58:25 +00:00