Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #6045: provide at least get() and setdefault() for all dbm modules. | Georg Brandl | 2010-12-04 | 1 | -2/+7 |
| | |||||
* | issue7213 + issue2320: Cause a DeprecationWarning if the close_fds argument is | Gregory P. Smith | 2010-12-04 | 1 | -1/+6 |
| | | | | | | | | | | | | 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) | ||||
* | Fix typo. | Georg Brandl | 2010-12-04 | 1 | -1/+1 |
| | |||||
* | Issue #10557: Fixed error messages from float() and other numeric | Alexander Belopolsky | 2010-12-04 | 1 | -0/+7 |
| | | | | | | types. Added a new API function, PyUnicode_TransformDecimalToASCII(), which transforms non-ASCII decimal digits in a Unicode string to their ASCII equivalents. | ||||
* | Issue 10620: Specifying test modules by path instead of module name to ↵ | Michael Foord | 2010-12-04 | 1 | -0/+10 |
| | | | | 'python -m unittest' | ||||
* | Merge branches/pep-0384. | Martin v. Löwis | 2010-12-03 | 3 | -3/+21 |
| | |||||
* | Fix indentation. | Georg Brandl | 2010-12-03 | 1 | -2/+1 |
| | |||||
* | Add an "advanced topics" section to the io doc. | Antoine Pitrou | 2010-12-03 | 1 | -13/+65 |
| | |||||
* | (no commit message) | Terry Reedy | 2010-12-03 | 1 | -1/+11 |
| | |||||
* | Fix punctuation. | Georg Brandl | 2010-12-03 | 1 | -2/+2 |
| | |||||
* | Issue 10499: Modular interpolation in configparser | Łukasz Langa | 2010-12-03 | 2 | -225/+260 |
| | |||||
* | Markup consistency fixes. | Georg Brandl | 2010-12-03 | 1 | -47/+40 |
| | |||||
* | Issue 2690: Add support for slicing and negative indices to range objects ↵ | Nick Coghlan | 2010-12-03 | 2 | -1/+30 |
| | | | | | | (includes precalculation and storage of the range length). Refer to the tracker issue for the language moratorium implications of this change | ||||
* | logging: Added getLogRecordFactory/setLogRecordFactory with docs and tests. | Vinay Sajip | 2010-12-03 | 1 | -0/+64 |
| | |||||
* | 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 | 2 | -5/+20 |
| | | | | | | | | | | | | | | * 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. | ||||
* | 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 | 1 | -2/+11 |
| | | | | | | | | | | | | 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 | 1 | -0/+10 |
| | | | | | | 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 | 1 | -5/+4 |
| | |||||
* | Simplify the signature for itertools.accumulate() to match numpy. Handle ↵ | Raymond Hettinger | 2010-12-03 | 1 | -6/+8 |
| | | | | one item iterable the same way as min()/max(). | ||||
* | Issue 7911: unittest.TestCase.longMessage defaults to True for improved ↵ | Michael Foord | 2010-12-03 | 1 | -2/+2 |
| | | | | failure messages by default | ||||
* | Re-add accidentally removed line. | Georg Brandl | 2010-12-02 | 1 | -0/+1 |
| | |||||
* | #8989: add 'domain' keyword to make_msgid. | R. David Murray | 2010-12-02 | 1 | -2/+8 |
| | | | | Patch by Adrian von Bidder. | ||||
* | Fix #9333. Expose os.symlink on Windows only when usable. | Brian Curtin | 2010-12-02 | 1 | -1/+9 |
| | | | | | | | | | | | | | | | | 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 | 2 | -0/+84 |
| | | | | 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-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 | 1 | -5/+11 |
| | | | | exception. Patch by Ray Allen. | ||||
* | Neaten-up random module docs. | Raymond Hettinger | 2010-12-02 | 1 | -30/+31 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | Add recipe to itertools doc. | Raymond Hettinger | 2010-12-01 | 1 | -0/+8 |
| | |||||
* | Issue 10593: Adopt Nick's suggestion for an lru_cache with maxsize=None. | Raymond Hettinger | 2010-12-01 | 1 | -6/+23 |
| | |||||
* | #10273: Rename assertRegexpMatches and assertRaisesRegexp to assertRegex and ↵ | Ezio Melotti | 2010-12-01 | 1 | -32/+40 |
| | | | | assertRaisesRegex. | ||||
* | #10535: Enable silenced warnings in unittest by default | Ezio Melotti | 2010-12-01 | 2 | -4/+25 |
| | |||||
* | Doc and docstring nits. | Raymond Hettinger | 2010-12-01 | 1 | -0/+4 |
| | |||||
* | Documentation nits. | Raymond Hettinger | 2010-11-30 | 1 | -3/+3 |
| | |||||
* | Add example, tighten text, and minor clean-ups. | Raymond Hettinger | 2010-11-30 | 2 | -27/+40 |
| | |||||
* | Fix typo: "ofbytes" should be "of bytes" | Daniel Stutzbach | 2010-11-30 | 1 | -3/+3 |
| | |||||
* | Add some internal links. | Raymond Hettinger | 2010-11-30 | 2 | -2/+3 |
| | |||||
* | Let’s keep “throw” for the generator method and use “raise” elsewhere. | Éric Araujo | 2010-11-30 | 4 | -4/+4 |
| | |||||
* | Issue 9873: the URL parsing functions now accept ASCII encoded byte ↵ | Nick Coghlan | 2010-11-30 | 2 | -61/+178 |
| | | | | sequences in addition to character strings | ||||
* | Fix typo. | Georg Brandl | 2010-11-30 | 1 | -1/+1 |
| |