]>
granicus.if.org Git - python/log
Brian Curtin [Wed, 4 Aug 2010 15:47:24 +0000 (15:47 +0000)]
Fix #9513 to remove relative imports from multiprocessing.
The test suite currently skips test_multiprocessing on Windows
because it fails on finding _multiprocessing in several
win32-specific blocks. Removing the relative import lets this
through and allows the test to run (and pass).
Antoine Pitrou [Wed, 4 Aug 2010 15:43:16 +0000 (15:43 +0000)]
Issue #9496: Provide a test suite for the rlcompleter module. Patch by
Michele Orrù.
Antoine Pitrou [Wed, 4 Aug 2010 13:24:41 +0000 (13:24 +0000)]
I'm interested in threading issues as well
Richard Jones [Wed, 4 Aug 2010 12:27:36 +0000 (12:27 +0000)]
fix test_smtplib/test_smtpd collision through pre-loaded reply data in mock_socket
Antoine Pitrou [Wed, 4 Aug 2010 11:48:56 +0000 (11:48 +0000)]
Factor out stripping of interpreter debug output in test.support.strip_python_stderr()
Giampaolo Rodolà [Wed, 4 Aug 2010 10:36:18 +0000 (10:36 +0000)]
as per discussion with antoine revert changes made in 83708 as the user useing ftplib's readline methods is supposed to always use a binary file
Antoine Pitrou [Wed, 4 Aug 2010 10:26:30 +0000 (10:26 +0000)]
Something fun to maintain
Giampaolo Rodolà [Wed, 4 Aug 2010 10:12:00 +0000 (10:12 +0000)]
fix issue #6822: ftplib's storline method doesn't work with text files
Giampaolo Rodolà [Wed, 4 Aug 2010 09:28:05 +0000 (09:28 +0000)]
issue #8687: provides a test suite for sched.py module
Giampaolo Rodolà [Wed, 4 Aug 2010 09:02:27 +0000 (09:02 +0000)]
fix issue #2944: asyncore doesn't handle connection refused correctly (patch by Alexander Shigin). Merged from 2.7 branch.
Senthil Kumaran [Wed, 4 Aug 2010 04:50:44 +0000 (04:50 +0000)]
Fix Issue754016 - urlparse goes wrong with IP:port without scheme
Richard Jones [Wed, 4 Aug 2010 01:20:14 +0000 (01:20 +0000)]
improve smtpd module test coverage
Richard Jones [Wed, 4 Aug 2010 01:19:22 +0000 (01:19 +0000)]
note smtpd module changes in NEWS
Antoine Pitrou [Wed, 4 Aug 2010 00:18:49 +0000 (00:18 +0000)]
That test was never run (since thread has been renamed to _thread in 3.x)
R. David Murray [Tue, 3 Aug 2010 22:14:10 +0000 (22:14 +0000)]
#3196: if needed pad a short base64 encoded word before trying to decode.
The RFCs encourage following Postel's law: be liberal in what you accept.
So if someone forgot to pad the base64 encoded word payload to an
even four bytes, we add the padding before handing it to base64mime.decode.
Previously, missing padding resulted in a HeaderParseError.
Patch by Jason Williams.
Mark Dickinson [Tue, 3 Aug 2010 18:44:16 +0000 (18:44 +0000)]
Misc/NEWS entry for r83677.
Martin v. Löwis [Tue, 3 Aug 2010 18:35:55 +0000 (18:35 +0000)]
Add various missing files.
Improve detection of unpackaged files.
Antoine Pitrou [Tue, 3 Aug 2010 18:32:26 +0000 (18:32 +0000)]
In test_threading_local, test both the default _thread._local implementation
and the pure Python implementation in Lib/_threading_local.py
Mark Dickinson [Tue, 3 Aug 2010 18:31:54 +0000 (18:31 +0000)]
Fix memory leak in ssl module.
R. David Murray [Tue, 3 Aug 2010 17:56:09 +0000 (17:56 +0000)]
#9444: use first of prefix_chars for help opt instead of raising error
An argparse option parser created with a prefix_chars that did not
include a '-' would happily add -h and --help options, and then throw
an error when it tried to format the help because the - was an invalid
prefix character. This patch makes it use the first character of
prefix_chars as the character for the help options if and only if '-'
is not one of the valid prefix_chars.
Fix by Theodore Turocy, unit tests by Catherine Devlin.
Antoine Pitrou [Tue, 3 Aug 2010 17:09:36 +0000 (17:09 +0000)]
Issue #8867: Fix `Tools/scripts/serve.py` to work with files containing
non-ASCII content.
Mark Dickinson [Tue, 3 Aug 2010 16:49:49 +0000 (16:49 +0000)]
Issue #8065: Fix another memory leak in readline module, from failure to free
the result of a call to history_get_history_state.
Mark Dickinson [Tue, 3 Aug 2010 16:08:16 +0000 (16:08 +0000)]
Issue #9450: Fix memory leaks in readline.remove/replace_history_entry.
Georg Brandl [Tue, 3 Aug 2010 12:36:57 +0000 (12:36 +0000)]
A couple of nits how to ignore errors.
Georg Brandl [Tue, 3 Aug 2010 12:31:59 +0000 (12:31 +0000)]
Get rid of UserWarnings when running Sphinx from tools dir.
Georg Brandl [Tue, 3 Aug 2010 12:06:29 +0000 (12:06 +0000)]
Terminology fix: exceptions are raised, except in generator.throw().
Georg Brandl [Tue, 3 Aug 2010 07:56:50 +0000 (07:56 +0000)]
Fix regrtest -F.
Ronald Oussoren [Tue, 3 Aug 2010 07:42:42 +0000 (07:42 +0000)]
Fix for issue 9455: platform.mac_ver() broken on OSX/ppc
Richard Jones [Tue, 3 Aug 2010 06:39:33 +0000 (06:39 +0000)]
improvements to test_smtplib per issue2423
merged the socket mock introduced in test_smtpd
Georg Brandl [Mon, 2 Aug 2010 23:30:09 +0000 (23:30 +0000)]
Fix-up some tkinter demos.
Georg Brandl [Mon, 2 Aug 2010 23:18:35 +0000 (23:18 +0000)]
Remove reference to removed faqwiz tool.
Georg Brandl [Mon, 2 Aug 2010 23:17:21 +0000 (23:17 +0000)]
Remove obsolete pdist demo.
Georg Brandl [Mon, 2 Aug 2010 23:15:58 +0000 (23:15 +0000)]
Another demo that at least runs again.
Georg Brandl [Mon, 2 Aug 2010 23:13:24 +0000 (23:13 +0000)]
Make minigzip work again.
Georg Brandl [Mon, 2 Aug 2010 23:13:12 +0000 (23:13 +0000)]
Update Demo README.
Georg Brandl [Mon, 2 Aug 2010 22:59:44 +0000 (22:59 +0000)]
Fix unicode literal.
Georg Brandl [Mon, 2 Aug 2010 22:58:25 +0000 (22:58 +0000)]
Make the framer run (still generates wrong code for module creation though.)
Georg Brandl [Mon, 2 Aug 2010 22:55:17 +0000 (22:55 +0000)]
Update README, remove obsolete script.
Georg Brandl [Mon, 2 Aug 2010 22:53:22 +0000 (22:53 +0000)]
Update README, remove obsolete scripts.
Georg Brandl [Mon, 2 Aug 2010 22:31:22 +0000 (22:31 +0000)]
Update README for Tools.
Georg Brandl [Mon, 2 Aug 2010 22:28:01 +0000 (22:28 +0000)]
Remove faqwiz tool.
Georg Brandl [Mon, 2 Aug 2010 22:25:16 +0000 (22:25 +0000)]
Minimum fixes to make freeze.py do something useful.
Georg Brandl [Mon, 2 Aug 2010 22:08:58 +0000 (22:08 +0000)]
Make the Pynche tool work with Python 3.
Georg Brandl [Mon, 2 Aug 2010 21:51:18 +0000 (21:51 +0000)]
#9061: warn that single quotes are never escaped.
Georg Brandl [Mon, 2 Aug 2010 21:07:14 +0000 (21:07 +0000)]
#9457: fix documentation links for 3.2.
Georg Brandl [Mon, 2 Aug 2010 21:02:36 +0000 (21:02 +0000)]
#8119: fix copy-paste error.
Georg Brandl [Mon, 2 Aug 2010 20:52:10 +0000 (20:52 +0000)]
#9238: zipfile does handle archive comments.
Georg Brandl [Mon, 2 Aug 2010 20:47:56 +0000 (20:47 +0000)]
#6867: epoll.register() returns None.
Georg Brandl [Mon, 2 Aug 2010 20:44:34 +0000 (20:44 +0000)]
Clarify that abs() is not a namespace.
Georg Brandl [Mon, 2 Aug 2010 20:39:35 +0000 (20:39 +0000)]
#7797: be explicit about bytes-oriented interface of base64 functions.
Georg Brandl [Mon, 2 Aug 2010 20:30:57 +0000 (20:30 +0000)]
#9019: remove false (in 3k) claim about Headers updates.
Georg Brandl [Mon, 2 Aug 2010 20:27:20 +0000 (20:27 +0000)]
#9111: document that do_help() looks at docstrings.
Georg Brandl [Mon, 2 Aug 2010 20:21:21 +0000 (20:21 +0000)]
#9037: add example how to raise custom exceptions from C code.
Georg Brandl [Mon, 2 Aug 2010 20:17:50 +0000 (20:17 +0000)]
#4280: remove outdated "versionchecker" tool.
Georg Brandl [Mon, 2 Aug 2010 20:16:18 +0000 (20:16 +0000)]
#9087: update json docstrings -- unicode and long do not exist anymore.
Georg Brandl [Mon, 2 Aug 2010 20:05:19 +0000 (20:05 +0000)]
#8648: document UTF-7 codec functions.
Georg Brandl [Mon, 2 Aug 2010 19:44:48 +0000 (19:44 +0000)]
#8861: remove unused variable.
Georg Brandl [Mon, 2 Aug 2010 19:43:05 +0000 (19:43 +0000)]
#7280: note about nasmw.exe.
Georg Brandl [Mon, 2 Aug 2010 19:39:17 +0000 (19:39 +0000)]
Remove redundant information.
Georg Brandl [Mon, 2 Aug 2010 19:36:36 +0000 (19:36 +0000)]
#9438: clarify that constant names also cannot be assigned as attributes.
Georg Brandl [Mon, 2 Aug 2010 19:35:06 +0000 (19:35 +0000)]
Remove XXX comment that was displayed.
Georg Brandl [Mon, 2 Aug 2010 19:32:43 +0000 (19:32 +0000)]
#9451: strengthen warning about __*__ special name usage.
Georg Brandl [Mon, 2 Aug 2010 19:23:34 +0000 (19:23 +0000)]
#8172: how does one use a property?
Georg Brandl [Mon, 2 Aug 2010 19:19:26 +0000 (19:19 +0000)]
#7386: add example that shows that trailing path separators are stripped.
Georg Brandl [Mon, 2 Aug 2010 19:16:34 +0000 (19:16 +0000)]
#7973: Fix distutils options spelling.
Georg Brandl [Mon, 2 Aug 2010 18:59:52 +0000 (18:59 +0000)]
#8560: add progress indicator to regrtest.
Georg Brandl [Mon, 2 Aug 2010 18:56:54 +0000 (18:56 +0000)]
Move test_SimpleHTTPServer into test_httpservers.
Georg Brandl [Mon, 2 Aug 2010 18:10:13 +0000 (18:10 +0000)]
#6928: fix class docs w.r.t. new metaclasses.
Georg Brandl [Mon, 2 Aug 2010 17:49:25 +0000 (17:49 +0000)]
#8578: mention danger of not incref'ing weak referenced object.
Georg Brandl [Mon, 2 Aug 2010 17:24:49 +0000 (17:24 +0000)]
#7372: fix regression in pstats: a previous fix to handle cProfile data in add_callers broke handling of profile data.
Senthil Kumaran [Mon, 2 Aug 2010 17:09:02 +0000 (17:09 +0000)]
Rewording the getheader method of HTTPResponse.
Georg Brandl [Mon, 2 Aug 2010 12:54:24 +0000 (12:54 +0000)]
Document how to refer to decorators and decorator methods.
Georg Brandl [Mon, 2 Aug 2010 12:48:46 +0000 (12:48 +0000)]
#3821: beginnings of a trace.py unittest.
Georg Brandl [Mon, 2 Aug 2010 12:40:22 +0000 (12:40 +0000)]
Fix softspace relic.
Georg Brandl [Mon, 2 Aug 2010 12:36:24 +0000 (12:36 +0000)]
Get rid of spurious "threading" entries in trace output.
Georg Brandl [Mon, 2 Aug 2010 12:20:23 +0000 (12:20 +0000)]
#9428: fix running scripts from profile/cProfile with their own name and the right namespace. Same fix as for trace.py in #
1690103 .
Georg Brandl [Mon, 2 Aug 2010 12:06:18 +0000 (12:06 +0000)]
#9209 and #7781: fix two crashes in pstats interactive browser.
Senthil Kumaran [Mon, 2 Aug 2010 11:04:58 +0000 (11:04 +0000)]
Fix Issue8572 - httplib getheader() throws error instead of default
Raymond Hettinger [Mon, 2 Aug 2010 01:43:41 +0000 (01:43 +0000)]
Demonstrate the caching decorators in whatsnew.
Raymond Hettinger [Mon, 2 Aug 2010 00:59:14 +0000 (00:59 +0000)]
Add example applications for the LRU and LFU cache docs.
R. David Murray [Sun, 1 Aug 2010 23:43:28 +0000 (23:43 +0000)]
Fix ACKS alphabetization.
Georg Brandl [Sun, 1 Aug 2010 22:31:05 +0000 (22:31 +0000)]
Fix style of referring to issues.
Raymond Hettinger [Sun, 1 Aug 2010 22:10:57 +0000 (22:10 +0000)]
Update OrderedDict implementation to match that in Py2.7.
Raymond Hettinger [Sun, 1 Aug 2010 21:50:38 +0000 (21:50 +0000)]
Fix VS8.0 build by adding _time.h and _time.c to the project file.
Mark Dickinson [Sun, 1 Aug 2010 21:33:01 +0000 (21:33 +0000)]
Don't delete Lib/test/data/README when doing 'make distclean'
Raymond Hettinger [Sun, 1 Aug 2010 21:10:35 +0000 (21:10 +0000)]
Issue 9445: Fix undefined symbols on VS8.0 build.
Georg Brandl [Sun, 1 Aug 2010 20:51:02 +0000 (20:51 +0000)]
Revert r83395, it introduces test failures and is not necessary anyway since we now have to nul-terminate the string anyway.
Antoine Pitrou [Sun, 1 Aug 2010 20:08:46 +0000 (20:08 +0000)]
Issue #8397: Raise an error when attempting to mix iteration and regular
reads on a BZ2File object, rather than returning incorrect results.
Ronald Oussoren [Sun, 1 Aug 2010 19:18:13 +0000 (19:18 +0000)]
test_getgroups as introduced with issue7900 failed on systems
where 'id -G' and posix.getgroups() returned the same information,
but one of the sources contains duplicate information. Rewrite the
check using sets instead of lists.
Georg Brandl [Sun, 1 Aug 2010 18:38:26 +0000 (18:38 +0000)]
#5776: fix mistakes in python specfile. (Nobody probably uses it anyway.)
Senthil Kumaran [Sun, 1 Aug 2010 17:53:37 +0000 (17:53 +0000)]
Fix Issue8123 - TypeError in urllib when trying to use HTTP authentication
Antoine Pitrou [Sun, 1 Aug 2010 16:53:42 +0000 (16:53 +0000)]
Issue #9448: Fix a leak of OS resources (mutexes or semaphores) when
re-initializing a buffered IO object by calling its `__init__` method.
Georg Brandl [Sun, 1 Aug 2010 15:30:56 +0000 (15:30 +0000)]
#5551: symbolic links never can be mount points. Fixes the fix for #1713.
Brian Curtin [Sun, 1 Aug 2010 15:26:26 +0000 (15:26 +0000)]
Fix #8105. Add validation to mmap.mmap so invalid file descriptors
don't cause a crash on Windows.
Georg Brandl [Sun, 1 Aug 2010 14:50:00 +0000 (14:50 +0000)]
#8046: add context manager protocol support to mmap objects. Also add closed property.
Georg Brandl [Sun, 1 Aug 2010 14:38:17 +0000 (14:38 +0000)]
#4943: do not try to include drive letters (and colons) when looking for a probably module name.
Georg Brandl [Sun, 1 Aug 2010 14:25:22 +0000 (14:25 +0000)]
#6439: fix argument type for PySys_SetArgvEx() and Py_SetProgramName() in Demo/embed code.
Mark Dickinson [Sun, 1 Aug 2010 11:10:28 +0000 (11:10 +0000)]
Add test for memory leak reported in issue 9422.
Mark Dickinson [Sun, 1 Aug 2010 10:41:49 +0000 (10:41 +0000)]
Issue #9416: Fix some issues with complex formatting where the
output with no type specifier failed to match the str output:
- format(complex(-0.0, 2.0), '-') omitted the real part from the output,
- format(complex(0.0, 2.0), '-') included a sign and parentheses.
Georg Brandl [Sun, 1 Aug 2010 09:17:53 +0000 (09:17 +0000)]
Package some new files that are needed for running the test suite from the MSI package.