Commit Graph

10857 Commits

Author SHA1 Message Date
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
Florent Xicluna ad59833649 Fix typo 2010-03-31 21:40:32 +00:00
Ezio Melotti eb72991fbb Revert r79179 and merge r75584 to explain how to implement a queue using collection.deque instead of a list. 2010-03-31 07:26:24 +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
Andrew M. Kuchling 4a0661b487 Add various items 2010-03-25 01:35:51 +00:00
Larry Hastings 402b73fb8d Backported PyCapsule from 3.1, and converted most uses of
CObject to PyCapsule.
2010-03-25 00:54:54 +00:00
Andrew M. Kuchling f91a6796af Various edits 2010-03-24 18:07:43 +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
Ezio Melotti f8d1d0f7fb Another typo. 2010-03-23 23:53:20 +00:00
Ezio Melotti d72a628797 #8217: typo. 2010-03-23 23:26:21 +00:00
Andrew M. Kuchling 9858f635a0 add some unittest items 2010-03-23 18:39:24 +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
Andrew M. Kuchling 46c2db5d3c Add items 2010-03-21 18:47:12 +00:00
Georg Brandl aa89f8d04c Remove leftover word. 2010-03-21 11:50:58 +00:00
Georg Brandl 236da4be4e Include structmember.h correctly. 2010-03-21 10:02:47 +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 f23f0a2c7c Update os.kill() emulation example for Windows to use ctypes. 2010-03-21 09:51:16 +00:00
Georg Brandl a39f2afe9b Mention inefficiency of lists as queues, add link to collections.deque discussion. 2010-03-21 09:37:54 +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 0fcd882101 Introduce copy by slicing, used in later chapters. 2010-03-21 09:17:41 +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 b2efeff4a5 Fixing the file call in the rfc822.Message replacement example. 2010-03-20 00:05:42 +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