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
Greg Ward
d1c797e624
SF #1366250 : optparse docs: fix inconsistency in variable name; minor tweaks.
2006-06-11 14:42:41 +00:00
Ronald Oussoren
19302d927e
This patch improves the L&F of IDLE on OSX. The changes are conditionalized on
...
being in an IDLE.app bundle on darwin. This does a slight reorganisation of the
menus and adds support for file-open events.
2006-06-11 14:33:36 +00:00
Neal Norwitz
6aaccc6b55
Fix errors found by pychecker
2006-06-11 08:35:14 +00:00
Neal Norwitz
e588c2ba97
Fix errors found by pychecker.
...
I think these changes are correct, but I'm not sure. Could someone
who knows how this module works test it? It can at least start on
the cmd line.
2006-06-11 07:27:56 +00:00
Neal Norwitz
d3c52de557
warnings was imported at module scope, no need to import again
2006-06-11 07:26:50 +00:00
Neal Norwitz
f992a2b11e
Fix errors found by pychecker
2006-06-11 07:26:27 +00:00
Neal Norwitz
7d5b6e8991
f_code can't be NULL based on Frame_New and other code that derefs it.
...
So there doesn't seem to be much point to checking here.
2006-06-11 05:48:14 +00:00
Neal Norwitz
8e6675a7dc
Update doc to make it agree with code.
...
Bottom factor out some common code.
2006-06-11 05:47:14 +00:00