Alexander Belopolsky [Mon, 22 Nov 2010 03:06:56 +0000 (03:06 +0000)]
Issue #10138: Removed 'indefinitely' from the proleptic calendar description.
Éric Araujo [Mon, 22 Nov 2010 02:42:43 +0000 (02:42 +0000)]
Fix one compileall test (#10453). Patch by Michele Orrù.
Ezio Melotti [Mon, 22 Nov 2010 01:22:43 +0000 (01:22 +0000)]
Add myself for unittest and fix Alexander username
Éric Araujo [Mon, 22 Nov 2010 01:19:20 +0000 (01:19 +0000)]
r84925 followup: add docstring for get_makefile_filename (+PEP 257 fixes)
Éric Araujo [Mon, 22 Nov 2010 01:11:49 +0000 (01:11 +0000)]
Fix typo
Raymond Hettinger [Mon, 22 Nov 2010 01:08:14 +0000 (01:08 +0000)]
Update maintainers
Brian Curtin [Mon, 22 Nov 2010 00:01:01 +0000 (00:01 +0000)]
Quote the paths in the event that they contain spaces.
Raymond Hettinger [Sun, 21 Nov 2010 23:51:45 +0000 (23:51 +0000)]
Issue 3292: Fixup to the Sequence docs.
Brian Curtin [Sun, 21 Nov 2010 23:45:10 +0000 (23:45 +0000)]
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.
Raymond Hettinger [Sun, 21 Nov 2010 23:23:29 +0000 (23:23 +0000)]
Issue 6722: Improve the namedtuple examples.
Michael Foord [Sun, 21 Nov 2010 21:28:01 +0000 (21:28 +0000)]
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.)
Mark Dickinson [Sun, 21 Nov 2010 21:09:58 +0000 (21:09 +0000)]
Issue #10488: Bring documentation for 'float' builtin up to date.
Ezio Melotti [Sun, 21 Nov 2010 20:27:39 +0000 (20:27 +0000)]
Add CSS rule for the deprecated-removed directive
Brett Cannon [Sun, 21 Nov 2010 19:58:24 +0000 (19:58 +0000)]
Add sets to the precedence table.
Antoine Pitrou [Sun, 21 Nov 2010 17:14:19 +0000 (17:14 +0000)]
Make test_nntplib more robust
R. David Murray [Sun, 21 Nov 2010 16:53:48 +0000 (16:53 +0000)]
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.
Benjamin Peterson [Sun, 21 Nov 2010 15:12:34 +0000 (15:12 +0000)]
fix refleak
Senthil Kumaran [Sun, 21 Nov 2010 14:36:14 +0000 (14:36 +0000)]
Fix issue3709 - BaseHTTPRequestHandler will buffer the headers and write only on end_headers call.
Łukasz Langa [Sun, 21 Nov 2010 13:56:42 +0000 (13:56 +0000)]
configparser: read-only attributes to get the section name and parser from a SectionProxy instance
Łukasz Langa [Sun, 21 Nov 2010 13:41:35 +0000 (13:41 +0000)]
Issue #10489: removed broken `__name__` support from configparser
Mark Dickinson [Sun, 21 Nov 2010 07:37:49 +0000 (07:37 +0000)]
Fix capitalization.
Raymond Hettinger [Sun, 21 Nov 2010 04:08:28 +0000 (04:08 +0000)]
Revert r86517
Nick Coghlan [Sun, 21 Nov 2010 03:55:53 +0000 (03:55 +0000)]
Add a couple of missing versionadded tags in the inspect module docs
Nick Coghlan [Sun, 21 Nov 2010 03:44:04 +0000 (03:44 +0000)]
Issue #10220: Add inspect.getgeneratorstate(). Initial patch by Rodolpho Eckhardt
Éric Araujo [Sun, 21 Nov 2010 03:09:17 +0000 (03:09 +0000)]
Style edits in followup to r86521 (#9312)
Raymond Hettinger [Sun, 21 Nov 2010 02:47:22 +0000 (02:47 +0000)]
Issue #7770: Note the useful range of sin/cos in the decimal module examples.
Éric Araujo [Sun, 21 Nov 2010 02:19:09 +0000 (02:19 +0000)]
Try to get more useful output from failing buildbot
Raymond Hettinger [Sun, 21 Nov 2010 00:07:55 +0000 (00:07 +0000)]
Clean-up the description of the range object.
Éric Araujo [Sat, 20 Nov 2010 23:56:22 +0000 (23:56 +0000)]
Document index and count as part of the Sequence ABC (#9746)
Benjamin Peterson [Sat, 20 Nov 2010 23:05:39 +0000 (23:05 +0000)]
pep 7 actually wants the brace on a new line
Benjamin Peterson [Sat, 20 Nov 2010 23:03:34 +0000 (23:03 +0000)]
fix two broken tests
Benjamin Peterson [Sat, 20 Nov 2010 23:01:55 +0000 (23:01 +0000)]
merge all range tests into test_range
Benjamin Peterson [Sat, 20 Nov 2010 22:50:04 +0000 (22:50 +0000)]
enable test that was commented out for whatever reason
Benjamin Peterson [Sat, 20 Nov 2010 22:44:32 +0000 (22:44 +0000)]
code style and simplification
Georg Brandl [Sat, 20 Nov 2010 22:40:10 +0000 (22:40 +0000)]
Add error handling in range_count.
Benjamin Peterson [Sat, 20 Nov 2010 22:35:41 +0000 (22:35 +0000)]
count() should return integers #10474
Éric Araujo [Sat, 20 Nov 2010 21:53:02 +0000 (21:53 +0000)]
Fix typos and style in compileall.
R. David Murray [Sat, 20 Nov 2010 21:28:24 +0000 (21:28 +0000)]
Fix email doc update I overlooked (thanks, Éric)
R. David Murray [Sat, 20 Nov 2010 21:18:51 +0000 (21:18 +0000)]
#10453: compileall now uses argparse instead of getopt, so -h works.
Patch by Michele Orrù.
Antoine Pitrou [Sat, 20 Nov 2010 20:03:08 +0000 (20:03 +0000)]
Issue #8078: Add constants for higher baud rates in the termios module.
Patch by Rodolpho Eckhardt.
Georg Brandl [Sat, 20 Nov 2010 19:54:36 +0000 (19:54 +0000)]
#9724: add nonlocal to pydoc topics.
Antoine Pitrou [Sat, 20 Nov 2010 19:50:57 +0000 (19:50 +0000)]
Issue #10255: Fix reference leak in Py_InitializeEx(). Patch by Neil
Schemenauer.
Éric Araujo [Sat, 20 Nov 2010 19:37:28 +0000 (19:37 +0000)]
Add entry for r86601
Antoine Pitrou [Sat, 20 Nov 2010 19:36:05 +0000 (19:36 +0000)]
In 3.x, bytearray is akin to bytes, not str.
Éric Araujo [Sat, 20 Nov 2010 19:35:27 +0000 (19:35 +0000)]
Fix two NameErrors in distutils (#10407)
Benjamin Peterson [Sat, 20 Nov 2010 19:09:08 +0000 (19:09 +0000)]
revert changes in inappropiate branch
Ezio Melotti [Sat, 20 Nov 2010 19:04:17 +0000 (19:04 +0000)]
#9424: Replace deprecated assert* methods in the Python test suite.
Benjamin Peterson [Sat, 20 Nov 2010 18:24:54 +0000 (18:24 +0000)]
don't shadow globals
Alexander Belopolsky [Sat, 20 Nov 2010 18:21:07 +0000 (18:21 +0000)]
Issue #10371: Deprecated undocumented functions in the trace module.
Benjamin Peterson [Sat, 20 Nov 2010 18:07:52 +0000 (18:07 +0000)]
add filename to ENOENT message #4925
Michael Foord [Sat, 20 Nov 2010 17:50:34 +0000 (17:50 +0000)]
Addition of issue 9926 to NEWS
Benjamin Peterson [Sat, 20 Nov 2010 17:24:04 +0000 (17:24 +0000)]
correct logic when pos is after the string #10467
Michael Foord [Sat, 20 Nov 2010 17:22:21 +0000 (17:22 +0000)]
Improve unittest.TestLoader.discover docstring
Benjamin Peterson [Sat, 20 Nov 2010 17:22:13 +0000 (17:22 +0000)]
add space
Benjamin Peterson [Sat, 20 Nov 2010 17:21:08 +0000 (17:21 +0000)]
code style
Senthil Kumaran [Sat, 20 Nov 2010 17:02:50 +0000 (17:02 +0000)]
Fix issue10377 - Output from pstats - it is just secs (i.e, wallclock time) and not CPU time.
Michael Foord [Sat, 20 Nov 2010 16:58:30 +0000 (16:58 +0000)]
Issue 9732: __class__ no longer checked on objects by getattr_static
Michael Foord [Sat, 20 Nov 2010 16:40:44 +0000 (16:40 +0000)]
Issue 9732: fetch the method resolution order from the type metaclass directly in getattr_static
R. David Murray [Sat, 20 Nov 2010 16:33:30 +0000 (16:33 +0000)]
#
1574217: only swallow AttributeErrors in isinstance, not everything.
Patch and tests by Brian Harring, with improvements by Ralf Schmitt.
Łukasz Langa [Sat, 20 Nov 2010 16:24:30 +0000 (16:24 +0000)]
removed a NEWS entry that cloned itself in mysterious circumstances
Michael Foord [Sat, 20 Nov 2010 16:20:16 +0000 (16:20 +0000)]
Issue 9732: remove use of __class__ in inspect.getattr_static and note the mro exception to code execution
Łukasz Langa [Sat, 20 Nov 2010 16:16:24 +0000 (16:16 +0000)]
acknowledge configparser evolution
Łukasz Langa [Sat, 20 Nov 2010 16:15:37 +0000 (16:15 +0000)]
configparser: the name of the DEFAULT section is now customizable
Michael Foord [Sat, 20 Nov 2010 15:47:56 +0000 (15:47 +0000)]
Issue 10326: further extend test for unpickling to ensure type lookup mechanism works after unpickling
Michael Foord [Sat, 20 Nov 2010 15:43:02 +0000 (15:43 +0000)]
Issue 10326: extend test for pickling of TestCase instances to ensure they can be unpickled too
Michael Foord [Sat, 20 Nov 2010 15:34:26 +0000 (15:34 +0000)]
Issue 10326: TestCase instances can now be pickled (they store names of instance methods instead of references to the instance methods themselves).
R. David Murray [Sat, 20 Nov 2010 15:10:13 +0000 (15:10 +0000)]
Improve TestBytesGeneratorIdempotent using by using linesep.
Also corrects a typo from a previous commit. Unfortunately
this does *not* fix issue #10134.
Michael Foord [Sat, 20 Nov 2010 15:07:30 +0000 (15:07 +0000)]
Issue 9732: addition of getattr_static to the inspect module
Georg Brandl [Sat, 20 Nov 2010 14:16:17 +0000 (14:16 +0000)]
socket.gethostbyname(socket.gethostname()) can fail when host name resolution is not set up correctly; do not fail test_socket if this is the case.
Georg Brandl [Sat, 20 Nov 2010 14:08:53 +0000 (14:08 +0000)]
#10460: an even better indent.pro.
Georg Brandl [Sat, 20 Nov 2010 13:44:41 +0000 (13:44 +0000)]
#10439: document PyCodec C APIs.
Georg Brandl [Sat, 20 Nov 2010 11:47:10 +0000 (11:47 +0000)]
#10460: Update indent.pro to match PEP 7 better.
Georg Brandl [Sat, 20 Nov 2010 11:25:01 +0000 (11:25 +0000)]
#10465: fix broken delegation in __getattr__ of _PaddedFile.
Mark Dickinson [Sat, 20 Nov 2010 11:08:27 +0000 (11:08 +0000)]
Issue #9920: Skip tests for cmath.atan and cmath.atanh applied to
complex zeros on systems where the log1p function fails to respect
the sign of zero. This fixes a test failure on AIX.
Mark Dickinson [Sat, 20 Nov 2010 10:43:10 +0000 (10:43 +0000)]
Issue #10325: Fix two issues in the fallback definitions of PY_LLONG_MAX and
PY_ULLONG_MAX in pyport.h. Thanks Hallvard B Furuseth for the patch.
Mark Dickinson [Sat, 20 Nov 2010 10:29:12 +0000 (10:29 +0000)]
Regenerated configure and pyconfig.h.in.
Georg Brandl [Sat, 20 Nov 2010 10:24:34 +0000 (10:24 +0000)]
Fix rst markup errors.
Ezio Melotti [Sat, 20 Nov 2010 10:13:45 +0000 (10:13 +0000)]
Use correct markup for True/False/None
Mark Dickinson [Sat, 20 Nov 2010 10:09:56 +0000 (10:09 +0000)]
Add configure-time test for log1p disrespecting zero sign.
Ezio Melotti [Sat, 20 Nov 2010 09:57:27 +0000 (09:57 +0000)]
Add a few labels and links to unittest doc
Benjamin Peterson [Sat, 20 Nov 2010 04:31:07 +0000 (04:31 +0000)]
new plan: functions that want 'tmp' can declare it
Brian Quinlan [Sat, 20 Nov 2010 04:09:35 +0000 (04:09 +0000)]
Fixes a timing-related failure on Windows (issue 10183)
R. David Murray [Sat, 20 Nov 2010 03:48:58 +0000 (03:48 +0000)]
Make test class name unique so that both test classes run.
Benjamin Peterson [Sat, 20 Nov 2010 02:01:45 +0000 (02:01 +0000)]
c89 declarations
Benjamin Peterson [Sat, 20 Nov 2010 01:38:49 +0000 (01:38 +0000)]
use %R format code; fixes invalid dereferencing #10391
Georg Brandl [Fri, 19 Nov 2010 22:09:04 +0000 (22:09 +0000)]
Do not put a raw REPLACEMENT CHARACTER in the document.
Fred Drake [Fri, 19 Nov 2010 21:24:25 +0000 (21:24 +0000)]
remove documentation for something that's gone
Antoine Pitrou [Fri, 19 Nov 2010 20:07:52 +0000 (20:07 +0000)]
Fix test_ssl_presence when ssl is not present
Alexander Belopolsky [Fri, 19 Nov 2010 16:09:58 +0000 (16:09 +0000)]
Issue #4153: Updated Unicode HOWTO.
Ezio Melotti [Thu, 18 Nov 2010 19:48:27 +0000 (19:48 +0000)]
#10455: fix typo
Alexander Belopolsky [Thu, 18 Nov 2010 18:50:13 +0000 (18:50 +0000)]
Issue 7828: Fixed chr() and ord() documentation for wide characters
Antoine Pitrou [Thu, 18 Nov 2010 17:29:23 +0000 (17:29 +0000)]
Wrap all test_nntplib methods accessing a remote server in a transient_internet()
exception catcher. Wrapping the initial connection routine is not sufficient
as network timeouts can then occur as part of NNTP commands.
Senthil Kumaran [Thu, 18 Nov 2010 17:08:48 +0000 (17:08 +0000)]
Code Changes as per review comments by Antoine Pitrou.
Éric Araujo [Thu, 18 Nov 2010 16:38:46 +0000 (16:38 +0000)]
Fix usage of :option: in the docs (#9312).
:option: is used to create a link to an option of python, not to mark
up any instance of any arbitrary command-line option. These were
changed to ````.
For modules which do have a command-line interface, lists of options
have been properly marked up with the program/cmdoption directives
combo. Options defined in such blocks can be linked to with :option:
later in the same file, they won’t link to an option of python.
Finally, the markup of command-line fragments in optparse.rst has
been cleaned to use ``x`` instead of ``"x"``, keeping that latter
form for actual Python strings.
Patch by Eli Bendersky and Éric Araujo.
Senthil Kumaran [Thu, 18 Nov 2010 15:36:41 +0000 (15:36 +0000)]
Fix Issue2244 - urllib unquotes user and password info multiple times - Patch by Theodore Turocy
Stefan Krah [Thu, 18 Nov 2010 15:20:34 +0000 (15:20 +0000)]
Issue #10356: hash(Decimal("sNaN")) now raises ValueError instead of TypeError.
Antoine Pitrou [Thu, 18 Nov 2010 15:11:43 +0000 (15:11 +0000)]
Make test_nntplib more robust when the "last" article in a group can't be retrieved
Senthil Kumaran [Thu, 18 Nov 2010 15:00:53 +0000 (15:00 +0000)]
Fix Issue 9991: xmlrpc client ssl check faulty
Éric Araujo [Thu, 18 Nov 2010 14:22:08 +0000 (14:22 +0000)]
Remove spurious space that was breaking Vim’s reST highlighting.
Benjamin Peterson [Thu, 18 Nov 2010 14:14:43 +0000 (14:14 +0000)]
reduce try block compass