summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make kill_python a little more forgiving if it can't obtain a snapshot of ↵Trent Nelson2008-04-031-5/+9
| | | | module information for a given python[_d].exe process. Failing here was too pessimistic; the python[_d].exe process may be owned by another user, which is the case in some buildbot environments.
* Add the correct OutputFile values for debug builds. Fixes r62129's commit.Trent Nelson2008-04-031-0/+2
|
* Reimplement kill_python. The existing version had a number of flaws, ↵Trent Nelson2008-04-0313-99/+513
| | | | | | | | | | | | | | | | | | | namely, it didn't work for x64 and it wasn't precise about which python_d.exe it was killing -- it just killed the first one it came across that happened to have 'pcbuild\python_d.exe' or 'build\python_d.exe' in it's path. The new version has been rewritten from the ground up and now lives in PCbuild, instead of Tools\buildbot, and it has also been incorporated into the Visual Studio solution (pcbuild.sln) as 'kill_python'. The solution has also been altered such that kill_python is called where necessary in the build process in order to prevent any linking errors due to open file locks. In lieu of this, all of the existing bits and pieces in Tools\buildbot that called out to kill_python at various points have also been removed as they are now obsolete. Tested on both Win32 and x64. Change set (included to improve usefulness of svnmerge log entry): M PCbuild\pythoncore.vcproj M PCbuild\pcbuild.sln M PCbuild\release.vsprops A PCbuild\kill_python.vcproj M PCbuild\debug.vsprops A PCbuild\kill_python.c D Tools\buildbot\kill_python.bat D Tools\buildbot\kill_python.mak M Tools\buildbot\build.bat D Tools\buildbot\Makefile M Tools\buildbot\build-amd64.bat M Tools\buildbot\buildmsi.bat D Tools\buildbot\kill_python.c
* Remove the building of Berkeley DB step; _bsddb44.vcproj takes care of this ↵Trent Nelson2008-04-031-3/+0
| | | | for us now.
* Post tag version tweakBarry Warsaw2008-04-031-1/+1
|
* Create the tag for 2.6a2Barry Warsaw2008-04-031-0/+1
|
* Updating for 2.6a2v2.6a2Barry Warsaw2008-04-035-7/+14
|
* Suggested proposed changes to Python be considered on some mailing lists firstBenjamin Peterson2008-04-021-3/+5
|
* Remove debug prints; the buildbot now passes the testsAmaury Forgeot d'Arc2008-04-021-14/+0
|
* Added updates with respect to recent changes to TimedRotatingFileHandler.Vinay Sajip2008-04-021-4/+5
|
* Added updates with respect to recent changes to TimedRotatingFileHandler.Vinay Sajip2008-04-021-8/+17
|
* Fix: #2315, #2316, #2317: TimedRotatingFileHandler - changed logic to better ↵Vinay Sajip2008-04-021-10/+62
| | | | handle daylight savings time, deletion of old log files, and fixed a bug in calculating rollover when no logging occurs for a longer interval than the rollover period.
* Update information pertaining to building external components, as well as ↵Trent Nelson2008-04-021-134/+95
| | | | notes on x64 builds. This file now accurately describes the build process as is; however, there's still a lot of room for improvement, especially with regards to how we build Tcl/Tk, Tix, and OpenSSL. Watch this space for further improvements.
* Apply same patch from 3k branch to try and prevent this test from hangingNeal Norwitz2008-04-021-0/+1
| | | | on various platforms, most recently the Alpha Tru64.
* Try to make test_signal less flaky. I still see some flakiness inJeffrey Yasskin2008-04-021-6/+24
| | | | test_itimer_prof.
* A DocTestSuite cannot run multiple times: it clears its globals dictionary ↵Amaury Forgeot d'Arc2008-04-021-3/+2
| | | | | | after the first run. Rebuild the DocTestSuite on each iteration.
* Correct the apparent refleak in test_io:Amaury Forgeot d'Arc2008-04-021-12/+10
| | | | | | | | | | | | | | | When cls is an ABCMeta, every call to isinstance(x, cls) records type(x) in the cls._abc_cache of cls_abc_negative_cache. So we clear these caches at the end of the test. inspect.isabstract() is not the correct test for all ABCs, because there is no @abstractmethod in io.py (why?) isinstance(cls, ABCMeta) would be more exact, but it fails with an infinite recursion. So I used a hack to determine whether a class is an ABCMeta. The true correction would be to turn cls._abc_cache &co into a WeakSet, as py3k does. But classic classes are not weak referenceable... Of course, this change should not be merged into the py3k branch.
* Remove the advertising clause from the BSD license in timing.h.Guido van Rossum2008-04-011-6/+3
| | | | I have the email trail to prove that George Neville-Neil approved this.
* Newly enabled test appears to leak:Amaury Forgeot d'Arc2008-04-011-12/+19
| | | | | it registers the same codec on each iteration. Do it only once at load time.
* Fix and enable a skipped test:Amaury Forgeot d'Arc2008-04-011-5/+4
| | | | | | with python 2.6, enumerating bytes yields 1-char strings, not numbers. Don't merge this into the py3k branch.
* Add ``if __name__ == '__main__'`` to some test files where it didn't take a lotBrett Cannon2008-04-014-18/+36
| | | | of effort to do so.
* Generalize test.test_support.test_stdout() with a base context manager so thatBrett Cannon2008-04-011-7/+11
| | | | it is easy to capture stderr if desired.
* Be sure to close the file. 2 places were deleting the file, so it was probablyNeal Norwitz2008-04-011-1/+3
| | | | | fine, but the last change may be required for the test to pass on Windows. Should we always close the mmap too?
* PyErr_Warn is decrepated. Use PyErr_WarnExBenjamin Peterson2008-03-311-1/+1
|
* Merged revisions 61990-62079 via svnmerge fromMartin v. Löwis2008-03-311-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r62017 | david.wolever | 2008-03-28 21:54:37 +0100 (Fr, 28 Mär 2008) | 1 line Fixed an out-of-date comment. ........
* Use file.write instead of print to make it easier to merge with 3k.Neal Norwitz2008-03-311-12/+13
|
* Block the sys.exc_clear -3 warning from threading.py.Jeffrey Yasskin2008-03-311-0/+7
|
* Make AST nodes pickleable.Georg Brandl2008-03-303-4/+68
|
* Fix error message -- "expects either 0 or 0 arguments"Georg Brandl2008-03-302-4/+8
|
* The other download formats will be available for 2.6 too.Georg Brandl2008-03-301-1/+1
|
* Updated README regarding doc formatsBenjamin Peterson2008-03-301-8/+8
|
* Make _fields attr for no fields consistent with _attributes attr.Georg Brandl2008-03-303-16/+9
|
* Convert test_ast to unittest and add a test for r62049.Georg Brandl2008-03-301-34/+61
|
* #2505: allow easier creation of AST nodes.Georg Brandl2008-03-303-32/+238
|
* Adapt test_ast to the new ExceptHandler type.Georg Brandl2008-03-301-1/+2
|
* Patch #2511: Give the "excepthandler" AST item proper attributes by making ↵Georg Brandl2008-03-306-104/+136
| | | | it a Sum.
* Documented the lastrowid attribute.Gerhard Häring2008-03-291-0/+6
|
* #2503 make singletons compared with "is" not == or !=Benjamin Peterson2008-03-2954-141/+140
| | | | Thanks to Wummel for the patch
* Still investigating on the hanging test_socket.Amaury Forgeot d'Arc2008-03-291-2/+4
| | | | the test itself doesn't do anything on windows, focus on setUp and tearDown.
* The buildbot "x86 W2k8 trunk" seems to hang in test_socket.Amaury Forgeot d'Arc2008-03-291-0/+12
| | | | | | http://www.python.org/dev/buildbot/trunk/x86%20W2k8%20trunk/builds/255/step-test/0 Temporarily increase verbosity of this test.
* Properly check for consistency with the third argument ofGeorg Brandl2008-03-295-26/+54
| | | | compile() when compiling an AST node.
* Now that Lib/test/output is gone, tests should not print anything,Amaury Forgeot d'Arc2008-03-291-63/+19
| | | | | except in verbose mode. Support code is much simpler.
* lib2to3 should install a logging handler only when run as a main program,Amaury Forgeot d'Arc2008-03-291-9/+9
| | | | | | not when used as a library. This may please the buildbots, which fail when test_lib2to3 is run before test_logging.
* Fix capitalization.Georg Brandl2008-03-291-1/+1
|
* Be explicit about what efficient means.Raymond Hettinger2008-03-291-2/+2
|
* Backport #1442: report exception when startup file cannot be run.Georg Brandl2008-03-292-0/+12
|
* Correctly call the base class tearDown();Amaury Forgeot d'Arc2008-03-291-0/+1
| | | | otherwise running test_logging twice produce the errors we see on all buildbots
* Revert my experiment. I found one reason of failures in test_logging.Amaury Forgeot d'Arc2008-03-291-3/+1
|
* Brought documentation for sqlite3 module up-to-date. Fixed Issue1625205 whichGerhard Häring2008-03-292-5/+59
| | | | complained about commit, rollback and close not being documented.
* At least let the module compileAmaury Forgeot d'Arc2008-03-291-0/+1
|