Commit Graph

10255 Commits

Author SHA1 Message Date
Nick Coghlan 234515afe5 Issue 10586: change the new functools.lru_cache implementation to expose the maximum and current cache sizes through the public statistics API. This API is now a single function that returns a named tuple. 2010-11-30 06:19:46 +00:00
Georg Brandl 8175daec10 Fix heading style inconsistencies. 2010-11-29 14:53:15 +00:00
Georg Brandl 51be98a920 Fix indentation bug. 2010-11-29 14:50:54 +00:00
Senthil Kumaran 6f1070485f Fix #10561 - Fix pdb behavior. Delete the breakpoints by breakpoint number.
Handle multiple breakpoints at same line. Update docs/test.
Patch by Xavier de Gaye.
2010-11-29 11:54:17 +00:00
Raymond Hettinger 40b8cf528f Do not add an obsolete unittest name to Py3.2. 2010-11-29 01:38:25 +00:00
Ezio Melotti 1de911592e Add callable() to the built-in functions table. 2010-11-28 04:18:54 +00:00
Benjamin Peterson f6861ae12a there's now a setup.py switch for this 2010-11-28 02:51:28 +00:00
Antoine Pitrou e71362d3de Issue #10518: Bring back the callable() builtin.
Approved by Guido (BDFL) and Georg (RM).
2010-11-27 22:00:11 +00:00
Terry Reedy dc9b17d922 Add version-added note twice for new difflib SequenceMatcher autojunk parameter. 2010-11-27 20:52:14 +00:00
Antoine Pitrou a66e029a9d Make doc for PyErr_Format() up to date. 2010-11-27 20:40:43 +00:00
Raymond Hettinger 6e165b30de Issue 10242: unittest.assertItemsEqual makes too many assumptions. 2010-11-27 09:31:37 +00:00
Éric Araujo 76338ec37d Rewrap long lines + minor edits 2010-11-26 23:46:18 +00:00
Éric Araujo 8acb67c059 Use link-generating markup (see #9312) 2010-11-26 23:31:07 +00:00
Georg Brandl fe12390b45 Better example for os.system(): do not change the system time. 2010-11-26 12:12:14 +00:00
Georg Brandl 326c57d1d9 Typo fix. 2010-11-26 12:10:06 +00:00
Georg Brandl 62f52c484d Remove parenthetical remark that is confusing now that the module is not named "__builtin__" anymore. 2010-11-26 12:08:19 +00:00
Georg Brandl f51a6c7d74 #10420: fix docs of bdb.effective(). 2010-11-26 12:05:48 +00:00
Georg Brandl c877a7c201 Use PyLong_FromLong where appropriate. 2010-11-26 11:55:48 +00:00
Georg Brandl 8449932320 #10526: fix typo. 2010-11-26 11:50:13 +00:00
Eric Smith 984bb58000 Issue #7094: Add alternate ('#') flag to __format__ methods for float, complex and Decimal. Allows greater control over when decimal points appear. Added to make transitioning from %-formatting easier. '#g' still has a problem with Decimal which I'll fix soon. 2010-11-25 16:08:06 +00:00
Terry Reedy 99f9637de8 Issue 2986: Add autojunk paramater to SequenceMatcher to turn off heuristic. Patch by Terry Reedy, Eli Bendersky, and Simon Cross 2010-11-25 06:12:34 +00:00
Ezio Melotti 17f9b3d289 Add NEWS entry for r86732 and fix double function in the table. 2010-11-24 22:02:18 +00:00
Brian Curtin 1b9df39620 Fix #8879. Add os.link support to Windows.
Additionally, the st_ino attribute of stat structures was not being filled
in. This was left out of the fix to #10027 and was noticed due to
test_tarfile failing when applying the patch for this issue. An earlier
version of the fix to #10027 included st_ino, but that attribute got lost
in the shuffle of a few review/fix cycles. All tests pass.
2010-11-24 20:24:31 +00:00
Ezio Melotti f21c7ed39d #10299: Add a table that lists all the built-in functions in functions.rst 2010-11-24 20:18:02 +00:00
Terry Reedy 6d2ab7126e Issue 1859: Doc that textwrap does not break on \n (pending possible behavior patch). Patch by Jeremy Thurgood. 2010-11-23 20:17:24 +00:00
Georg Brandl 4f13d6145f assert.h is also included. Thanks to Savio Sena. 2010-11-23 18:14:57 +00:00
Georg Brandl 57410c12e8 #10511: clarification of what heaps are; suggested by Johannes Hoff. 2010-11-23 08:37:54 +00:00
Georg Brandl 5a9326502d #10468: document Unicode exception creation and access functions. 2010-11-23 07:54:19 +00:00
Ezio Melotti 2baf1a69f4 #9424: add a DeprecationWarning for assertEquals, assertNotEquals, assertAlmostEquals, assertNotAlmostEquals, and assert_ 2010-11-22 12:56:58 +00:00
Éric Araujo 28053fb174 Remove unnecessary `object` base class in docs (#10366).
Also add a note about inheritance from `object` being default.
2010-11-22 03:09:19 +00:00
Alexander Belopolsky d4bbab278f Issue #10138: Removed 'indefinitely' from the proleptic calendar description. 2010-11-22 03:06:56 +00:00
Raymond Hettinger 2a07d6eefc Issue 3292: Fixup to the Sequence docs. 2010-11-21 23:51:45 +00:00
Raymond Hettinger 0ef956f997 Issue 6722: Improve the namedtuple examples. 2010-11-21 23:23:29 +00:00
Michael Foord 086f30815c Issue 10470: 'python -m unittest' launches test discovery by default.(If you need to pass options to test discovery the discover subcommand must still be specified explicitly.) 2010-11-21 21:28:01 +00:00
Mark Dickinson 47c74ac977 Issue #10488: Bring documentation for 'float' builtin up to date. 2010-11-21 21:09:58 +00:00
Ezio Melotti faed5b5132 Add CSS rule for the deprecated-removed directive 2010-11-21 20:27:39 +00:00
Brett Cannon 925914f950 Add sets to the precedence table. 2010-11-21 19:58:24 +00:00
Senthil Kumaran e4dad4f8e2 Fix issue3709 - BaseHTTPRequestHandler will buffer the headers and write only on end_headers call. 2010-11-21 14:36:14 +00:00
Łukasz Langa 5c86339bd0 Issue #10489: removed broken `__name__` support from configparser 2010-11-21 13:41:35 +00:00
Mark Dickinson b2b2382dc4 Fix capitalization. 2010-11-21 07:37:49 +00:00
Nick Coghlan 2dad5cade4 Add a couple of missing versionadded tags in the inspect module docs 2010-11-21 03:55:53 +00:00
Nick Coghlan e0f04659cd Issue #10220: Add inspect.getgeneratorstate(). Initial patch by Rodolpho Eckhardt 2010-11-21 03:44:04 +00:00
Éric Araujo d3309df40b Style edits in followup to r86521 (#9312) 2010-11-21 03:09:17 +00:00
Raymond Hettinger 2a1e3e29d4 Issue #7770: Note the useful range of sin/cos in the decimal module examples. 2010-11-21 02:47:22 +00:00
Raymond Hettinger fe502ea0e8 Clean-up the description of the range object. 2010-11-21 00:07:55 +00:00
Éric Araujo 0f44179422 Document index and count as part of the Sequence ABC (#9746) 2010-11-20 23:56:22 +00:00
R. David Murray 8b9f0c5a10 Fix email doc update I overlooked (thanks, Éric) 2010-11-20 21:28:24 +00:00
Antoine Pitrou b85b3afad0 In 3.x, bytearray is akin to bytes, not str. 2010-11-20 19:36:05 +00:00
Michael Foord e516265bbc Issue 9732: fetch the method resolution order from the type metaclass directly in getattr_static 2010-11-20 16:40:44 +00:00
Michael Foord cc7ebb8f69 Issue 9732: remove use of __class__ in inspect.getattr_static and note the mro exception to code execution 2010-11-20 16:20:16 +00:00