summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* sqlite3: Fix a segfault on calling a connection with something else than aVictor Stinner2010-03-131-7/+12
| | | | | | | | string. Initialize all attributes to be able to call the statement destructor on error. Avoid also a duplicate connection in some tests: setUp() does already open a connection (":memory:").
* Issue #7818: set().test_c_api() doesn't expect a set('abc'), modify the set.Victor Stinner2010-03-131-1/+1
|
* Issue #8117: logging: Improved algorithm for computing initial rollover time.Vinay Sajip2010-03-121-2/+6
|
* remove shebang line from non-executable testBenjamin Peterson2010-03-111-2/+0
|
* normalize shebang lines to #!/usr/bin/env pythonBenjamin Peterson2010-03-112-2/+2
|
* revert r78842 cgi.py changeBenjamin Peterson2010-03-111-1/+1
|
* use proper shebang linesBenjamin Peterson2010-03-112-2/+2
|
* remove executable property from doc filesBenjamin Peterson2010-03-112-0/+0
|
* Fix repr of tree Element on windows.Florent Xicluna2010-03-111-3/+4
|
* Issue #6472: The xml.etree package is updated to ElementTree 1.3. The ↵Florent Xicluna2010-03-118-800/+2590
| | | | cElementTree module is updated too.
* Another fix to test_executable() of test_sys: set the current working to avoidVictor Stinner2010-03-111-1/+4
| | | | the #7774 bug.
* Fix test_executable introduce in previous commit (r78835): Windows is able toVictor Stinner2010-03-111-2/+2
| | | | | retrieve the absolute Python path even if argv[0] has been set to a non existent program name.
* Issue #7774: Set sys.executable to an empty string if argv[0] has beenVictor Stinner2010-03-112-1/+17
| | | | | | | | set to an non existent program name and Python is unable to retrieve the real program name. Fix also sysconfig: if sys.executable is an empty string, use the current working directory.
* Revert r78830: realpath() should really be applied to sys.executable.Florent Xicluna2010-03-112-4/+3
|
* It is not optimal to test sys.stderr on a debug build.Florent Xicluna2010-03-111-2/+1
|
* Fix the test_subprocess failure when sys.executable is meaningless: '' or a ↵Florent Xicluna2010-03-112-3/+4
| | | | | | directory. It does not fix #7774.
* Issue #7880: Fix sysconfig when the python executable is a symbolic link.Florent Xicluna2010-03-102-7/+25
|
* ooops, fix error message in execusercustomize()Victor Stinner2010-03-101-1/+1
| | | | Copy/paste failure :-)
* Issue #3137: Don't ignore errors at startup, especially a keyboard interruptVictor Stinner2010-03-101-0/+12
| | | | | | (SIGINT). If an error occurs while importing the site module, the error is printed and Python exits. Initialize the GIL before importing the site module.
* #7772: Fix test_py3kwarn. Now the test suite could pass with "-3" flag.Florent Xicluna2010-03-092-18/+33
|
* Improve code clarity a bit.Raymond Hettinger2010-03-091-5/+10
|
* Have links in OrderedDicts be native Python lists insteadRaymond Hettinger2010-03-091-28/+19
| | | | | | of a custom class with __slots__. This simplifies the code a bit, reduces memory consumption, improves speed, and eliminates the need for weak reference proxies.
* Add nicer docstrings to namedtuples().Raymond Hettinger2010-03-091-1/+4
| | | | Provides better tooltips and looks better in help().
* set svn:eol-style on various filesBenjamin Peterson2010-03-081-311/+309
|
* #7624: Fix isinstance(foo(), collections.Callable) for old-style classes.Florent Xicluna2010-03-083-12/+61
|
* Move some tests from test_macpath to test_genericpath.CommonTestFlorent Xicluna2010-03-082-10/+12
|
* On finalize, don't try to join not started process.Florent Xicluna2010-03-081-5/+3
|
* Replace the stderr logging with assertNotEqual(returncode, 0).Florent Xicluna2010-03-081-4/+2
|
* Fix syntax: "rc != None" -> "rc is not None"Florent Xicluna2010-03-081-1/+1
|
* Don't fail on a debug() statement, if the worker PID is (still) None.Florent Xicluna2010-03-081-1/+1
|
* Issue #7143: get_payload used to strip any trailing newline from aR. David Murray2010-03-085-9/+25
| | | | | | | | | | base64 transfer-encoded payload *after* decoding it; it no longer does. email had a special method in utils, _bdecode, specifically to do this, so it must have served a purpose at some point, yet it is clearly wrong per RFC. Fixed with Barry's approval, but no backport. Email package minor version number is bumped, now version 4.0.1. Patch by Joaquin Cuenca Abela.
* Backport the Popen.poll() protection from subprocess to multiprocessing. See ↵Florent Xicluna2010-03-071-1/+6
| | | | | | #1731717. It should fix transient failures on test_multiprocessing.
* Remove accidental print statement from last commit.Michael Foord2010-03-071-1/+0
|
* Fix accidental name rebinding in unittest py3k warning filtering.Michael Foord2010-03-071-2/+3
|
* Addition of setUpClass and setUpModule shared fixtures to unittest.Michael Foord2010-03-075-11/+600
|
* Fix for potentials errors in constructing unittest failure messages. Plus ↵Michael Foord2010-03-072-13/+70
| | | | skipped test methods no longer run setUp and tearDown (Issue 8059)
* Refresh the documentation for the test.test_support module.Florent Xicluna2010-03-071-5/+5
|
* #2777: Try hard to make Win7 buildbot happy...Florent Xicluna2010-03-071-2/+3
|
* Issue #1530559: When packing a non-integer with any integer conversionMark Dickinson2010-03-071-22/+47
| | | | | | | | | code using struct.pack, attempt to convert to an integer first using the argument's __int__ method (if present). Also raise a DeprecationWarning for any such usage of __int__. This fixes a regression from 2.6, where some (but not all) integer conversion codes already used __int__.
* Do not fail if returncode is 0 on send_signal/kill/terminate, for win32 ↵Florent Xicluna2010-03-071-39/+44
| | | | | | platforms. Do not hide the KeyboardInterrupt on POSIX platforms.
* #2777: Enable test_send_signal, test_terminate and test_kill on win32 platforms.Florent Xicluna2010-03-071-3/+0
|
* Issue #7849: Now the utility ``check_warnings`` verifies if the warnings areFlorent Xicluna2010-03-077-26/+98
| | | | effectively raised. A new utility ``check_py3k_warnings`` deals with py3k warnings.
* Fix some py3k warnings in the standard library.Florent Xicluna2010-03-079-40/+45
|
* Reverting the change made in r78431.Senthil Kumaran2010-03-072-4/+0
|
* eliminate py3k warnings in argparseBenjamin Peterson2010-03-072-0/+12
|
* bump version to 2.7a4v2.7a4Benjamin Peterson2010-03-062-2/+2
|
* Skip test_send_signal, test_kill, test_terminate on win32 platforms, for ↵Florent Xicluna2010-03-061-5/+11
| | | | 2.7a4 release.
* Minor tweaking of previous r78734, and add a NEWS entry.Florent Xicluna2010-03-064-52/+58
|
* Create test_genericpath.CommonTest and reuse it to test other path modules.Florent Xicluna2010-03-064-325/+165
|
* Do not print the header lines when running a single test.Florent Xicluna2010-03-061-7/+9
|