Georg Brandl
c54173c234
Bug #1153163 : describe __add__ vs __radd__ behavior when adding
...
objects of same type/of subclasses of the other.
2006-06-14 08:31:39 +00:00
Thomas Heller
bcae6222e5
Write more docs.
2006-06-14 07:08:38 +00:00
Georg Brandl
772beaafae
Bug #1501122 : mention __gt__ &co in description of comparison order.
2006-06-14 06:29:07 +00:00
Thomas Heller
866a5d89b2
Fix docstring.
2006-06-14 06:18:15 +00:00
Georg Brandl
2605ca8773
Bug #1339007 : Shelf objects now don't raise an exception in their
...
__del__ method when initialization failed.
2006-06-14 06:08:31 +00:00
Martin v. Löwis
d825143be1
Patch #1455898 : Incremental mode for "mbcs" codec.
2006-06-14 05:21:04 +00:00
Fred Drake
6ce9fe880b
explain an XXX in more detail
2006-06-14 05:15:51 +00:00
Fred Drake
a16393efb7
add tests for two cases that are handled correctly in the current code,
...
but that SF patch 1504676 as written mis-handles
2006-06-14 05:04:47 +00:00
Fred Drake
72c9eff59e
- make some disabled tests run what they intend when enabled
...
- remove some over-zealous triple-quoting
2006-06-14 04:25:02 +00:00
Tim Peters
16ec4bb0cb
Whitespace normalization.
2006-06-14 04:15:27 +00:00
Tim Peters
61bdd39b02
Repaired typo in new comment.
2006-06-14 04:13:00 +00:00
Tim Peters
43898b4f64
SequenceMatcher.get_matching_blocks(): This now guarantees that
...
adjacent triples in the result list describe non-adjacent matching
blocks. That's _nice_ to have, and Guido said he wanted it.
Not a bugfix candidate: Guido or not ;-), this changes visible
endcase semantics (note that some tests had to change), and
nothing about this was documented before. Since it was working
as designed, and behavior was consistent with the docs, it wasn't
"a bug".
2006-06-14 04:09:25 +00:00
Gerhard Häring
5d7c290b7b
Updated documentation for pysqlite 2.3.0 API.
2006-06-13 22:53:48 +00:00
Brett Cannon
5dc3e3f17a
Missed test for rev. 46933; infinite recursion from __coerce__() returning its arguments reversed.
2006-06-13 22:26:13 +00:00
Gerhard Häring
1541ef08af
Merged changes from external pysqlite 2.3.0 release. Documentation updates will
...
follow in a few hours at the latest. Then we should be ready for beta1.
2006-06-13 22:24:47 +00:00
Brett Cannon
ea3912b0da
If a classic class defined a __coerce__() method that just returned its two
...
arguments in reverse, the interpreter would infinitely recourse trying to get a
coercion that worked. So put in a recursion check after a coercion is made and
the next call to attempt to use the coerced values.
Fixes bug #992017 and closes crashers/coerce.py .
2006-06-13 21:46:41 +00:00
Brett Cannon
64116f931c
Ignore .pyc and .pyo files in Pybench.
2006-06-13 21:34:24 +00:00
Thomas Heller
b66902fc90
More docs for ctypes.
2006-06-13 20:18:43 +00:00
Marc-André Lemburg
3b3f1184bc
Whitespace normalization.
2006-06-13 19:20:07 +00:00
Andrew MacIntyre
93e3ecb1f4
Increase the small thread stack size to get the test
...
to pass reliably on the one buildbot that insists on
more than 32kB of thread stack.
2006-06-13 19:02:35 +00:00
Marc-André Lemburg
7d9743dd6a
Updated to pybench 2.0.
...
See svn.python.org/external/pybench-2.0 for the original import of that
version.
Note that platform.py was not copied over from pybench-2.0 since
it is already part of Python 2.5.
2006-06-13 18:56:56 +00:00
Tim Peters
ef7fe5f228
Whitespace normalization.
2006-06-13 18:37:07 +00:00
Andrew MacIntyre
a7090dfc2c
fix exception usage
2006-06-13 17:14:36 +00:00
Marc-André Lemburg
573bd19e1f
Revert wrong svn copy.
2006-06-13 17:07:14 +00:00
Marc-André Lemburg
08de1ef8df
Update pybench to version 2.0.
2006-06-13 17:04:26 +00:00
Andrew M. Kuchling
317af10569
Add ability to set stack size
2006-06-13 16:41:41 +00:00
Brett Cannon
6d7db6ecc4
Remove unused variable.
2006-06-13 16:06:55 +00:00
Andrew MacIntyre
9291332de1
Patch #1454481 : Make thread stack size runtime tunable.
...
Heavily revised, comprising revisions:
46640 - original trunk revision (backed out in r46655)
46647 - markup fix (backed out in r46655)
46692:46918 merged from branch aimacintyre-sf1454481
branch tested on buildbots (Windows buildbots had problems
not related to these changes).
2006-06-13 15:04:24 +00:00
Walter Dörwald
c6f5b3ad6c
errors is an attribute in the incremental decoder
...
not an argument.
2006-06-13 12:04:43 +00:00
Walter Dörwald
6b6e2bb8b1
Fix passing errors to the encoder and decoder functions.
2006-06-13 12:02:12 +00:00
Andrew M. Kuchling
aabc5f6f2f
Mention uuid module
2006-06-13 11:57:04 +00:00
Ronald Oussoren
9015b938cb
Linecache contains support for PEP302 loaders, but fails to deal with loaders
...
that return None to indicate that the module is valid but no source is
available. This patch fixes that.
2006-06-13 11:19:56 +00:00
Thomas Heller
fdbebb65af
Add back WCHAR, UINT, DOUBLE, _LARGE_INTEGER, _ULARGE_INTEGER.
...
VARIANT_BOOL is a special _ctypes data type, not c_short.
2006-06-13 09:40:14 +00:00
Thomas Heller
a7e823fd2c
Add some windows datatypes that were missing from this file, and add
...
the aliases defined in windows header files for the structures.
2006-06-13 08:56:14 +00:00
Neal Norwitz
6d3d339d21
Verify the crash due to EncodingMap not initialized does not return
2006-06-13 08:41:06 +00:00
Neal Norwitz
de4c78a1d7
Initialize the type object so pychecker can't crash the interpreter.
2006-06-13 08:28:19 +00:00
Neal Norwitz
62bc8aadd4
Don't fail if another process is listening on our port.
2006-06-13 04:08:53 +00:00
Tim Peters
7ca6677218
get_matching_blocks(): rewrote code & comments so they match; added
...
more comments about why it's this way at all; and removed what looked
like needless expense (sorting (i, j, k) triples directly should give
exactly the same order as sorting (i, (i, j, k)) pairs).
2006-06-13 03:30:07 +00:00
Tim Peters
2adc626bb5
Added missing svn:eol-style property to text files.
2006-06-13 00:30:50 +00:00
Tim Peters
edd66fa7e9
Whitespace normalization.
2006-06-13 00:30:01 +00:00
Ka-Ping Yee
f9eb82f252
Add the uuid module.
...
This module has been tested so far on Windows XP (Python 2.4 and 2.5a2),
Mac OS X (Python 2.3, 2.4, and 2.5a2), and Linux (Python 2.4 and 2.5a2).
2006-06-12 23:47:52 +00:00
Thomas Heller
c2da994585
Add pep-291 compatibility markers.
2006-06-12 20:56:48 +00:00
Kristján Valur Jónsson
f608317061
Fix the CRT argument error handling for VisualStudio .NET 2005. Install a CRT error handler and disable the assertion for debug builds. This causes CRT to set errno to EINVAL.
...
This update fixes crash cases in the test suite where the default CRT error handler would cause process exit.
2006-06-12 15:45:12 +00:00
Nick Coghlan
81f444bb8e
Make the -m switch conform to the documentation of sys.path by behaving like the -c switch
2006-06-12 10:17:11 +00:00
Nick Coghlan
f0d02fbb9a
The site module documentation also described the Windows behaviour incorrectly.
2006-06-12 08:27:13 +00:00
Nick Coghlan
f2b16f3eb4
Fix site module docstring to match the code for Mac OSX, too
2006-06-12 08:23:02 +00:00
Nick Coghlan
3fb55ca80e
Fix site module docstring to match the code
2006-06-12 08:19:37 +00:00
Thomas Heller
ee3ea5418e
I don't know how that happend, but the entire file contents was
...
duplicated. Thanks to Simon Percivall for the heads up.
2006-06-12 06:05:57 +00:00
Martin v. Löwis
70ee3ccd1e
Get rid of function pointer cast.
2006-06-12 04:26:31 +00:00
Phillip J. Eby
403019b115
Sync w/external release 0.1.2. Please see PEP 360 before making changes to external packages.
2006-06-12 04:04:32 +00:00