summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Only setup canvas when it is first created.Martin v. Löwis2006-07-032-1/+4
| | | | Fixes #1514703
* Whitespace normalization.Tim Peters2006-07-031-1/+1
|
* Add a new function uses_seh() to the _ctypes extension module. ThisThomas Heller2006-07-032-9/+19
| | | | | | | | | | | | will return True if Windows Structured Exception handling (SEH) is used when calling functions, False otherwise. Currently, only MSVC supports SEH. Fix the test so that it doesn't crash when run with MingW compiled _ctypes. Note that two tests are still failing when mingw is used, I suspect structure layout differences and function calling conventions between MSVC and MingW.
* Fixes so that _ctypes can be compiled with the MingW compiler.Thomas Heller2006-07-032-6/+4
| | | | | | | It seems that the definition of '__attribute__(x)' was responsible for the compiler ignoring the '__fastcall' attribute on the ffi_closure_SYSV function in libffi_msvc/ffi.c, took me quite some time to figure this out.
* Don't run the doctests with Python 2.3 because it doesn't have the ELLIPSIS ↵Thomas Heller2006-07-031-4/+8
| | | | flag.
* Cleanup: Remove commented out code.Thomas Heller2006-07-031-22/+1
|
* Correct arithmetic in access on Win32. Fixes #1513646.Martin v. Löwis2006-07-023-1/+18
|
* The sqlite3 module did cut off data from the SQLite database at the first nullGerhard Häring2006-07-024-5/+28
| | | | character before sending it to a custom converter. This has been fixed now.
* SF bug #1296433 (Expat bug #1515266): Unchecked calls to character dataFred Drake2006-07-013-56/+23
| | | | | | | | 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.
* Release all forwarded functions in .close. Fixes #1513223.Martin v. Löwis2006-07-013-14/+34
|
* Added duplicate call to fileConfig() to ensure that it cleans up after ↵Vinay Sajip2006-07-011-0/+2
| | | | itself correctly.
* Added entry for fileConfig() bugfix.Vinay Sajip2006-07-011-4/+7
|
* - consistency nit: always include "()" in \function and \methodFred Drake2006-06-301-8/+8
| | | | | (*should* be done by the presentation, but that requires changes all over) - avoid spreading the __name meme
* Document decorator usage of property.Georg Brandl2006-06-301-1/+16
|
* Remove now-unused fidding with PY_FORMAT_SIZE_T.Tim Peters2006-06-301-4/+0
|
* Revert the use of PY_FORMAT_SIZE_T in PyErr_Format.Thomas Heller2006-06-301-1/+5
|
* Another problem reported by Coverity. Backport candidate.Neal Norwitz2006-06-301-0/+2
|
* Silence compiler warningNeal Norwitz2006-06-301-1/+6
|
* Whitespace normalization.Tim Peters2006-06-302-5/+5
|
* Fixed bug in fileConfig() which failed to clear logging._handlerListVinay Sajip2006-06-301-0/+1
|
* add string methods to indexSkip Montanaro2006-06-291-0/+1
|
* Patch #1509163: MS Toolkit Compiler no longer availableMartin v. Löwis2006-06-292-1/+15
|
* Protect the thread api calls in the _ctypes extension module withinThomas Heller2006-06-294-1/+25
| | | | #ifdef WITH_THREADS/#endif blocks. Found by Sam Rushing.
* This should fix the buildbot failure on s/390 which can't connect to gmail.org.Neal Norwitz2006-06-291-6/+9
| | | | | | 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.
* Add new utility function, reap_children(), to test_support. This shouldNeal Norwitz2006-06-2914-8/+58
| | | | | | | | | | 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.
* document recent bugfixes in sgmllibFred Drake2006-06-291-0/+6
|
* SF bug #1504333: sgmlib should allow angle brackets in quoted valuesFred Drake2006-06-292-9/+25
| | | | | | | (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)
* Mention the expat upgrade and pyexpat fix I put in 2.5b1.Trent Mick2006-06-281-0/+4
|
* Fix end_fill().Georg Brandl2006-06-282-1/+3
|
* [Bug #1508766] Add docs for uuid module; this puts the module in the ↵Andrew M. Kuchling2006-06-281-0/+1
| | | | '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.
* [Bug #1508766] Add docs for uuid module; docs written by George Yoshida, ↵Andrew M. Kuchling2006-06-281-0/+231
| | | | with minor rearrangements by me.
* A couple of crashers of the "won't fix" kind.Armin Rigo2006-06-282-0/+26
|
* Make full module name available as __module_name__ even when __name__ is set ↵Nick Coghlan2006-06-283-26/+47
| | | | to something else (like '__main__')
* Fix bug #1512695: cPickle.loads could crash if it was interrupted withNeal Norwitz2006-06-282-2/+12
| | | | | | a KeyboardInterrupt since PyTuple_Pack was passed a NULL. Will backport.
* According to the man pages on Gentoo Linux and Tru64, EACCES or EAGAINNeal Norwitz2006-06-281-1/+1
| | | | | can be returned if fcntl (lockf) fails. This fixes the test failure on Tru64 by checking for either error rather than just EAGAIN.
* macosx: Install a libpython2.5.a inside the framework as a symlink to the actualRonald Oussoren2006-06-271-0/+3
| | | | | | 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.
* Use staticly build copies of zlib and bzip2 to build the OSX installer, thatRonald Oussoren2006-06-272-42/+93
| | | | | | | | | 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.
* Whitespace normalization.Tim Peters2006-06-273-4/+4
|
* MacOSX: fix rather dumb buglet that made it impossible to create extensions onRonald Oussoren2006-06-272-2/+2
| | | | OSX 10.3 when using a binary distribution build on 10.4.
* Removed buggy exception handling in doRollover of rotating file handlers. ↵Vinay Sajip2006-06-271-12/+2
| | | | Exceptions now propagate to caller.
* Verify buildbot picks up these changes (really needs testing after last ↵Neal Norwitz2006-06-272-2/+2
| | | | change to Makefile.pre.in)
* Try again: test unimportant change to verify buildbot does not try to buildNeal Norwitz2006-06-271-0/+1
|
* Test unimportant change to verify buildbot does not try to buildNeal Norwitz2006-06-271-1/+0
|
* Fix SF bug #1513032, 'make install' failure on FreeBSD 5.3.Neal Norwitz2006-06-272-1/+6
| | | | No need to install lib-old, it's empty in 2.5.
* Instead of doing a make test, run the regression tests out of the installedNeal Norwitz2006-06-271-5/+17
| | | | | | 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.
* Ignore some more warnings in the dynamic linker on an older gentooNeal Norwitz2006-06-271-0/+9
|
* Attempt to fix build failure on OS X and Debian alpha; the symptom isAndrew M. Kuchling2006-06-261-1/+1
| | | | | | | | | | 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.
* Windows doesn't have os.fork(). I'll just disable this test for nowAndrew M. Kuchling2006-06-261-0/+2
|
* Add a test for a conflicting lock.Andrew M. Kuchling2006-06-261-0/+22
| | | | | On slow machines, maybe the time intervals (2 sec, 0.5 sec) will be too tight. I'll see how the buildbots like it.
* [Bug #1512163] Use one set of locking methods, lockf();Andrew M. Kuchling2006-06-261-12/+2
| | | | | | | | | 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.