Commit Graph

44340 Commits

Author SHA1 Message Date
Brian Curtin 2a0be783fe Quote the paths in the event that they contain spaces. 2010-11-22 00:01:01 +00:00
Raymond Hettinger 2a07d6eefc Issue 3292: Fixup to the Sequence docs. 2010-11-21 23:51:45 +00:00
Brian Curtin f991642efe Fix #6378. Start IDLE using the proper version of Python based on the directory
tree that idle.bat resides in.

Works with any/all versions of Python installed concurrently.
2010-11-21 23:45:10 +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
Antoine Pitrou 3bce11cbbd Make test_nntplib more robust 2010-11-21 17:14:19 +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
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 8b9f0c5a10 Fix email doc update I overlooked (thanks, Éric) 2010-11-20 21:28:24 +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 e7606649b3 Add entry for r86601 2010-11-20 19:37:28 +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 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 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