]>
granicus.if.org Git - python/log
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
Kristján Valur Jónsson [Thu, 18 Nov 2010 12:46:39 +0000 (12:46 +0000)]
Issue 10260
Adding the wait_for() method to threading.Condition
Michael Foord [Thu, 18 Nov 2010 11:02:50 +0000 (11:02 +0000)]
Remove duplicate period from reference doc
Alexander Belopolsky [Thu, 18 Nov 2010 03:50:18 +0000 (03:50 +0000)]
Issue #10446 NEWS entry
Brett Cannon [Thu, 18 Nov 2010 03:03:04 +0000 (03:03 +0000)]
Fix a minor inconsistency in capitalization for the 'No module named' exception
message in importlib.
Thanks to Éric Araujo for spotting the inconsistency.
Brian Curtin [Thu, 18 Nov 2010 02:15:28 +0000 (02:15 +0000)]
Fix #8886. Use context managers throughout the test.
Alexander Belopolsky [Thu, 18 Nov 2010 01:52:54 +0000 (01:52 +0000)]
Issue #10446: Several changes to module documentation generated by pydoc:
1. Online reference manual link is now version-specific and the
'MODULE DOCS' section renamed to 'MODULE REFERENCE'.
2. 'FILE' section is moved to the end of the file.
3. Special names processed by pydoc such as __version__ or __credits__
are now excluded from the DATA section.
4. Defined __all__ to prevent pydoc from exposing undocumented details
about itself.
5. Removed Python 2.3 compatibility code.
Benjamin Peterson [Wed, 17 Nov 2010 22:33:12 +0000 (22:33 +0000)]
handle dict subclasses gracefully in PyArg_ValidateKeywordArguments
Antoine Pitrou [Wed, 17 Nov 2010 21:55:41 +0000 (21:55 +0000)]
Use laxer timeouts in barrier tests
David Malcolm [Wed, 17 Nov 2010 21:20:18 +0000 (21:20 +0000)]
Issue #9518: Extend the PyModuleDef_HEAD_INIT macro to explicitly
zero-initialize all fields, fixing compiler warnings seen when building
extension modules with gcc with "-Wmissing-field-initializers" (implied
by "-W")
Antoine Pitrou [Wed, 17 Nov 2010 20:29:42 +0000 (20:29 +0000)]
Issue #10443: Add the SSLContext.set_default_verify_paths() method.
Antoine Pitrou [Wed, 17 Nov 2010 16:19:35 +0000 (16:19 +0000)]
Issue #10440: Support RUSAGE_THREAD as a constant in the resource module.
Patch by Robert Collins.
Stefan Krah [Wed, 17 Nov 2010 11:16:34 +0000 (11:16 +0000)]
Issue #10356: Decimal(-1).__hash__() should equal hash(Decimal(-1)).
Brian Quinlan [Wed, 17 Nov 2010 11:06:29 +0000 (11:06 +0000)]
Removes an inefficient spin loop in as_completed
Ezio Melotti [Tue, 16 Nov 2010 20:57:59 +0000 (20:57 +0000)]
Fix typo
Matthias Klose [Tue, 16 Nov 2010 20:07:51 +0000 (20:07 +0000)]
Modules/_io/bufferedio.c (buffered_dealloc_warn): Make it static.
Éric Araujo [Tue, 16 Nov 2010 19:13:50 +0000 (19:13 +0000)]
Provide links to Python source where the code is short, readable and
informative adjunct to the docs. Forward-port of Raymond's r86225 and
r86245 using the new source reST role added in #10334.
Antoine Pitrou [Tue, 16 Nov 2010 17:55:26 +0000 (17:55 +0000)]
Issue #10429: IMAP.starttls() stored the capabilities as bytes objects,
rather than strings.
Antoine Pitrou [Tue, 16 Nov 2010 17:49:46 +0000 (17:49 +0000)]
Avoid some BytesWarnings when running test_imaplib in verbose mode
Georg Brandl [Tue, 16 Nov 2010 15:15:56 +0000 (15:15 +0000)]
Post-release bumps.
Georg Brandl [Tue, 16 Nov 2010 15:15:29 +0000 (15:15 +0000)]
Add stub for PEP 3148.
Alexander Belopolsky [Tue, 16 Nov 2010 14:29:01 +0000 (14:29 +0000)]
Issue #10413: Updated comments to reflect code changes
Vinay Sajip [Sun, 14 Nov 2010 21:33:04 +0000 (21:33 +0000)]
Logging: added stack_info argument.
Raymond Hettinger [Sun, 14 Nov 2010 05:27:15 +0000 (05:27 +0000)]
Issue 10410: An iterable is not necessarily a container.
Georg Brandl [Sat, 13 Nov 2010 13:25:56 +0000 (13:25 +0000)]
Tagging 3.2a4.
Georg Brandl [Sat, 13 Nov 2010 13:25:40 +0000 (13:25 +0000)]
Minor edits.
Senthil Kumaran [Sat, 13 Nov 2010 12:27:49 +0000 (12:27 +0000)]
Fix Issue5111 - Wrap the Ipv6 host with [] in the Host header
Mark Dickinson [Sat, 13 Nov 2010 10:43:40 +0000 (10:43 +0000)]
Streamline a cmath test (and fix some overlong lines into the bargain).
Mark Dickinson [Sat, 13 Nov 2010 10:27:38 +0000 (10:27 +0000)]
Make Fraction(-1).__hash__() return -2 rather than -1 (see issue 10356).
Georg Brandl [Sat, 13 Nov 2010 06:39:58 +0000 (06:39 +0000)]
Bump to 3.2a4.
Georg Brandl [Sat, 13 Nov 2010 06:38:37 +0000 (06:38 +0000)]
Ignore suspicious-ignore file.
Georg Brandl [Sat, 13 Nov 2010 06:36:58 +0000 (06:36 +0000)]
Update pydoc topics.
Fred Drake [Sat, 13 Nov 2010 05:24:17 +0000 (05:24 +0000)]
fix copy-editing level nits
Fred Drake [Sat, 13 Nov 2010 04:24:26 +0000 (04:24 +0000)]
use appropriate markup
Antoine Pitrou [Sat, 13 Nov 2010 00:28:53 +0000 (00:28 +0000)]
Switch from gmane to another provider for NNTP tests (as gmane isn't reliable
enough). Also, use setUpClass in order to connect only once per test run.
Éric Araujo [Fri, 12 Nov 2010 22:25:23 +0000 (22:25 +0000)]
And now for something completely different: Finish fixing #10252 again.
Andrew M. Kuchling [Fri, 12 Nov 2010 20:54:47 +0000 (20:54 +0000)]
Remove myself as a maintainer for curses and mailbox modules.
Antoine Pitrou [Fri, 12 Nov 2010 18:49:16 +0000 (18:49 +0000)]
Issue #4471: Add the IMAP.starttls() method to enable encryption on
standard IMAP4 connections. Original patch by Lorenzo M. Catucci.
Martin v. Löwis [Fri, 12 Nov 2010 17:20:02 +0000 (17:20 +0000)]
Add UUID for 3.2a4
Georg Brandl [Fri, 12 Nov 2010 08:57:12 +0000 (08:57 +0000)]
Add a deprecated-removed directive that allows to give the version of removal for deprecations.
Georg Brandl [Fri, 12 Nov 2010 08:09:26 +0000 (08:09 +0000)]
Fix weird line block in table.
Georg Brandl [Fri, 12 Nov 2010 08:09:11 +0000 (08:09 +0000)]
Switch to Sphinx 1.0.5.
Georg Brandl [Fri, 12 Nov 2010 06:20:12 +0000 (06:20 +0000)]
#10008: Fix duplicate index entry.
Georg Brandl [Fri, 12 Nov 2010 06:19:48 +0000 (06:19 +0000)]
Build a PDF of the FAQs too.
Terry Reedy [Fri, 12 Nov 2010 04:22:22 +0000 (04:22 +0000)]
R. David Murray [Fri, 12 Nov 2010 00:35:31 +0000 (00:35 +0000)]
#7950: add warning about security implications of shell=True to subprocess docs
Patch by Chris Rebert.
Alexander Belopolsky [Thu, 11 Nov 2010 22:43:45 +0000 (22:43 +0000)]
Issue #10389: Documented rules for use of case in section titles.
R. David Murray [Thu, 11 Nov 2010 20:09:20 +0000 (20:09 +0000)]
#
1466065 : add validate option to base64.b64decode
Patch by Neil Tallim. This provides a mechanism for module
users to achieve RFC 3548 compliance in the cases where ignoring
non-base64-alphabet input characters is *not* mandated by the RFC that
references RFC 3548.
Łukasz Langa [Thu, 11 Nov 2010 19:53:23 +0000 (19:53 +0000)]
configparser.py: changed PendingDeprecationWarnings to DeprecationWarnings, via http://mail.python.org/pipermail/python-dev/2010-November/105391.html
configparser:py: renamed _views to _proxies to be consistent with the SectionProxy name
Alexander Belopolsky [Thu, 11 Nov 2010 14:07:41 +0000 (14:07 +0000)]
Issue #10386: Added __all__ to token module; this simplifies importing
in tokenize module and prevents leaking of private names through
import *.
Georg Brandl [Thu, 11 Nov 2010 07:26:40 +0000 (07:26 +0000)]
Review the new configparser docs.
Antoine Pitrou [Wed, 10 Nov 2010 22:36:43 +0000 (22:36 +0000)]
Disable test_python_builders in test_xmlrpc_net, following buildbot upgrade on python.org
Łukasz Langa [Wed, 10 Nov 2010 18:59:35 +0000 (18:59 +0000)]
added myself as a maintainer of configparser
Łukasz Langa [Wed, 10 Nov 2010 18:57:39 +0000 (18:57 +0000)]
Issue #5412: extend configparser to support mapping access
Victor Stinner [Wed, 10 Nov 2010 14:12:20 +0000 (14:12 +0000)]
getpath.c: fix test to detech PyUnicode_AsWideChar() failure
PyUnicode_AsWideChar() result is signed, whereas it was stored in a unsigned
variable, and then the test was "n >= 0" which is always true to an unsigned
number. Patch written by Hallvard B Furuseth.
Antoine Pitrou [Wed, 10 Nov 2010 13:55:25 +0000 (13:55 +0000)]
Issue #10372: Import the warnings module only after the IO library is
initialized, so as to avoid bootstrap issues with the '-W' option.
Antoine Pitrou [Wed, 10 Nov 2010 08:59:25 +0000 (08:59 +0000)]
Followup to r86383: it seems that in some cases (buildbots), the server
closes the connection before we can call shutdown().
Georg Brandl [Wed, 10 Nov 2010 07:57:10 +0000 (07:57 +0000)]
Fix typo.
Antoine Pitrou [Wed, 10 Nov 2010 00:18:40 +0000 (00:18 +0000)]
Forward port r86386 after it fixed the 3.1 buildbot issues
Antoine Pitrou [Tue, 9 Nov 2010 23:10:33 +0000 (23:10 +0000)]
Issue #4471: Properly shutdown socket in IMAP.shutdown(). Patch by
Lorenzo M. Catucci.
Antoine Pitrou [Tue, 9 Nov 2010 22:55:55 +0000 (22:55 +0000)]
Fix IMAP.login() to work properly.
Also, add remote tests for imaplib (part of #4471).
Antoine Pitrou [Tue, 9 Nov 2010 22:04:44 +0000 (22:04 +0000)]
Preserve the original environment (e.g. LD_LIBRARY_PATH)
Ask Solem [Tue, 9 Nov 2010 22:04:16 +0000 (22:04 +0000)]
Remove uneeded NEWS entries for minor documentation updates.
Ask Solem [Tue, 9 Nov 2010 21:52:33 +0000 (21:52 +0000)]
Issue #8028: multiprocessing: Documented that ``Process.terminate``
is only intented for use by the parent process.
Ask Solem [Tue, 9 Nov 2010 21:46:03 +0000 (21:46 +0000)]
Issue #7707: Documented that multiprocessing.Queue operations during
import can lead to deadlocks.
Ask Solem [Tue, 9 Nov 2010 21:36:56 +0000 (21:36 +0000)]
Documented the new error_callback keyword argument to multiprocessing.Pool's apply_async and map_async
Antoine Pitrou [Tue, 9 Nov 2010 21:33:55 +0000 (21:33 +0000)]
Use script_helper in one more test
Ask Solem [Tue, 9 Nov 2010 21:14:53 +0000 (21:14 +0000)]
Added missing NEWS entry for my previous commit (r86370).
Ask Solem [Tue, 9 Nov 2010 20:55:52 +0000 (20:55 +0000)]
Issue #9244: multiprocessing.pool: Worker crashes if result can't be encoded
Antoine Pitrou [Tue, 9 Nov 2010 20:21:19 +0000 (20:21 +0000)]
Issue #10022: The dictionary returned by the `getpeercert()` method
of SSL sockets now has additional items such as `issuer` and `notBefore`.
Antoine Pitrou [Tue, 9 Nov 2010 18:58:42 +0000 (18:58 +0000)]
Make `usenetrc` False by default (the old behaviour of having it True by
default could be rather confusing).
Antoine Pitrou [Tue, 9 Nov 2010 18:54:37 +0000 (18:54 +0000)]
Issue #1926: Add support for NNTP over SSL on port 563, as well as
STARTTLS. Patch by Andrew Vant.
Alexander Belopolsky [Tue, 9 Nov 2010 18:40:03 +0000 (18:40 +0000)]
Issue #7061: Added a 'Turtle star' sidebar