Neal Norwitz
faa26dfdd8
Fix typo
2006-02-04 03:26:20 +00:00
Martin v. Löwis
14694662d5
Drop C library for stat/fstat on Windows.
2006-02-03 12:54:16 +00:00
Barry Warsaw
602426e3cf
parsedate_tz(): Minor cleanup.
...
Port from Python 2.3/email 2.5: Add a test for the tm_yday field is 1 in the
return of parsedate().
2006-02-03 04:44:52 +00:00
Fredrik Lundh
5a49fae1ab
SF patch #1421726
...
fixed typo in language reference
2006-02-02 21:58:55 +00:00
Thomas Wouters
553489ab1d
As discussed on python-dev, silence three gcc-4.0.x warnings, using assert()
...
to protect against actual uninitialized usage.
Objects/longobject.c: In function ‘PyLong_AsDouble’:
Objects/longobject.c:655: warning: ‘e’ may be used uninitialized in this function
Objects/longobject.c: In function ‘long_true_divide’:
Objects/longobject.c:2263: warning: ‘aexp’ may be used uninitialized in this function
Objects/longobject.c:2263: warning: ‘bexp’ may be used uninitialized in this function
2006-02-01 21:32:04 +00:00
Gustavo Niemeyer
548148810b
Patch #1413711 : Certain patterns of differences were making difflib
...
touch the recursion limit. The applied patch inlines the recursive
__helper method in a non-recursive way.
2006-01-31 18:34:13 +00:00
Martin v. Löwis
c81e3a63af
Fix typo.
2006-01-30 15:04:31 +00:00
Gregory P. Smith
fd049a696d
maintain support for older python versions in this module so that it
...
is ok for a standalone pybsddb source dist for use with <= 2.3.
2006-01-30 00:22:08 +00:00
Gregory P. Smith
c26cf5a6f1
fix test import for use in standalone pybsddb project bsddb3 module as well
...
as python builtin bsddb.
2006-01-29 23:54:38 +00:00
Tim Peters
249c7b050b
Whitespace normalization.
2006-01-29 22:50:26 +00:00
Martin v. Löwis
5b1e003da8
Try a number of ports, in case 9020 is already in use.
2006-01-29 20:10:38 +00:00
Martin v. Löwis
f684888b1e
Explicitly close the server socket.
2006-01-29 19:55:18 +00:00
Gregory P. Smith
cfc4a8dae7
add bsddb.db.DBEnv.set_tx_timestamp mention
2006-01-29 19:46:23 +00:00
Martin v. Löwis
4ddc78a6a1
Delete aclocal.m4, and require autoconf 2.59, fixing
...
#811160 in a different way.
2006-01-29 09:53:44 +00:00
Thomas Wouters
35f34f8d60
Work around a Solaris peculiarity that caused test_pty to sometimes fail: a
...
tty opened by os.openpty() isn't always a tty according to os.isatty(), when
it's tested inside the process that opened it. Doesn't affect actual
functionality, as using a tty this way is rarely, if ever, useful. Ignoring
the failure allows the test for actual functionality to continue.
Will backport to 2.4-maint.
2006-01-28 12:05:54 +00:00
Jeremy Hylton
c960f26044
Improved handling of syntax errors.
...
Expand set of errors caught in set_context(). Some new errors, some
old error messages changed for consistency.
Fixed error checking in generator expression code. The first set of
tests were impossible condition given the grammar. In general, the
ast code uses REQ() for those sanity checks.
Fix some error handling for augmented assignments. As comments in the
code explain, set_context() ought to work here, but I got unexpected
crashes when I tried it. Should come back to this.
Add note to Grammar that yield expression is a special case.
Add doctest cases for SyntaxErrors raised by ast.c.
2006-01-27 15:18:39 +00:00
Gregory P. Smith
3d344e8b07
Add wrapper for DBEnv.set_tx_timeout method to allow time based DB_RECOVER
...
(test cases and dbobj wrapping)
2006-01-27 07:06:15 +00:00
Gregory P. Smith
8a47404799
Add wrapper for DBEnv.set_tx_timeout method to allow time based DB_RECOVER
2006-01-27 07:05:40 +00:00
Barry Warsaw
b941825fa2
Fix PyGC_Collect() to be exported from the built DLL on Windows. (Fix given
...
by Matt Messier).
2006-01-26 18:59:06 +00:00
Neal Norwitz
08e301f8bd
There was a race condition where the connector would try to connect
...
before the listener was ready (on gentoo x86 buildslave). This
caused the listener to not exit normally since nobody connected to it
(waited in accept()). The exception was raised in the other thread
and the test failed.
This fix doesn't completely eliminate the race, but should make it
near impossible to trigger. Hopefully it's good enough.
2006-01-25 08:39:35 +00:00
Neal Norwitz
14361fffc2
Remove generated test db files
2006-01-25 07:20:47 +00:00
Neal Norwitz
73afe9aa32
mwh pointed out _Filemodule.c is generated. So to fix the memory leak
...
this file (the source) must be fixed.
Why isn't there a comment at the top saying the file is generated and
why are both the source and generated file checked in? Bootstrap problem?
Will backport.
2006-01-25 05:42:22 +00:00
Neal Norwitz
62a21121b4
Fix bug #1413192 , fix seg fault in bsddb if a txn was deleted before the env.
...
Will backport.
2006-01-25 05:21:55 +00:00
Tim Peters
2a4712dc80
test_rude_shutdown(): Rewrote to use proper thread
...
synchronization and termination.
2006-01-24 22:44:54 +00:00
Tim Peters
92037a15a9
Whitespace normalization.
2006-01-24 22:44:08 +00:00
Gregory P. Smith
e101df9748
note the bsddb extension module changes.
2006-01-24 20:09:45 +00:00
Gregory P. Smith
4e414d8386
commits sourceforge patch #1407992 by neil.norwitz.
...
this fixes the bsddb db associate tests when compiled against
BerkeleyDB 3.3 thru 4.1. 4.2 thru 4.4 already passed and still
pass.
2006-01-24 19:55:02 +00:00
Fredrik Lundh
ec2f74f4b1
module list utility
2006-01-24 16:16:19 +00:00
Martin v. Löwis
3e86595280
Patch #1349118 : urllib2 now supports user:pass@ style proxy
...
specifications, raises IOErrors when proxies for unsupported protocols
are defined, and uses the https proxy on https redirections.
2006-01-24 15:51:21 +00:00
Gregory P. Smith
29602d2153
Support for BerkeleyDB 4.4 (tested against 4.4.20 as well as all the
...
way back thru 3.2). This should be backported to the release24-maint
branch.
2006-01-24 09:46:48 +00:00
Neal Norwitz
bab05c9604
Fix SF #1412837 , compile failed with Watcom compiler
2006-01-24 06:06:11 +00:00
Tim Peters
68f2d000e9
Repaired new test failures on Windows:
...
- The path separator isn't "/" on Windows.
- Leaving behind a read-only file causes cascades
of bogus failures on Windows.
2006-01-23 22:19:24 +00:00
Georg Brandl
caa94bd484
Correct misspellings.
2006-01-23 22:00:17 +00:00
Georg Brandl
131e4f71ba
Add markup to new section in codecs docs
2006-01-23 21:33:48 +00:00
Georg Brandl
296152e644
Correct typos and markup errors (Raymond, thanks for texcheck)
2006-01-23 21:33:03 +00:00
Georg Brandl
8797578a06
Add two missing markup tags.
2006-01-23 21:31:00 +00:00
Tim Peters
bc29c1a4cc
Whitespace normalization.
2006-01-23 21:28:42 +00:00
Georg Brandl
2103a01c82
Add \versionadded for sftp scheme
2006-01-23 20:49:24 +00:00
Neal Norwitz
dbc95f4222
Disable this test until I can test on big-endian machines and get passing
2006-01-23 08:48:03 +00:00
Neal Norwitz
b155b62f54
Test zipimporter a bit more. Also get working with -R :: option for finding ref leaks
2006-01-23 07:52:13 +00:00
Neal Norwitz
0e17f8cd38
Convenience function to remove a possibly non-existant file
2006-01-23 07:51:27 +00:00
Neal Norwitz
9730bcb4a6
Test getsignal() and some error conditions
2006-01-23 07:50:06 +00:00
Neal Norwitz
cd3e219cda
Use unittest and make sure a few other cases don't crash
2006-01-23 07:49:36 +00:00
Neal Norwitz
8ac83f3152
This should fix a mem leak on the Mac. Brett tested it.
2006-01-23 07:25:29 +00:00
Georg Brandl
ffa6f3d942
Another typo.
2006-01-22 20:47:26 +00:00
Georg Brandl
56ace78465
typo
2006-01-22 19:38:05 +00:00
Georg Brandl
4865e4a56f
Correct several typos in libos.tex. Bug #1412227 .
2006-01-22 19:34:59 +00:00
Georg Brandl
0ce2be8a51
Typo
2006-01-22 16:11:01 +00:00
Georg Brandl
95ac2871c9
Remove reference to Grail and Netscape 2.0 from cgi docs.
2006-01-22 13:49:21 +00:00
Vinay Sajip
51f5235a49
Misc. changes, including documenting the ability to specify a class attribute in Formatter configuration. Contributed by Shane Hathaway.
2006-01-22 11:58:39 +00:00