Thomas Heller
dd854e917f
Cleanup: Remove commented out code.
2006-07-03 07:58:09 +00:00
Martin v. Löwis
ee1e06d497
Correct arithmetic in access on Win32. Fixes #1513646 .
2006-07-02 18:44:00 +00:00
Gerhard Häring
762fbd3485
The sqlite3 module did cut off data from the SQLite database at the first null
...
character before sending it to a custom converter. This has been fixed now.
2006-07-02 17:48:30 +00:00
Fred Drake
6ffe499397
SF bug #1296433 (Expat bug #1515266 ): Unchecked calls to character data
...
handler would cause a segfault. This merges in Expat's lib/xmlparse.c
revisions 1.154 and 1.155, which fix this and a closely related problem
(the later does not affect Python).
Moved the crasher test to the tests for xml.parsers.expat.
2006-07-01 16:28:20 +00:00
Martin v. Löwis
7596e8342e
Release all forwarded functions in .close. Fixes #1513223 .
2006-07-01 15:33:37 +00:00
Vinay Sajip
a09803329c
Added duplicate call to fileConfig() to ensure that it cleans up after itself correctly.
2006-07-01 10:47:20 +00:00
Vinay Sajip
28e57618ad
Added entry for fileConfig() bugfix.
2006-07-01 10:45:20 +00:00
Fred Drake
6f42dfce7c
- consistency nit: always include "()" in \function and \method
...
(*should* be done by the presentation, but that requires changes all over)
- avoid spreading the __name meme
2006-06-30 19:29:25 +00:00
Georg Brandl
348b7c8304
Document decorator usage of property.
2006-06-30 18:47:56 +00:00
Tim Peters
08612926a1
Remove now-unused fidding with PY_FORMAT_SIZE_T.
2006-06-30 18:34:51 +00:00
Thomas Heller
730199275a
Revert the use of PY_FORMAT_SIZE_T in PyErr_Format.
2006-06-30 17:44:54 +00:00
Neal Norwitz
0f415dc57f
Another problem reported by Coverity. Backport candidate.
2006-06-30 07:32:46 +00:00
Neal Norwitz
3f2748e775
Silence compiler warning
2006-06-30 07:32:16 +00:00
Tim Peters
38ff36c4cc
Whitespace normalization.
2006-06-30 06:18:39 +00:00
Vinay Sajip
cea4bf092d
Fixed bug in fileConfig() which failed to clear logging._handlerList
2006-06-30 00:13:08 +00:00
Skip Montanaro
4ef256cab0
add string methods to index
2006-06-29 19:20:09 +00:00
Martin v. Löwis
1bf59597dd
Patch #1509163 : MS Toolkit Compiler no longer available
2006-06-29 18:58:44 +00:00
Thomas Heller
bde081329b
Protect the thread api calls in the _ctypes extension module within
...
#ifdef WITH_THREADS/#endif blocks. Found by Sam Rushing.
2006-06-29 18:34:15 +00:00
Neal Norwitz
877fdb01fe
This should fix the buildbot failure on s/390 which can't connect to gmail.org.
...
It makes the error message consistent and always sends to stderr.
It would be much better for all the networking tests to hit only python.org.
2006-06-29 05:48:14 +00:00
Neal Norwitz
b15ac3169d
Add new utility function, reap_children(), to test_support. This should
...
be called at the end of each test that spawns children (perhaps it
should be called from regrtest instead?). This will hopefully prevent
some of the unexplained failures in the buildbots (hppa and alpha)
during tests that spawn children. The problems were not reproducible.
There were many zombies that remained at the end of several tests.
In the worst case, this shouldn't cause any more problems,
though it may not help either. Time will tell.
2006-06-29 04:10:08 +00:00
Fred Drake
10497c83ec
document recent bugfixes in sgmllib
2006-06-29 02:57:48 +00:00
Fred Drake
a136210a9f
SF bug #1504333 : sgmlib should allow angle brackets in quoted values
...
(modified patch by Sam Ruby; changed to use separate REs for start and end
tags to reduce matching cost for end tags; extended tests; updated to avoid
breaking previous changes to support IPv6 addresses in unquoted attribute
values)
2006-06-29 00:51:53 +00:00
Trent Mick
960a3f88e5
Mention the expat upgrade and pyexpat fix I put in 2.5b1.
2006-06-28 20:30:41 +00:00
Georg Brandl
1be63af41d
Fix end_fill().
2006-06-28 20:23:25 +00:00
Andrew M. Kuchling
ecfec78b7b
[Bug #1508766 ] Add docs for uuid module; this puts the module in the 'Internet Protocols' section. Arguably this module could also have gone in the chapters on strings or encodings, maybe even the crypto chapter. Fred, please move if you see fit.
2006-06-28 14:27:21 +00:00
Andrew M. Kuchling
146d3924b0
[Bug #1508766 ] Add docs for uuid module; docs written by George Yoshida, with minor rearrangements by me.
2006-06-28 14:25:20 +00:00
Armin Rigo
d77ef8fa51
A couple of crashers of the "won't fix" kind.
2006-06-28 10:49:51 +00:00
Nick Coghlan
999a336ad7
Make full module name available as __module_name__ even when __name__ is set to something else (like '__main__')
2006-06-28 10:41:47 +00:00
Neal Norwitz
0f8b31a2da
Fix bug #1512695 : cPickle.loads could crash if it was interrupted with
...
a KeyboardInterrupt since PyTuple_Pack was passed a NULL.
Will backport.
2006-06-28 06:28:31 +00:00
Neal Norwitz
7983c7298d
According to the man pages on Gentoo Linux and Tru64, EACCES or EAGAIN
...
can be returned if fcntl (lockf) fails. This fixes the test failure
on Tru64 by checking for either error rather than just EAGAIN.
2006-06-28 05:03:22 +00:00
Ronald Oussoren
0350f81abe
macosx: Install a libpython2.5.a inside the framework as a symlink to the actual
...
dylib at the root of the framework, that way tools that expect a unix-like
install (python-config, but more importantly external products like
mod_python) work correctly.
2006-06-27 15:45:32 +00:00
Ronald Oussoren
9b8b619491
Use staticly build copies of zlib and bzip2 to build the OSX installer, that
...
way the resulting binaries have a better change of running on 10.3.
This patch also updates the search logic for sleepycat db3/4, without this
patch you cannot use a sleepycat build with a non-standard prefix; with this
you can (at least on OSX) if you add the prefix to CPPFLAGS/LDFLAGS at
configure-time. This change is needed to build the binary installer for OSX.
2006-06-27 12:53:52 +00:00
Tim Peters
3249d00f4d
Whitespace normalization.
2006-06-27 11:52:49 +00:00
Ronald Oussoren
7b9053a274
MacOSX: fix rather dumb buglet that made it impossible to create extensions on
...
OSX 10.3 when using a binary distribution build on 10.4.
2006-06-27 10:08:25 +00:00
Vinay Sajip
6dd59f1632
Removed buggy exception handling in doRollover of rotating file handlers. Exceptions now propagate to caller.
2006-06-27 07:34:37 +00:00
Neal Norwitz
c315a0fa40
Verify buildbot picks up these changes (really needs testing after last change to Makefile.pre.in)
2006-06-27 04:28:56 +00:00
Neal Norwitz
0a903ac301
Try again: test unimportant change to verify buildbot does not try to build
2006-06-27 04:26:30 +00:00
Neal Norwitz
1da7384e34
Test unimportant change to verify buildbot does not try to build
2006-06-27 04:23:06 +00:00
Neal Norwitz
3b6b80159e
Fix SF bug #1513032 , 'make install' failure on FreeBSD 5.3.
...
No need to install lib-old, it's empty in 2.5.
2006-06-27 04:12:58 +00:00
Neal Norwitz
524b59bf7c
Instead of doing a make test, run the regression tests out of the installed
...
copy. This will hopefully catch problems where directories are added
under Lib/ but not to Makefile.pre.in. This breaks out the 2 runs
of the test suite with and without -O which is also nicer.
2006-06-27 04:09:13 +00:00
Neal Norwitz
25d4ca3f78
Ignore some more warnings in the dynamic linker on an older gentoo
2006-06-27 04:06:46 +00:00
Andrew M. Kuchling
15486f78f0
Attempt to fix build failure on OS X and Debian alpha; the symptom is
...
consistent with os.wait() returning immediately because some other
subprocess had previously exited; the test suite then immediately
tries to lock the mailbox and gets an error saying it's already
locked.
To fix this, do a waitpid() so the test suite only continues once
the intended child process has exited.
2006-06-26 17:00:35 +00:00
Andrew M. Kuchling
ec3c368195
Windows doesn't have os.fork(). I'll just disable this test for now
2006-06-26 14:33:24 +00:00
Andrew M. Kuchling
9afbacef27
Add a test for a conflicting lock.
...
On slow machines, maybe the time intervals (2 sec, 0.5 sec) will be too tight.
I'll see how the buildbots like it.
2006-06-26 13:23:10 +00:00
Andrew M. Kuchling
557325930c
[Bug #1512163 ] Use one set of locking methods, lockf();
...
remove the flock() calls.
On FreeBSD, the two methods lockf() and flock() end up using the same
mechanism and the second one fails. A Linux man page claims that the
two methods are orthogonal (so locks acquired one way don't interact
with locks acquired the other way) but that clearly must be false.
2006-06-26 13:12:16 +00:00
Andrew M. Kuchling
a7ee9eb3d9
[Bug #1512163 ] Fix typo.
...
This change will probably break tests on FreeBSD buildbots, but I'll check in
a fix for that next.
2006-06-26 13:08:24 +00:00
Andrew M. Kuchling
cd77e1cb2d
Describe workaround for PyRange_New()'s removal
2006-06-26 12:43:43 +00:00
Andrew M. Kuchling
1a0e129864
[Bug #1511998 ] Various comments from Nick Coghlan; thanks!
2006-06-26 12:40:02 +00:00
Ronald Oussoren
fb322cd3de
Also install the .egg-info files in Lib. This will cause wsgiref.egg-info to
...
be installed.
2006-06-25 21:19:06 +00:00
Ronald Oussoren
3e8d2f6e16
Use a path without a double slash to compile the .py files after installation
...
(macosx, binary installer). This fixes bug #1508369 for python 2.5.
2006-06-25 21:15:58 +00:00