Commit Graph

10335 Commits

Author SHA1 Message Date
Georg Brandl 65b2eb9dfe Fix title. 2010-12-05 11:42:38 +00:00
Raymond Hettinger e5e1a987b2 Nits and todos 2010-12-05 08:35:21 +00:00
Georg Brandl 3ad46757f4 Apply rest of #10628, and add a few todo comments. 2010-12-05 07:59:29 +00:00
Raymond Hettinger 413abbc277 Spelling 2010-12-05 07:06:47 +00:00
Raymond Hettinger dc2f9b5c98 Update the unittest section. 2010-12-05 07:02:45 +00:00
Raymond Hettinger e5e728babd New string format character. 2010-12-05 06:35:16 +00:00
Raymond Hettinger d8fae4e6ad Optimization notes. 2010-12-05 05:39:54 +00:00
Raymond Hettinger 43b5a857d6 Describe the transform/untranform methods 2010-12-05 04:04:21 +00:00
Raymond Hettinger dadf93c910 Note the updates to range objects. 2010-12-05 02:56:21 +00:00
Raymond Hettinger c269ae87c1 Optimization of Timsort. 2010-12-05 01:01:52 +00:00
Raymond Hettinger a5a3554b4d Start the argparse entry. 2010-12-05 00:39:18 +00:00
Raymond Hettinger 6e35394ed5 Mention itertools.accumulate(). 2010-12-04 23:42:12 +00:00
Raymond Hettinger 6f04adc54b Fill-in stub for concurrent.futures 2010-12-04 22:56:25 +00:00
Raymond Hettinger d9404b5741 Doc nit. 2010-12-04 20:51:36 +00:00
Georg Brandl 46402378ca Fix markup errors. 2010-12-04 19:06:18 +00:00
Georg Brandl bccb8be262 Update suspicious exceptions. 2010-12-04 19:06:14 +00:00
Gregory P. Smith 8c647cd737 clarify the docs and new warning message. 2010-12-04 18:11:44 +00:00
Victor Stinner 13d49ee7d6 Issue #10601: sys.displayhook uses 'backslashreplace' error handler on
UnicodeEncodeError.
2010-12-04 17:24:33 +00:00
Georg Brandl cbc79c76a8 Add display/undisplay pdb commands. 2010-12-04 16:21:42 +00:00
Georg Brandl 44f2b640ff #7245: Add a SIGINT handler on continue in pdb that allows to break a program again by pressing Ctrl-C. 2010-12-04 16:00:47 +00:00
Martin v. Löwis 932e49e394 Fix PEP number. 2010-12-04 13:49:32 +00:00
Łukasz Langa 2cf9ddb390 configparser: fixed inconsistency where in SafeConfigParser option values
were ensured to be strings but section names and option keys were not.
 Behaviour unchanged for RawConfigParser and ConfigParser.
2010-12-04 12:46:01 +00:00
Gregory P. Smith 09b0b3a655 issue10622: fix superflous scrollbar on the right side of <pre> boxes in the
generated html docs.  visible in chrome, possibly other webkit browsers.
2010-12-04 11:36:58 +00:00
Georg Brandl 1acb746d79 Add the "interact" pdb command from pdb++. 2010-12-04 11:20:26 +00:00
Georg Brandl 732324a3f8 #7905: Actually respect the keyencoding parameter to shelve.Shelf. 2010-12-04 11:12:43 +00:00
Georg Brandl 9d8711964f #1772833: add -q command line option. 2010-12-04 10:47:18 +00:00
Georg Brandl 8334fd9285 Add an "optimize" parameter to compile() to control the optimization level, and provide an interface to it in py_compile, compileall and PyZipFile. 2010-12-04 10:26:46 +00:00
Georg Brandl d9e833c70a #6045: provide at least get() and setdefault() for all dbm modules. 2010-12-04 09:14:36 +00:00
Gregory P. Smith d23047b62c issue7213 + issue2320: Cause a DeprecationWarning if the close_fds argument is
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)
2010-12-04 09:10:44 +00:00
Georg Brandl e8b0d619b9 Fix typo. 2010-12-04 09:04:04 +00:00
Alexander Belopolsky 942af5a9a4 Issue #10557: Fixed error messages from float() and other numeric
types.  Added a new API function, PyUnicode_TransformDecimalToASCII(),
which transforms non-ASCII decimal digits in a Unicode string to their
ASCII equivalents.
2010-12-04 03:38:46 +00:00
Michael Foord 37d120aeb4 Issue 10620: Specifying test modules by path instead of module name to 'python -m unittest' 2010-12-04 01:11:21 +00:00
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 2010-12-03 20:14:31 +00:00
Georg Brandl 500be24a64 Fix indentation. 2010-12-03 19:56:42 +00:00
Antoine Pitrou bed81c882b Add an "advanced topics" section to the io doc. 2010-12-03 19:14:17 +00:00
Terry Reedy 74a7c67db1 2010-12-03 18:57:42 +00:00
Georg Brandl 38e117d20a Fix punctuation. 2010-12-03 17:19:27 +00:00
Łukasz Langa b6a6f5f886 Issue 10499: Modular interpolation in configparser 2010-12-03 16:28:00 +00:00
Georg Brandl 1eb40bc945 Markup consistency fixes. 2010-12-03 15:30:09 +00:00
Nick Coghlan 37ee850b10 Issue 2690: Add support for slicing and negative indices to range objects (includes precalculation and storage of the range length).
Refer to the tracker issue for the language moratorium implications of this change
2010-12-03 14:26:13 +00:00
Vinay Sajip 615615291f logging: Added getLogRecordFactory/setLogRecordFactory with docs and tests. 2010-12-03 11:50:38 +00:00
Georg Brandl 34e9fc2e82 Add a line with the actual changes. 2010-12-03 09:45:33 +00:00
Nick Coghlan 7bb30b72d8 Improve Pydoc interactive browsing (#2001). Patch by Ron Adam.
* 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.
2010-12-03 09:29:11 +00:00
R. David Murray bb7b753cfc Add missing versionchanged, correct 'throw' wording to 'raise'. 2010-12-03 04:26:18 +00:00
R. David Murray b579dba119 #1486713: Add a tolerant mode to HTMLParser.
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.
2010-12-03 04:06:39 +00:00
Brian Curtin 79cdb661f5 Fix #10554. Added context manager support to Popen objects.
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.
2010-12-03 02:46:02 +00:00
Raymond Hettinger 2d93e6ee63 Update the itertools.accumulate() docs. 2010-12-03 02:33:53 +00:00
Raymond Hettinger d8ff4658fb Simplify the signature for itertools.accumulate() to match numpy. Handle one item iterable the same way as min()/max(). 2010-12-03 02:09:34 +00:00
Michael Foord 5074df623b Issue 7911: unittest.TestCase.longMessage defaults to True for improved failure messages by default 2010-12-03 00:53:09 +00:00
Georg Brandl 1203720ffb Re-add accidentally removed line. 2010-12-02 22:35:25 +00:00