Commit Graph

1611 Commits

Author SHA1 Message Date
Mark Dickinson 7c63eee485 Issue #8294: Allow float and Decimal arguments in Fraction constructor. 2010-04-02 22:27:36 +00:00
Brian Curtin e33fa887d3 Implement #7347. Add CreateKeyEx, DeleteKeyEx, and update _winreg tests.
*ReflectionKey functions used to not be documented or tested, but they are
now sufficiently documented and tested on platforms where they apply.
Additionally, fixed a bug in QueryReflectionKey which was returning an
incorrect value.

All tests pass from XP through Windows 7, on 32 and 64-bit platforms.
2010-04-02 21:18:14 +00:00
Raymond Hettinger ed171abd93 Issue 8257: Decimal constructor to accept float. 2010-04-02 18:39:24 +00:00
Andrew M. Kuchling dc36d7cf85 #6647: add note to two examples 2010-04-02 17:54:26 +00:00
Andrew M. Kuchling d886290464 #6647: document that catch_warnings is not thread-safe 2010-04-02 17:48:23 +00:00
Georg Brandl d3bab6aba9 Remove col-spanning cells in logging docs. 2010-04-02 09:03:18 +00:00
Mark Dickinson 99d8096c17 Issue #2531: Make float-to-decimal comparisons return correct results.
Float to decimal comparison operations now return a result based on
the numeric values of the operands.  Decimal.__hash__ has also been
fixed so that Decimal and float values that compare equal have equal
hash value.
2010-04-02 08:53:22 +00:00
Georg Brandl 49b9192b12 #2768: add a note on how to get a file descriptor. 2010-04-02 08:39:09 +00:00
Raymond Hettinger f28dd0d1bf Cleanup itertools recipes 2010-04-02 06:23:12 +00:00
Raymond Hettinger 4bfd3bda2e Add and update itertools recipes. 2010-04-02 02:44:31 +00:00
Raymond Hettinger f54c268326 Document link to Sorting HowTo 2010-04-01 07:54:16 +00:00
R. David Murray 6c9fc4cf2b A couple small grammar fixes in test.rst, and rewrite the
check_warnings docs to be clearer.
2010-04-01 01:28:39 +00:00
Benjamin Peterson 7e213255ce add inspect.getcallargs, which binds function arguments like a normal call #3135
Patch by George Sakkis
2010-03-30 17:58:13 +00:00
Michael Foord e6410c536c Backport of weakref.WeakSet and tests from Python 3. 2010-03-29 20:04:23 +00:00
Raymond Hettinger b8d688cd7c Update itertools recipe for consume(). 2010-03-28 18:25:01 +00:00
Raymond Hettinger d282b931a3 Add a note on optimizing the itertools recipes for production. 2010-03-28 18:08:15 +00:00
Raymond Hettinger 5b027f87b5 Update itertools recipes. 2010-03-28 18:02:41 +00:00
Brian Curtin fbe519975b Fix #6538. Markup RegexObject and MatchObject as classes. Patch by Ryan Arana. 2010-03-25 23:48:54 +00:00
Vinay Sajip 66d19e2a0c logging: Updated SysLogHandler documentation. 2010-03-24 17:36:35 +00:00
Vinay Sajip a3c39c0f72 logging: Documentation tweak. 2010-03-24 15:10:40 +00:00
Vinay Sajip b0623d64a8 logging: Added LOG_FTP for SysLogHandler and updated documentation. 2010-03-24 14:31:21 +00:00
Senthil Kumaran 67b4e187e1 Fixed Issue8209 - OptionParser keyword arg 'epilog' not mentioned in the docs 2010-03-23 08:46:31 +00:00
Ezio Melotti 0d0b80bc3e Link specifically to the UCD version 5.2.0. 2010-03-23 00:38:12 +00:00
Ezio Melotti 88b6f8bada Remove link to objects.rst (gone in r79179). 2010-03-23 00:25:19 +00:00
Ezio Melotti ae735a763e Update the version number of the Unicode Database in a few more places. 2010-03-22 23:07:32 +00:00
Vinay Sajip 804899b4ab logging: Added getChild utility method to Logger and added isEnabledFor method to LoggerAdapter. 2010-03-22 15:29:01 +00:00
Georg Brandl aa89f8d04c Remove leftover word. 2010-03-21 11:50:58 +00:00
Georg Brandl ce00cf2ce7 Update text for newest US DST regulation. The sample file already has the calculation right. 2010-03-21 09:58:36 +00:00
Georg Brandl 0b56ce0bc4 Clarify that for shell=True, the shell PID will be the child PID. 2010-03-21 09:28:16 +00:00
Georg Brandl d1068be653 Document that GzipFile supports iteration. 2010-03-21 09:09:38 +00:00
Georg Brandl 3814ddfcfc Add a paragraph about set displays. 2010-03-21 09:08:00 +00:00
Georg Brandl dad0203f0a Remove the "built-in objects" file. It only contained two paragraphs of which only one contained useful information, which belongs in the ref manual however. 2010-03-21 09:02:01 +00:00
Georg Brandl 118c55778e Fix some issues found by Jacques Ducasse on the docs list. 2010-03-21 09:01:27 +00:00
Benjamin Peterson 2405547a2a wrap 2010-03-20 16:17:37 +00:00
Benjamin Peterson d47667c32b document exitfunc fixer 2010-03-20 16:16:44 +00:00
Michael Foord 98e7b7644b Issue 7832: renaming unittest.TestCase.assertSameElements to assertItemsEqual and changing behaviour 2010-03-20 03:00:34 +00:00
Sean Reifscheider 95ce1fcf8b Adding an example of reproducing the rfc822.Message() parsing. 2010-03-19 23:19:55 +00:00
Collin Winter 001a3952c9 Add support for weak references to code objects. This will be used by an optimization in the incoming Python 3 JIT.
Patch by Reid Kleckner!
2010-03-18 21:54:01 +00:00
Florent Xicluna 735885428d #8155: Preserve backward compatibility for test_support.check_warnings(). Add regression tests. 2010-03-18 19:51:47 +00:00
Vinay Sajip 2060e42206 Issue #8162: logging: Clarified docstring and documentation for disable function. 2010-03-17 15:05:57 +00:00
Georg Brandl 65db5872b0 #8137: add iso-8859-16 to the standard encodings table. 2010-03-14 09:55:08 +00:00
Florent Xicluna 88db6f402e Minor documentation updates for xml.etree. 2010-03-14 01:22:09 +00:00
Florent Xicluna a231e45fb1 Add the keyword argument "method=None" to the .write() method and the tostring/tostringlist functions.
Update the function, class and method signatures, according to the new convention.
2010-03-13 20:30:15 +00:00
Florent Xicluna 583302c54e Update some parts of the xml.etree documentation. 2010-03-13 17:56:19 +00:00
Ezio Melotti 93dd9b808e #8011: use exc.tb_lineno instead of traceback.tb_lineno() and pep8ify variable names. 2010-03-13 01:21:34 +00:00
Ezio Melotti c4785a7547 fix broken links 2010-03-13 00:15:36 +00:00
Georg Brandl f6d3674599 Fix warnings from "make check". 2010-03-12 10:02:03 +00:00
Vinay Sajip ecfa08fdf8 Issue #8117: Updated NEWS entry and added to logging documentation. 2010-03-12 09:16:10 +00:00
Florent Xicluna 3e8c189faa Issue #6472: The xml.etree package is updated to ElementTree 1.3. The cElementTree module is updated too. 2010-03-11 14:36:19 +00:00
Raymond Hettinger 9bd3508530 Add nicer docstrings to namedtuples().
Provides better tooltips and looks better in help().
2010-03-09 09:01:46 +00:00