]>
granicus.if.org Git - python/log
É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
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.