Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | configparser: minute refactoring of RawConfigParser.items() | Łukasz Langa | 2010-12-04 | 1 | -8/+4 |
| | |||||
* | issue6559: Adds a pass_fds parameter to subprocess.Popen that allows the caller | Gregory P. Smith | 2010-12-04 | 1 | -6/+32 |
| | | | | to list exactly which file descriptors should be kept open. | ||||
* | Add the "interact" pdb command from pdb++. | Georg Brandl | 2010-12-04 | 1 | -4/+15 |
| | |||||
* | #7905: Actually respect the keyencoding parameter to shelve.Shelf. | Georg Brandl | 2010-12-04 | 2 | -1/+15 |
| | |||||
* | #1569291: speed up array.repeat() by making only O(log n) memcpy() calls; ↵ | Georg Brandl | 2010-12-04 | 1 | -0/+6 |
| | | | | the code follows unicode_repeat. | ||||
* | #1513299: cleanup some map() uses where a comprehension works better. | Georg Brandl | 2010-12-04 | 6 | -7/+7 |
| | |||||
* | Add an "optimize" parameter to compile() to control the optimization level, ↵ | Georg Brandl | 2010-12-04 | 6 | -42/+138 |
| | | | | and provide an interface to it in py_compile, compileall and PyZipFile. | ||||
* | refactor the warning test. | Gregory P. Smith | 2010-12-04 | 1 | -23/+11 |
| | |||||
* | #6045: provide at least get() and setdefault() for all dbm modules. | Georg Brandl | 2010-12-04 | 2 | -2/+6 |
| | |||||
* | issue7213 + issue2320: Cause a DeprecationWarning if the close_fds argument is | Gregory P. Smith | 2010-12-04 | 2 | -3/+42 |
| | | | | | | | | | | | | 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 numeric | Alexander Belopolsky | 2010-12-04 | 4 | -4/+41 |
| | | | | | | types. Added a new API function, PyUnicode_TransformDecimalToASCII(), which transforms non-ASCII decimal digits in a Unicode string to their ASCII equivalents. | ||||
* | Correct comment in unittest test | Michael Foord | 2010-12-04 | 1 | -1/+1 |
| | |||||
* | Issue 10620: Specifying test modules by path instead of module name to ↵ | Michael Foord | 2010-12-04 | 2 | -1/+97 |
| | | | | 'python -m unittest' | ||||
* | Merged revisions 85551,86156-86157,86464 via svnmerge from | Martin v. Löwis | 2010-12-03 | 5 | -7/+9 |
| | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r85551 | benjamin.peterson | 2010-10-15 23:57:29 +0200 (Fr, 15 Okt 2010) | 1 line escape() is now in the html module ........ r86156 | georg.brandl | 2010-11-04 09:34:57 +0100 (Do, 04 Nov 2010) | 1 line Consistency fixes in option parser help texts. ........ r86157 | georg.brandl | 2010-11-04 09:35:30 +0100 (Do, 04 Nov 2010) | 1 line #10286: fix urllib class names. ........ r86464 | benjamin.peterson | 2010-11-14 16:28:52 +0100 (So, 14 Nov 2010) | 1 line match only .py files #10416 ........ | ||||
* | Issue 10534 deprecate isbjunk and isbpopular methods. | Terry Reedy | 2010-12-03 | 1 | -17/+16 |
| | | | | Will add gone in 3.3 test later. | ||||
* | %s -> %r correction after review by Éric Araujo | Łukasz Langa | 2010-12-03 | 1 | -1/+1 |
| | |||||
* | Issue #10272: The ssl module now raises socket.timeout instead of a generic | Antoine Pitrou | 2010-12-03 | 1 | -2/+2 |
| | | | | SSLError on socket timeouts. | ||||
* | Allow translators to reorder placeholders in localizable messages from | Éric Araujo | 2010-12-03 | 1 | -14/+20 |
| | | | | | | | argparse (#10528). There is no unit test; I checked with xgettext that no more warnings were emitted. Steven approved the change. | ||||
* | Fix so that test.test_unittest can be executed by unittest and not just regrtest | Michael Foord | 2010-12-03 | 1 | -0/+5 |
| | |||||
* | Fix incorrect use of gettext in argparse (#10497). | Éric Araujo | 2010-12-03 | 1 | -2/+2 |
| | | | | | Steven, the maintainer of argparse, agreed to have this committed without tests for now, since the fix is obvious. See the bug log. | ||||
* | (no commit message) | Terry Reedy | 2010-12-03 | 1 | -2/+6 |
| | |||||
* | Issue #10478: Reentrant calls inside buffered IO objects (for example by | Antoine Pitrou | 2010-12-03 | 1 | -0/+38 |
| | | | | | way of a signal handler) now raise a RuntimeError instead of freezing the current process. | ||||
* | Issue 10499: Modular interpolation in configparser | Łukasz Langa | 2010-12-03 | 2 | -233/+384 |
| | |||||
* | Handle Windows paths and don't double up on HTML header sections in new ↵ | Nick Coghlan | 2010-12-03 | 2 | -17/+19 |
| | | | | pydoc URL handler | ||||
* | Add missing CSS file from r86962 | Nick Coghlan | 2010-12-03 | 1 | -0/+6 |
| | |||||
* | Issue 2690: Add support for slicing and negative indices to range objects ↵ | Nick Coghlan | 2010-12-03 | 2 | -3/+74 |
| | | | | | | (includes precalculation and storage of the range length). Refer to the tracker issue for the language moratorium implications of this change | ||||
* | logging: tidied up some docstrings. | Vinay Sajip | 2010-12-03 | 1 | -3/+3 |
| | |||||
* | Factor out common code from lib/test/__main__.py and lib/test/regrtest.py ↵ | Michael Foord | 2010-12-03 | 2 | -47/+21 |
| | | | | into a function. | ||||
* | logging: Added getLogRecordFactory/setLogRecordFactory with docs and tests. | Vinay Sajip | 2010-12-03 | 2 | -18/+21 |
| | |||||
* | 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 | 1 | -1/+1 |
| | |||||
* | Improve Pydoc interactive browsing (#2001). Patch by Ron Adam. | Nick Coghlan | 2010-12-03 | 2 | -68/+632 |
| | | | | | | | | | | | | | | * 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 Brandl | 2010-12-03 | 2 | -2/+7 |
| | | | | does. | ||||
* | Use booleans. | Georg Brandl | 2010-12-03 | 1 | -3/+3 |
| | |||||
* | #940286: pydoc.Helper.help() ignores input/output init parameters. | Georg Brandl | 2010-12-03 | 2 | -8/+58 |
| | |||||
* | Partially revert r78719 - it removed a check that is still needed in some ↵ | Nick Coghlan | 2010-12-03 | 1 | -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 Brandl | 2010-12-03 | 2 | -0/+42 |
| | |||||
* | #1486713: Add a tolerant mode to HTMLParser. | R. David Murray | 2010-12-03 | 2 | -22/+125 |
| | | | | | | | | | | | | 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 | 2 | -1/+53 |
| | | | | | | 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 | -0/+1 |
| | |||||
* | 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 | 1 | -8/+8 |
| | | | | 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 |
| | |||||
* | 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 | 2 | -2/+2 |
| | | | | failure messages by default | ||||
* | Fix wrong test code in test_csv (#10602) | Éric Araujo | 2010-12-02 | 1 | -12/+7 |
| | |||||
* | #8989: add 'domain' keyword to make_msgid. | R. David Murray | 2010-12-02 | 2 | -4/+11 |
| | | | | Patch by Adrian von Bidder. | ||||
* | Fix #9333. Expose os.symlink on Windows only when usable. | Brian Curtin | 2010-12-02 | 9 | -70/+59 |
| | | | | | | | | | | | | | | | | 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 | 11 | -28/+630 |
| | | | | that can be used with them from Python 2. |