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
Neal Norwitz
6e73aaab47
Patch #1503046 , Conditional compilation of zlib.(de)compressobj.copy
...
copy is only in newer versions of zlib. This should allow zlibmodule
to work with older versions like the Tru64 buildbot.
2006-06-12 03:33:09 +00:00
Neal Norwitz
a6d80faf6c
Impl ssize_t
2006-06-12 03:05:40 +00:00
Neal Norwitz
052cbcf635
Remove unused import
2006-06-12 03:05:03 +00:00
Neal Norwitz
245ce8db46
i and j are initialized below when used. No need to do it twice
2006-06-12 02:16:10 +00:00
Neal Norwitz
909eb12c95
Fix the socket tests so they can be run concurrently. Backport candidate
2006-06-12 02:13:21 +00:00
Neal Norwitz
b9845e72f9
Get rid of f_restricted too. Doc the other 4 ints that were already removed
...
at the NeedForSpeed sprint.
2006-06-12 02:11:18 +00:00
Neal Norwitz
2585ad58e6
Fix indentation of case and a Py_ssize_t issue.
2006-06-12 02:09:34 +00:00
Neal Norwitz
7659f0fc26
Fix typo. Backport if anyone cares. :-)
2006-06-12 02:09:03 +00:00
Neal Norwitz
a00c0b97bf
Don't leak the list object if there's an error allocating the item storage. Backport candidate
2006-06-12 02:08:41 +00:00
Neal Norwitz
71e05f1e0c
Don't truncate if size_t is bigger than uint
2006-06-12 02:07:57 +00:00
Neal Norwitz
418b97eac1
Cleanup: Remove import of types to get StringTypes, we can just use basestring.
2006-06-12 02:07:24 +00:00
Neal Norwitz
047f3c7ffa
Fix some Py_ssize_t issues
2006-06-12 02:06:42 +00:00
Neal Norwitz
c7074386b4
Fix some Py_ssize_t issues
2006-06-12 02:06:17 +00:00
Neal Norwitz
09a29fae8f
Cleanup Py_ssize_t a little (get rid of second #ifdef)
2006-06-12 02:05:55 +00:00
Neal Norwitz
4a9ff1626a
Get test to pass on S/390. Shout if you think this change is incorrect.
2006-06-11 21:38:38 +00:00
Tim Peters
06524b61d0
compare_generic_iter(): Fixed the failure of test_wsgiref's testFileWrapper
...
when running with -O.
test_simple_validation_error still fails under -O. That appears to be because
wsgiref's validate.py uses `assert` statements all over the place to check
arguments for sanity. That should all be changed (it's not a logical error
in the software if a user passes bogus arguments, so this isn't a reasonable
use for `assert` -- checking external preconditions should generally raise
ValueError or TypeError instead, as appropriate).
2006-06-11 20:52:59 +00:00
Neal Norwitz
896c1ea15e
Fix test on PPC64 buildbot. It raised an IOError (really an URLError which
...
derives from an IOError). That seems valid. Env Error includes both OSError
and IOError, so this seems like a reasonable fix.
2006-06-11 20:46:46 +00:00
Neal Norwitz
f054aeb2a1
Try to fix another networking test. The problem is that if hosts have
...
a search path setup, some of these hosts resolve to the wrong address.
By appending a period to the hostname, the hostname should only resolve
to what we want it to resolve to. Hopefully this doesn't break different bots.
Also add more info to failure message to aid debugging test failure.
2006-06-11 20:42:02 +00:00
Neal Norwitz
a29fc29f19
Try to fix several networking tests. The problem is that if hosts have
...
a search path setup, some of these hosts resolve to the wrong address.
By appending a period to the hostname, the hostname should only resolve
to what we want it to resolve to. Hopefully this doesn't break different bots.
2006-06-11 20:25:56 +00:00
Ronald Oussoren
c55555400e
- Change fixapplepython23.py to ensure that it will run with /usr/bin/python
...
on intel macs.
- Fix some minor problems in the installer for OSX
2006-06-11 20:24:45 +00:00
Ronald Oussoren
4fbb080bc1
Use configure to substitute the correct prefix instead of hardcoding
2006-06-11 20:23:29 +00:00
Ronald Oussoren
e0cfb16f99
Remove message about using make frameworkinstall, that's no longer necesssary
2006-06-11 19:45:57 +00:00
Tim Peters
231c3c8804
Add missing svn:eol-style property to text files.
2006-06-11 19:43:49 +00:00
Tim Peters
4f96f1f2b5
Whitespace normalization.
2006-06-11 19:42:51 +00:00
Thomas Heller
0d5d222959
Release the GIL during COM method calls, to avoid deadlocks in
...
Python coded COM objects.
2006-06-11 17:04:22 +00:00
Greg Ward
0e0c9f4740
Bug #1498146 : fix optparse to handle Unicode strings in option help,
...
description, and epilog.
2006-06-11 16:24:11 +00:00