Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Factor out common code from lib/test/__main__.py and lib/test/regrtest.py ↵ | Michael Foord | 2010-12-03 | 3 | -47/+24 |
| | | | | into a function. | ||||
* | logging: Added getLogRecordFactory/setLogRecordFactory with docs and tests. | Vinay Sajip | 2010-12-03 | 4 | -18/+87 |
| | |||||
* | Fix lib/test/__main__.py to work even outside a Python build. | Michael Foord | 2010-12-03 | 1 | -0/+2 |
| | |||||
* | Adding lib/test/__main__.py for running tests with 'python -m test' | Michael Foord | 2010-12-03 | 1 | -0/+40 |
| | |||||
* | #10549: fix interface of docclass() for text documenter. | Georg Brandl | 2010-12-03 | 2 | -1/+3 |
| | |||||
* | Add a line with the actual changes. | Georg Brandl | 2010-12-03 | 1 | -0/+1 |
| | |||||
* | Improve Pydoc interactive browsing (#2001). Patch by Ron Adam. | Nick Coghlan | 2010-12-03 | 6 | -73/+656 |
| | | | | | | | | | | | | | | * 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. | ||||
* | Rewrap NEWS (Builbot test commit.) | Georg Brandl | 2010-12-03 | 1 | -52/+52 |
| | |||||
* | #10360: catch TypeError in WeakSet.__contains__, just like WeakKeyDictionary ↵ | Georg Brandl | 2010-12-03 | 3 | -2/+10 |
| | | | | does. | ||||
* | Remove redundant check for PyBytes in unicode_encode. | Georg Brandl | 2010-12-03 | 1 | -17/+1 |
| | |||||
* | Use booleans. | Georg Brandl | 2010-12-03 | 1 | -3/+3 |
| | |||||
* | #940286: pydoc.Helper.help() ignores input/output init parameters. | Georg Brandl | 2010-12-03 | 3 | -8/+60 |
| | |||||
* | Partially revert r78719 - it removed a check that is still needed in some ↵ | Nick Coghlan | 2010-12-03 | 2 | -0/+16 |
| | | | | 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 Brandl | 2010-12-03 | 3 | -0/+45 |
| | |||||
* | Move entries from "core" section to where they belong. | Georg Brandl | 2010-12-03 | 1 | -23/+23 |
| | |||||
* | Add missing versionchanged, correct 'throw' wording to 'raise'. | R. David Murray | 2010-12-03 | 1 | -2/+4 |
| | |||||
* | #1486713: Add a tolerant mode to HTMLParser. | R. David Murray | 2010-12-03 | 4 | -24/+139 |
| | | | | | | | | | | | | 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 Curtin | 2010-12-03 | 4 | -1/+65 |
| | | | | | | 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 Hettinger | 2010-12-03 | 2 | -5/+5 |
| | |||||
* | Remove test/__main__.py until runpy tests can be fixed | Michael Foord | 2010-12-03 | 1 | -40/+0 |
| | |||||
* | Simplify the signature for itertools.accumulate() to match numpy. Handle ↵ | Raymond Hettinger | 2010-12-03 | 3 | -37/+31 |
| | | | | one item iterable the same way as min()/max(). | ||||
* | Set test.regrtest.TEMPDIR correctly when run with 'python -m test' | Michael Foord | 2010-12-03 | 1 | -2/+4 |
| | |||||
* | code style | Benjamin Peterson | 2010-12-03 | 1 | -5/+10 |
| | |||||
* | Initial implementation of Lib/test/__main__.py so we can run tests with ↵ | Michael Foord | 2010-12-03 | 1 | -0/+38 |
| | | | | 'python -m test' | ||||
* | Issue 7911: unittest.TestCase.longMessage defaults to True for improved ↵ | Michael Foord | 2010-12-03 | 4 | -4/+7 |
| | | | | failure messages by default | ||||
* | Re-add accidentally removed line. | Georg Brandl | 2010-12-02 | 1 | -0/+1 |
| | |||||
* | Fix wrong test code in test_csv (#10602) | Éric Araujo | 2010-12-02 | 1 | -12/+7 |
| | |||||
* | Issue9915: speeding up sorting with a key | Daniel Stutzbach | 2010-12-02 | 2 | -225/+240 |
| | |||||
* | #8989: add 'domain' keyword to make_msgid. | R. David Murray | 2010-12-02 | 5 | -6/+23 |
| | | | | Patch by Adrian von Bidder. | ||||
* | Fix #9333. Expose os.symlink on Windows only when usable. | Brian Curtin | 2010-12-02 | 12 | -79/+126 |
| | | | | | | | | | | | | | | | | In order to create symlinks on Windows, SeCreateSymbolicLinkPrivilege is an account privilege that is required to be held by the user. Not only must the privilege be enabled for the account, the activated privileges for the currently running application must be adjusted to enable the requested privilege. Rather than exposing an additional function to be called prior to the user's first os.symlink call, we handle the AdjustTokenPrivileges Windows API call internally and only expose os.symlink when the privilege escalation was successful. Due to the change of only exposing os.symlink when it's available, we can go back to the original test skipping methods of checking via `hasattr`. | ||||
* | #7475: add (un)transform method to bytes/bytearray and str, add back codecs ↵ | Georg Brandl | 2010-12-02 | 17 | -29/+900 |
| | | | | that can be used with them from Python 2. | ||||
* | #10597: fix Py_SetPythonHome docs by pointing to where the meaning of ↵ | Georg Brandl | 2010-12-02 | 1 | -2/+3 |
| | | | | PYTHONHOME is already documented. | ||||
* | Fix spelling of Jamie Zawinski's surname in urllib.parse docstring (issue 10606) | David Malcolm | 2010-12-02 | 1 | -1/+1 |
| | |||||
* | Fix-up documentation of makedirs(). | Georg Brandl | 2010-12-02 | 1 | -5/+5 |
| | |||||
* | Issue 9299 Add exist_ok parameter to os.makedirs to suppress 'File exists' ↵ | Terry Reedy | 2010-12-02 | 5 | -11/+58 |
| | | | | exception. Patch by Ray Allen. | ||||
* | Neaten-up random module docs. | Raymond Hettinger | 2010-12-02 | 1 | -30/+31 |
| | |||||
* | Issue #9573: os.fork now works when triggered as a side effect of import ↵ | Nick Coghlan | 2010-12-02 | 3 | -5/+57 |
| | | | | (the wisdom of actually relying on this remains questionable!) | ||||
* | #10464: fix netrc handling of lines with embedded '#" characters. | R. David Murray | 2010-12-02 | 4 | -6/+23 |
| | | | | Patch by Xuanji Li. | ||||
* | Add an example to the random docs. | Raymond Hettinger | 2010-12-02 | 1 | -0/+26 |
| | |||||
* | Fix markup | Raymond Hettinger | 2010-12-02 | 1 | -10/+11 |
| | |||||
* | Issue4335: Added a test for inspect.getsourcelines with a module without EOL ↵ | Alexander Belopolsky | 2010-12-02 | 1 | -8/+29 |
| | | | | at EOF. | ||||
* | With Raymond's approval added a paragraph describing Unicode 6.0.0 changes. ↵ | Alexander Belopolsky | 2010-12-02 | 1 | -0/+17 |
| | | | | Not reST formatted. | ||||
* | Clean-up last update (missing comma, unnecessary spacing change, spurious ↵ | Raymond Hettinger | 2010-12-01 | 1 | -434/+434 |
| | | | | backtick). | ||||
* | Add itertools.accumulate(). | Raymond Hettinger | 2010-12-01 | 1 | -441/+449 |
| | |||||
* | Add itertools.accumulate(). | Raymond Hettinger | 2010-12-01 | 3 | -0/+179 |
| | |||||
* | Reverted unintended change from r86916 | Alexander Belopolsky | 2010-12-01 | 1 | -7/+0 |
| | |||||
* | Issue #4113: Added custom __repr__ method to functools.partial. | Alexander Belopolsky | 2010-12-01 | 4 | -1/+82 |
| | |||||
* | Fix some markup and style in the unittest docs. | Georg Brandl | 2010-12-01 | 1 | -22/+22 |
| | |||||
* | #10594: fix parameter names in PyList API docs. | Georg Brandl | 2010-12-01 | 1 | -3/+3 |
| | |||||
* | Add missing word, and add a better reference to the actual function. | Georg Brandl | 2010-12-01 | 1 | -3/+4 |
| |