summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #7099: Decimal.is_normal should return True for all nonzeroMark Dickinson2009-10-203-13/+16
| | | | finite non-subnormal values, even those with exponent > Emax.
* use property apiBenjamin Peterson2009-10-201-1/+1
|
* NEWS entry for r75531.Antoine Pitrou2009-10-191-0/+3
|
* Issue #5833: Fix extra space character in readline completion with theAntoine Pitrou2009-10-191-3/+4
| | | | GNU readline library version 6.0.
* Issue #7133: SSL objects now support the new buffer API.Antoine Pitrou2009-10-193-25/+33
| | | | This fixes the test_ssl failure.
* Clarify error report message, and don't recommend running in verboseR. David Murray2009-10-191-1/+3
| | | | mode for more information if we are already running in verbose mode.
* Eliminate warning message that looks like an error message. When it wasR. David Murray2009-10-191-2/+0
| | | | | | added not finding Lib/test in the path indicated something was wrong, but when running regtest using "python -m" Lib/test isn't typically in the path, so this message is now more disturbing than it is helpful.
* Only run test_curses when sys.__stdout__ is a tty. This eliminates theR. David Murray2009-10-191-0/+2
| | | | last false positive when running regrtest with -j.
* Issue #7169: Document PyFloat_AsString and PyFloat_AsReprString, and note ↵Eric Smith2009-10-192-0/+27
| | | | that they are unsafe and deprecated.
* Removed calls to PyFloat_AsReprString.Eric Smith2009-10-191-42/+63
| | | | | | | | | This is in anticipation of possibly implementing issue 7117 (short float repr). This removes the last calls to PyFloat_AsString, PyFloat_AsReprString, and PyFloat_AsStringEx, which are unsafe. Also, switch to defines for error values to bring this code more in line with the py3k branch.
* Issue #7151: regrtest would generate a JSON failure if there was outputR. David Murray2009-10-182-13/+19
| | | | | | | | | | | | to stderr during the test run and it happened to get emitted after the worker thread emitted the result JSON. Now we capture stdout and stderr separately, which avoids that problem. It also means that _all_ stderr output is after all stdout output when we print the test results, but that seems acceptable, since output ordering is not guaranteed anyway. The patch also moves the emit of the test name into the output block generated after the test completes. Otherwise test names and test output/errors were mixed in the terminal display, making it difficult to determine which test generated the output.
* Add a comment about unreachable code, and fix a typoAntoine Pitrou2009-10-181-1/+3
|
* Add a test for same-thread asynchronous exceptions (see #1779233).Antoine Pitrou2009-10-181-0/+19
|
* Restore sys.path in test_tkNick Coghlan2009-10-181-4/+4
|
* Silence a deprecation warning by using the appropriate replacement constructNick Coghlan2009-10-181-1/+3
|
* Changed distutils tests to avoid environment alterationTarek Ziadé2009-10-1813-34/+67
|
* Fix missing word.Georg Brandl2009-10-181-1/+1
|
* Fix for issue 7149: a regression in 2.6.3 that causes an exception whenRonald Oussoren2009-10-182-2/+11
| | | | trying to detect proxy settings on OSX.
* Using CleanImport to revert a reload of the os module doesn't work due to ↵Nick Coghlan2009-10-182-5/+24
| | | | function registrations in copy_reg. The perils of reloading modules even for tests...
* Fix a typo.Senthil Kumaran2009-10-181-1/+1
|
* Fix for Issue7155 - urllib do not document default use of system proxy ↵Senthil Kumaran2009-10-182-4/+14
| | | | configuration
* Protect against attempts to replace PyNumber_Add with PyNumber_InPlaceAdd in ↵Mark Dickinson2009-10-171-0/+4
| | | | builtin sum
* Don't replace sys.path in test_siteNick Coghlan2009-10-171-2/+2
|
* Avoid replacing existing modules and sys.path in import testsNick Coghlan2009-10-172-10/+14
|
* Also check and restore identity of sys.path, sys.argv and os.environ rather ↵Nick Coghlan2009-10-171-6/+9
| | | | than just their values (this picked up a few more misbehaving tests)
* Move restoration of the os.environ object into the context manager where it ↵Nick Coghlan2009-10-172-1/+1
| | | | belongs
* Revert changes made to environment in test_httpserversNick Coghlan2009-10-171-3/+6
|
* Don't invoke reload(sys) and use StringIO objects instead of real files to ↵Nick Coghlan2009-10-172-46/+37
| | | | capture stdin and stdout when needed (ensures all sys attributes remain unmodified after test_xmlrpc runs)
* Restore original sys.path when running TTK testsNick Coghlan2009-10-173-8/+33
|
* Fix refleaks in _ctypes PyCSimpleType_New, which fixes the refleak seen in ↵Georg Brandl2009-10-171-3/+3
| | | | test___all__.
* Check and revert expected sys.path alterationsNick Coghlan2009-10-171-5/+9
|
* Formatting tweak so that before and after values are vertically alignedNick Coghlan2009-10-171-2/+2
|
* Enhancement to the new environment checking code to print the changed items ↵Nick Coghlan2009-10-171-15/+39
| | | | under -vv. Also includes a small tweak to allow underscores in the names of resources.
* test_math ulp computation was wrong on big-endian systemsMark Dickinson2009-10-171-1/+1
|
* Correctly restore sys.stdout in test_descrNick Coghlan2009-10-171-0/+3
|
* this test requires zlib supportTarek Ziadé2009-10-161-0/+1
|
* Removed usage of unsafe PyFloat_AsString.Eric Smith2009-10-161-7/+13
|
* Issue #7120: logging: Removed import of multiprocessing which is causing ↵Vinay Sajip2009-10-162-14/+15
| | | | crash in GAE.
* Allow core Python build to succeed under WITHOUT_COMPLEX. The module build ↵Mark Dickinson2009-10-152-4/+9
| | | | stage still fails.
* Issue #7142: Fix uses of unicode in memoryview objectsMark Dickinson2009-10-152-2/+9
|
* only clear a module's __dict__ if the module is the only one with a ↵Benjamin Peterson2009-10-153-1/+15
| | | | reference to it #7140
* don't need to mess up sys.pathBenjamin Peterson2009-10-151-3/+0
|
* Fix missing semicolonMark Dickinson2009-10-151-1/+1
|
* make inspect.isabstract() always return a boolean; add a test for it, too #7069Benjamin Peterson2009-10-153-1/+26
|
* some cleanupsBenjamin Peterson2009-10-151-10/+10
|
* change test to what I intendedBenjamin Peterson2009-10-151-2/+2
|
* use floor division and add a test that exercises the tabsize codepathBenjamin Peterson2009-10-152-1/+18
|
* pep8ify if blocksBenjamin Peterson2009-10-151-9/+18
|
* Make cPickle.Unpickler.noload() handle dict subclasses. noload() isNeil Schemenauer2009-10-141-4/+31
| | | | | an obscure, undocumentated feature so no test was added. Closes issue #1101399.
* Add support to the ihooks module for relative imports.Neil Schemenauer2009-10-142-21/+55
|