summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Fixed typo in comment.Hirokazu Yamamoto2010-12-091-1/+1
|
* Issue #6697: Fixed instances of _PyUnicode_AsString() result not checked for ↵Alexander Belopolsky2010-12-085-2/+30
| | | | NULL
* Have script_helper._assert_python strip refcount strings from stderr.R. David Murray2010-12-081-1/+3
| | | | | | This makes the output of the function and those that depend on it independent of whether or not they are being run under a debug build.
* Issue #10546: UTF-16-LE and UTF-16-BE *do* support non-BMP charactersVictor Stinner2010-12-081-0/+12
| | | | Fix the doc and add tests.
* Update whatsnew. Salt the random number seed.Raymond Hettinger2010-12-081-2/+2
|
* return views from dict proxy items/values/keys #10630Benjamin Peterson2010-12-071-5/+11
|
* Temporarily disable newly failing test for the release.Georg Brandl2010-12-051-0/+3
|
* More fine-grained monitoring of alterations to logging stateNick Coghlan2010-12-051-4/+10
|
* Issue 10626 investigation: regrtest now checks for alterations to the ↵Nick Coghlan2010-12-051-1/+11
| | | | logging state in the current process (and yes, test_pydoc alters it)
* Should use posix_error here.Hirokazu Yamamoto2010-12-051-1/+1
|
* Avoid possible zombi process.Hirokazu Yamamoto2010-12-051-2/+4
|
* Now can reproduce the error on AMD64 Windows Server 2008Hirokazu Yamamoto2010-12-051-16/+21
| | | | even where os.symlink is not supported.
* configparser: mapping protocol access get() handles configparser-specific ↵Łukasz Langa2010-12-041-0/+43
| | | | arguments as well
* Use proper plural forms in argparse (#4391)Éric Araujo2010-12-041-1/+1
|
* Issue #10601: sys.displayhook uses 'backslashreplace' error handler onVictor Stinner2010-12-041-0/+18
| | | | UnicodeEncodeError.
* More issue #10624: Add requires_IEEE_754 to __all__.Eric Smith2010-12-041-1/+1
|
* Fix test suite to not activate new sigint behavior in pdb.Georg Brandl2010-12-042-12/+13
|
* Issue 10625: Add tests for negative zeros in complex str and repr.Eric Smith2010-12-041-0/+16
|
* Issue #10624: Use support.requires_IEEE_754 in all appropriate tests.Eric Smith2010-12-047-57/+31
|
* support for checking test coverage added.Łukasz Langa2010-12-041-2/+14
| | | | 70% coverage at the moment (not tragic but needs work).
* Issue #10624: Move requires_IEEE_754 into test.support. I'll fix up other ↵Eric Smith2010-12-042-6/+6
| | | | uses of it shortly.
* Removed static function complex_format, moved it into complex_repr. Modified ↵Eric Smith2010-12-041-16/+20
| | | | tests to check both str and repr, which are the same for complex.
* configparser: fixed inconsistency where in SafeConfigParser option valuesŁukasz Langa2010-12-041-0/+23
| | | | | were ensured to be strings but section names and option keys were not. Behaviour unchanged for RawConfigParser and ConfigParser.
* Issue #10596: Fix float.__mod__ to have the same behaviour asMark Dickinson2010-12-041-0/+20
| | | | float.__divmod__ with respect to signed zeros.
* #7905: Actually respect the keyencoding parameter to shelve.Shelf.Georg Brandl2010-12-041-0/+13
|
* #1569291: speed up array.repeat() by making only O(log n) memcpy() calls; ↵Georg Brandl2010-12-041-0/+6
| | | | the code follows unicode_repeat.
* #1513299: cleanup some map() uses where a comprehension works better.Georg Brandl2010-12-042-2/+2
|
* Add an "optimize" parameter to compile() to control the optimization level, ↵Georg Brandl2010-12-043-0/+54
| | | | and provide an interface to it in py_compile, compileall and PyZipFile.
* refactor the warning test.Gregory P. Smith2010-12-041-23/+11
|
* #6045: provide at least get() and setdefault() for all dbm modules.Georg Brandl2010-12-041-0/+4
|
* issue7213 + issue2320: Cause a DeprecationWarning if the close_fds argument isGregory P. Smith2010-12-041-1/+31
| | | | | | | | | | | | not passed to subprocess.Popen as the default value will be changing in a future Python to the safer and more often desired value of True. DeprecationWarnings that show up in a lot of existing code are controversial and have caused pain in the past. I'd like to leave this on for 3.2 beta1 and see how things go. We can remove the warning if it is deemed too noisy during any betas. (case study: the md5 and sha module DeprecationWarnings are loathed around the world as those modules were never going to be removed in 2.x and 2to3 has a fixer for code that uses them)
* Issue #10557: Fixed error messages from float() and other numericAlexander Belopolsky2010-12-044-4/+41
| | | | | | types. Added a new API function, PyUnicode_TransformDecimalToASCII(), which transforms non-ASCII decimal digits in a Unicode string to their ASCII equivalents.
* Issue #10272: The ssl module now raises socket.timeout instead of a genericAntoine Pitrou2010-12-031-2/+2
| | | | SSLError on socket timeouts.
* Fix so that test.test_unittest can be executed by unittest and not just regrtestMichael Foord2010-12-031-0/+5
|
* Issue #10478: Reentrant calls inside buffered IO objects (for example byAntoine Pitrou2010-12-031-0/+38
| | | | | way of a signal handler) now raise a RuntimeError instead of freezing the current process.
* Issue 10499: Modular interpolation in configparserŁukasz Langa2010-12-031-2/+75
|
* Handle Windows paths and don't double up on HTML header sections in new ↵Nick Coghlan2010-12-031-3/+5
| | | | pydoc URL handler
* Issue 2690: Add support for slicing and negative indices to range objects ↵Nick Coghlan2010-12-032-3/+74
| | | | | | (includes precalculation and storage of the range length). Refer to the tracker issue for the language moratorium implications of this change
* Factor out common code from lib/test/__main__.py and lib/test/regrtest.py ↵Michael Foord2010-12-032-47/+21
| | | | into a function.
* logging: Added getLogRecordFactory/setLogRecordFactory with docs and tests.Vinay Sajip2010-12-031-5/+5
|
* Fix lib/test/__main__.py to work even outside a Python build.Michael Foord2010-12-031-0/+2
|
* Adding lib/test/__main__.py for running tests with 'python -m test'Michael Foord2010-12-031-0/+40
|
* Improve Pydoc interactive browsing (#2001). Patch by Ron Adam.Nick Coghlan2010-12-031-17/+86
| | | | | | | | | | | | | | * A -b option to start an enhanced browsing session. * Allow -b and -p options to be used together. * Specifying port 0 will pick an arbitrary unused socket port. * A new browse() function to start the new server and browser. * Show Python version information in the header. * A *Get* field which takes the same input as the help() function. * A *Search* field which replaces the Tkinter search box. * Links to *Module Index*, *Topics*, and *Keywords*. * Improved source file viewing. * An HTMLDoc.filelink() method. * The -g option and the gui() and serve() functions are deprecated.
* #10360: catch TypeError in WeakSet.__contains__, just like WeakKeyDictionary ↵Georg Brandl2010-12-031-1/+2
| | | | does.
* #940286: pydoc.Helper.help() ignores input/output init parameters.Georg Brandl2010-12-031-2/+39
|
* Partially revert r78719 - it removed a check that is still needed in some ↵Nick Coghlan2010-12-031-0/+13
| | | | cases (i.e. this will allow Michael to add the test.__main__ support that broke the buildbots previously)
* #1745035: add limits for command and data size to smtpd; patch by Savio Sena.Georg Brandl2010-12-031-0/+18
|
* #1486713: Add a tolerant mode to HTMLParser.R. David Murray2010-12-031-6/+42
| | | | | | | | | | | | The motivation for adding this option is that the the functionality it provides used to be provided by sgmllib in Python2, and was used by, for example, BeautifulSoup. Without this option, the Python3 version of BeautifulSoup and the many programs that use it are crippled. The original patch was by 'kxroberto'. I modified it heavily but kept his heuristics and test. I also added additional heuristics to fix #975556, #1046092, and part of #6191. This patch should be completely backward compatible: the behavior with the default strict=True is unchanged.
* Fix #10554. Added context manager support to Popen objects.Brian Curtin2010-12-031-1/+43
| | | | | | Added a few common Popen uses to the tests like we've done for a few other instances of adding context managers. Eventually the entire test suite could be converted to use the context manager format.
* Update the itertools.accumulate() docs.Raymond Hettinger2010-12-031-0/+1
|