Commit graph

48129 commits

Author SHA1 Message Date
R. David Murray
e977fae6b8 Blocked revisions 86642 via svnmerge
........
  r86642 | r.david.murray | 2010-11-21 11:53:48 -0500 (Sun, 21 Nov 2010) | 10 lines

  Fix TestBytesGeneratorIdempotent tests and a couple bugs they revealed.

  The tests that were failing on (some) windows machines, where the
  msg_XX.txt files used native \r\n lineseps are now also run on machines
  that use \n natively, and conversely the \n tests are run on Windows.
  The failing tests revealed one place where linesep needed to be added
  to a flatten call in generator.  There was also another that the tests
  didn't catch, so I added a test for that case as well.
........
2010-11-21 16:59:54 +00:00
R. David Murray
719a449ba6 Fix TestBytesGeneratorIdempotent tests and a couple bugs they revealed.
The tests that were failing on (some) windows machines, where the
msg_XX.txt files used native \r\n lineseps are now also run on machines
that use \n natively, and conversely the \n tests are run on Windows.
The failing tests revealed one place where linesep needed to be added
to a flatten call in generator.  There was also another that the tests
didn't catch, so I added a test for that case as well.
2010-11-21 16:53:48 +00:00
Benjamin Peterson
0a4dae5309 fix refleak 2010-11-21 15:12:34 +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
a73dc9d5e8 configparser: read-only attributes to get the section name and parser from a SectionProxy instance 2010-11-21 13:56:42 +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
Raymond Hettinger
d325c4b233 Revert r86517 2010-11-21 04:08:28 +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
Éric Araujo
a491cedaf4 Try to get more useful output from failing buildbot 2010-11-21 02:19:09 +00:00
Ezio Melotti
19f2aeba67 Merged revisions 86596 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line

  #9424: Replace deprecated assert* methods in the Python test suite.
........
2010-11-21 01:30:29 +00:00
Éric Araujo
b65b4937e2 Merged revisions 86625 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86625 | eric.araujo | 2010-11-21 00:56:22 +0100 (dim., 21 nov. 2010) | 2 lines

  Document index and count as part of the Sequence ABC (#9746)
........
2010-11-21 00:43:28 +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
Benjamin Peterson
a1864f3717 pep 7 actually wants the brace on a new line 2010-11-20 23:05:39 +00:00
Benjamin Peterson
d57bb55c7d fix two broken tests 2010-11-20 23:03:34 +00:00
Benjamin Peterson
8d16ab3c56 merge all range tests into test_range 2010-11-20 23:01:55 +00:00
Benjamin Peterson
94ab7a0864 enable test that was commented out for whatever reason 2010-11-20 22:50:04 +00:00
Benjamin Peterson
155614b104 code style and simplification 2010-11-20 22:44:32 +00:00
Georg Brandl
7e5343b882 Add error handling in range_count. 2010-11-20 22:40:10 +00:00
Benjamin Peterson
0b458d52f9 count() should return integers #10474 2010-11-20 22:35:41 +00:00
Éric Araujo
2e579f0a87 Fix typos and style in compileall. 2010-11-20 21:53:02 +00:00
R. David Murray
91f87788f0 Blocked revisions 86614 via svnmerge
........
  r86614 | r.david.murray | 2010-11-20 16:28:24 -0500 (Sat, 20 Nov 2010) | 2 lines

  Fix email doc update I overlooked (thanks, Éric)
........
2010-11-20 21:29:18 +00:00
R. David Murray
8b9f0c5a10 Fix email doc update I overlooked (thanks, Éric) 2010-11-20 21:28:24 +00:00
R. David Murray
6a4d904074 Blocked revisions 86611 via svnmerge
........
  r86611 | r.david.murray | 2010-11-20 16:18:51 -0500 (Sat, 20 Nov 2010) | 4 lines

  #10453: compileall now uses argparse instead of getopt, so -h works.

  Patch by Michele Orrù.
........
2010-11-20 21:23:25 +00:00
R. David Murray
650f147298 #10453: compileall now uses argparse instead of getopt, so -h works.
Patch by Michele Orrù.
2010-11-20 21:18:51 +00:00
Antoine Pitrou
a78f74ce02 Issue #8078: Add constants for higher baud rates in the termios module.
Patch by Rodolpho Eckhardt.
2010-11-20 20:03:08 +00:00
Georg Brandl
74abf6f873 #9724: add nonlocal to pydoc topics. 2010-11-20 19:54:36 +00:00
Antoine Pitrou
5a96b5241f Issue #10255: Fix reference leak in Py_InitializeEx(). Patch by Neil
Schemenauer.
2010-11-20 19:50:57 +00:00
Éric Araujo
bfa17a562a Merged revisions 86601,86605 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86601 | eric.araujo | 2010-11-20 20:35:27 +0100 (sam., 20 nov. 2010) | 2 lines

  Fix two NameErrors in distutils (#10407)
........
  r86605 | eric.araujo | 2010-11-20 20:37:28 +0100 (sam., 20 nov. 2010) | 2 lines

  Add entry for r86601
........
2010-11-20 19:45:32 +00:00
Éric Araujo
e7606649b3 Add entry for r86601 2010-11-20 19:37:28 +00:00
Antoine Pitrou
60d8684e4f Merged revisions 86603 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86603 | antoine.pitrou | 2010-11-20 20:36:05 +0100 (sam., 20 nov. 2010) | 3 lines

  In 3.x, bytearray is akin to bytes, not str.
........
2010-11-20 19:36:35 +00:00
Antoine Pitrou
b85b3afad0 In 3.x, bytearray is akin to bytes, not str. 2010-11-20 19:36:05 +00:00
Éric Araujo
ff1144eb34 Fix two NameErrors in distutils (#10407) 2010-11-20 19:35:27 +00:00
Benjamin Peterson
b1cb105bde revert changes in inappropiate branch 2010-11-20 19:09:08 +00:00
Ezio Melotti
b3aedd4862 #9424: Replace deprecated assert* methods in the Python test suite. 2010-11-20 19:04:17 +00:00
Benjamin Peterson
b8bc439b20 don't shadow globals 2010-11-20 18:24:54 +00:00
Alexander Belopolsky
44454afbe3 Issue #10371: Deprecated undocumented functions in the trace module. 2010-11-20 18:21:07 +00:00
Benjamin Peterson
5f78040057 add filename to ENOENT message #4925 2010-11-20 18:07:52 +00:00
Michael Foord
c610e3e55e Addition of issue 9926 to NEWS 2010-11-20 17:50:34 +00:00
Benjamin Peterson
5a1ca6e368 Merged revisions 86587 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86587 | benjamin.peterson | 2010-11-20 11:24:04 -0600 (Sat, 20 Nov 2010) | 1 line

  correct logic when pos is after the string #10467
........
2010-11-20 17:26:25 +00:00
Benjamin Peterson
fa73555cfc correct logic when pos is after the string #10467 2010-11-20 17:24:04 +00:00
Michael Foord
6bcfadec07 Improve unittest.TestLoader.discover docstring 2010-11-20 17:22:21 +00:00
Benjamin Peterson
5c41787f13 add space 2010-11-20 17:22:13 +00:00
Benjamin Peterson
72288d4f3c code style 2010-11-20 17:21:08 +00:00
Senthil Kumaran
e062ba48b6 Merged revisions 86580 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86580 | senthil.kumaran | 2010-11-21 01:02:50 +0800 (Sun, 21 Nov 2010) | 3 lines

  Fix issue10377 - Output from pstats - it is just secs (i.e, wallclock time) and not CPU time.
........
2010-11-20 17:08:19 +00:00
Senthil Kumaran
5e703cf32b Fix issue10377 - Output from pstats - it is just secs (i.e, wallclock time) and not CPU time. 2010-11-20 17:02:50 +00:00