summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Try to understand why most buildbots suddenly turned to red.Amaury Forgeot d'Arc2008-03-291-1/+2
| | | | | | Undo the only change that might have unexpected effects. To be followed.
* NIL => NULLBenjamin Peterson2008-03-281-1/+1
|
* One #ifdef too much, and I broke all windows buildbots:Amaury Forgeot d'Arc2008-03-281-2/+0
| | | | | | in pyconfig.h, NTDDI_WIN2KSP4 is not *yet* defined, but will be at some point on some modules. Let this line even for older SDKs, they don't use it anyway.
* Repair compilation for Visual Studio 2005.Amaury Forgeot d'Arc2008-03-2813-40/+69
| | | | | | | I applied the same changes manually to VS7.1 and VC6 files; completely untested. (Christian, don't try too hard merging this change into py3k. It will be easier to do the same work again on the branch)
* #2498 modernized try, except, finally statements in bdbBenjamin Peterson2008-03-281-12/+9
|
* Fix a reference leak found by Georg, when compiling a class nested in ↵Amaury Forgeot d'Arc2008-03-282-0/+4
| | | | | | | | another class. Now "regrtest.py -R:: test_compile" is satisfied. Will backport.