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
Fred Drake
9fa4d61bcc
Moshe Zadka <moshez@math.huji.ac.il>:
...
Documentation updates for urlretrieve() and URLopener.retrieve(), to
reflect Randall Hopper's patch for those functions.
This closes SourceForge patch #100837 .
2000-08-24 01:06:40 +00:00
Fred Drake
316a793a58
Randall Hopper <aa8vb@yahoo.com>>:
...
Make it easier to use HTTP POST with urlretrieve().
2000-08-24 01:01:26 +00:00
Fred Drake
8377f5debf
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.)
2000-08-24 00:50:27 +00:00
Fred Drake
093272ea85
Charles G. Waldman <cgw@fnal.gov>:
...
Update the dis module documentation to reflect the EXTENDED_ARG opcode.
2000-08-24 00:37:50 +00:00
Fred Drake
33438d23fa
Charles G. Waldman <cgq@fnal.gov>:
...
Update the test suite for the changes introduced by the EXTENDED_ARG
opcode.
This closes the regression test changes of SourceForge patch #100893 .
2000-08-24 00:35:38 +00:00
Fred Drake
ef8ace3a6f
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 .
2000-08-24 00:32:09 +00:00
Thomas Wouters
e266e42c9c
Addendum to previous change: now that 'f' is not unconditionally
...
initialized in the 'if (..)', do so manually.
2000-08-23 23:31:34 +00:00
Thomas Wouters
bf6cfa5f8e
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.
2000-08-23 23:16:10 +00:00
Trent Mick
635f6fb0e9
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
2000-08-23 21:33:05 +00:00
Fred Drake
b745a0481b
Remove the dependency information for version.o; this is not part of
...
the sources/build process any more.
2000-08-23 21:16:10 +00:00
Jeremy Hylton
cf29bb2aa9
style nits
2000-08-23 21:11:05 +00:00
Fred Drake
27c4b39025
When skipping a test, do not include a spurious space between the exception
...
name and the ":" that separates it from the value. (Minor cleanup.)
2000-08-23 20:34:40 +00:00
Jeremy Hylton
4d746fca3d
add docstring explaining makefile limitation
...
fix support for passing http version to connect in HTTP
2000-08-23 20:34:17 +00:00
Fred Drake
6baec620b4
Sort the list of files processed before running the test on each.
2000-08-23 20:21:31 +00:00
Skip Montanaro
9dcea3f8a8
test case output for dospath regr test
2000-08-23 20:07:21 +00:00
Guido van Rossum
81db1a31fa
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.
2000-08-23 19:01:43 +00:00
Fred Drake
eb375e49f5
Simplified inclusions and avoid prototypes copied in from elsewhere.
...
This also avoids a warning in anal mode.
2000-08-23 18:17:42 +00:00
Skip Montanaro
323fe5df6a
fix list comprehension discussion to use \keyword macro instead of simply
...
quoting keywords.
2000-08-23 17:03:34 +00:00
Skip Montanaro
297bf7ceb5
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
2000-08-23 16:58:32 +00:00
Skip Montanaro
640f483c50
new test - like test_ntpath but without splitunc test cases
2000-08-23 16:55:00 +00:00
Skip Montanaro
877d62e72d
added commonprefix test cases
2000-08-23 16:54:27 +00:00
Skip Montanaro
533bc9ad42
updated to correct failing test cases
2000-08-23 16:51:56 +00:00
Fred Drake
abca14d8e2
Added note stating that the parser module will need updating for most
...
changes to this file.
2000-08-23 15:45:28 +00:00
Fred Drake
85bf3bb44a
validate_listmaker(): Revise to match Skip's latest changes to the
...
Grammar file. This makes the test suite pass once again.
2000-08-23 15:35:26 +00:00
Jack Jansen
03c06ee7fc
Restored commonprefix() semantics.
2000-08-23 09:13:40 +00:00
Tim Peters
a48b526745
Rehabilitate autotest.py.
...
In README: Write up (Guido's) rules for intra-test imports; warn against
asserts; document test_support.use_large_resources.
2000-08-23 05:28:45 +00:00
Jack Jansen
d49cbe1060
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!)
2000-08-22 21:52:51 +00:00
Jack Jansen
e979160f5e
Added include for limits.h
2000-08-22 21:51:22 +00:00