Commit graph

48783 commits

Author SHA1 Message Date
Daniel Stutzbach
d01df46848 Fix typo: "ofbytes" should be "of bytes" 2010-11-30 17:49:53 +00:00
Raymond Hettinger
dcb4491b0a Add some internal links. 2010-11-30 17:45:41 +00:00
Éric Araujo
d82a47ca26 Merged revisions 86892 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86892 | eric.araujo | 2010-11-30 18:20:31 +0100 (mar., 30 nov. 2010) | 2 lines

  Let’s keep “throw” for the generator method and use “raise” elsewhere.
........
2010-11-30 17:38:32 +00:00
Alexander Belopolsky
73f382de1c Issue #9598: untabify.py will now respect encoding cookie in the files it processes 2010-11-30 17:30:43 +00:00
Éric Araujo
ff2a4ba78c Let’s keep “throw” for the generator method and use “raise” elsewhere. 2010-11-30 17:20:31 +00:00
Alexander Belopolsky
827fdaae30 Issue #10552: Partially fixed a sort error in Tools/unicode/gencodec.py 2010-11-30 16:56:15 +00:00
Brian Curtin
f498b754ed Actually fix what I attempted to fix in r86888... 2010-11-30 15:54:04 +00:00
Nick Coghlan
9fc443cf59 Issue 9873: the URL parsing functions now accept ASCII encoded byte sequences in addition to character strings 2010-11-30 15:48:08 +00:00
Brian Curtin
43f0c27be7 Try to fix failures on platforms that can't encode the test characters.
Skip the test if encoding fails.
2010-11-30 15:40:04 +00:00
Georg Brandl
5aa580f279 Fix typo. 2010-11-30 14:57:54 +00:00
Georg Brandl
3d9ab4d793 Blocked revisions 86883-86884 via svnmerge
........
  r86883 | georg.brandl | 2010-11-30 10:30:54 +0100 (Di, 30 Nov 2010) | 1 line

  Include structseq.h in Python.h, and remove now-redundant includes in individual sources.
........
  r86884 | georg.brandl | 2010-11-30 10:41:01 +0100 (Di, 30 Nov 2010) | 1 line

  Remove redundant includes of headers that are already included by Python.h.
........
2010-11-30 09:48:38 +00:00
Georg Brandl
e5b99f0fb3 Remove redundant includes of headers that are already included by Python.h. 2010-11-30 09:41:01 +00:00
Georg Brandl
71c23d4473 Include structseq.h in Python.h, and remove now-redundant includes in individual sources. 2010-11-30 09:30:54 +00:00
Georg Brandl
53afa6d239 Fix input type for zlib. 2010-11-30 08:20:16 +00:00
Georg Brandl
8f358aa758 #10584: fix bad links. 2010-11-30 07:43:28 +00:00
Raymond Hettinger
5e20bab422 Neaten-up a bit. 2010-11-30 07:13:04 +00:00
Nick Coghlan
7921b9f210 Issue 10220: switch to using string constants rather than integers for inspect.getgeneratorstate() return values and make debugging friendly str() and repr() for generator states a requirement in the test suite 2010-11-30 06:36:04 +00:00
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
Raymond Hettinger
101f09e72f Issue #10323: Predictable final state for slice(). 2010-11-30 03:09:05 +00:00
Alexander Belopolsky
ff27ee0b40 Issue #10572: Moved json tests to Lib/test/json_tests.
Approved by Raymond Hettinger.
2010-11-30 03:03:30 +00:00
Raymond Hettinger
69b34bfe9c Issue #10323: Predictable final state for slice(). 2010-11-30 02:49:29 +00:00
Alexander Belopolsky
fdb32c15e4 Merged revisions 86857 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86857 | raymond.hettinger | 2010-11-28 22:56:12 -0500 (Sun, 28 Nov 2010) | 1 line

  Issue #10565:  Iterator ABC should require both __next__ and __iter__.
........
2010-11-30 01:01:02 +00:00
Georg Brandl
ac9a2bb067 Use booleans where applicable. 2010-11-29 20:19:15 +00:00
Georg Brandl
2660747a0b Code style cleanup in bdb. 2010-11-29 20:12:24 +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
34cc202559 Blocked revisions 86864 via svnmerge
........
  r86864 | senthil.kumaran | 2010-11-29 20:42:29 +0800 (Mon, 29 Nov 2010) | 3 lines

  Remove the comment used while testing.
........
2010-11-29 12:48:01 +00:00
Senthil Kumaran
3d0f388a6b Remove the comment used while testing. 2010-11-29 12:42:29 +00:00
Senthil Kumaran
5170c81662 Merged revisions 86861 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86861 | senthil.kumaran | 2010-11-29 19:54:17 +0800 (Mon, 29 Nov 2010) | 5 lines

  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 12:27:45 +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
Ezio Melotti
a88d2776ef Blocked revisions 86845,86855-86856 via svnmerge
........
  r86845 | ezio.melotti | 2010-11-28 06:18:54 +0200 (Sun, 28 Nov 2010) | 1 line

  Add callable() to the built-in functions table.
........
  r86855 | raymond.hettinger | 2010-11-29 03:38:25 +0200 (Mon, 29 Nov 2010) | 1 line

  Do not add an obsolete unittest name to Py3.2.
........
  r86856 | ezio.melotti | 2010-11-29 04:02:10 +0200 (Mon, 29 Nov 2010) | 1 line

  Use assertCountEqual instead of assertItemsEqual
........
2010-11-29 09:54:22 +00:00
Raymond Hettinger
ead22227cc Issue #10565: Iterator ABC should require both __next__ and __iter__. 2010-11-29 03:56:12 +00:00
Ezio Melotti
263cbdfdfb Use assertCountEqual instead of assertItemsEqual 2010-11-29 02:02:10 +00:00
Raymond Hettinger
40b8cf528f Do not add an obsolete unittest name to Py3.2. 2010-11-29 01:38:25 +00:00
Brian Curtin
fc889c48ed Fix for #8879.
Amaury noticed that this was originally written in a way that would fail on
names that can't be encoded with the mbcs codec. Restructured the function
to work with wide names first then narrow names second, to fall in line
with the way other functions are written in posixmodule.c.
2010-11-28 23:59:46 +00:00
Benjamin Peterson
68eb3718d9 point in the general direction of 3.1.4 2010-11-28 04:50:12 +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
Stefan Krah
2a7feee76d Windows: fix leak in posix_listdir. 2010-11-27 22:06:49 +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
Antoine Pitrou
f66a1dd12b Merged revisions 86838 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86838 | antoine.pitrou | 2010-11-27 21:40:43 +0100 (sam., 27 nov. 2010) | 3 lines

  Make doc for PyErr_Format() up to date.
........
2010-11-27 21:01:19 +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
Barry Warsaw
34520cdcf4 Roumen Petrov's fix for when all paths are absolute. (Issue 10520) 2010-11-27 20:03:03 +00:00
Benjamin Peterson
115b99c222 remove :c:data: which snuck in 2010-11-27 15:39:31 +00:00
Benjamin Peterson
565364670a breathe existence into 3.1.3 2010-11-27 14:47:33 +00:00
Benjamin Peterson
5757429130 3.1.3 final version bump 2010-11-27 14:46:13 +00:00
Stefan Krah
55d86e6c76 Blocked revisions 86829 via svnmerge
........
  r86829 | stefan.krah | 2010-11-27 12:44:18 +0100 (Sat, 27 Nov 2010) | 1 line

  Fix additional leaks.
........
2010-11-27 11:48:09 +00:00
Stefan Krah
30b341f1a5 Fix additional leaks. 2010-11-27 11:44:18 +00:00
Raymond Hettinger
6e165b30de Issue 10242: unittest.assertItemsEqual makes too many assumptions. 2010-11-27 09:31:37 +00:00