]>
granicus.if.org Git - python/log
Charles-François Natali [Sun, 18 Dec 2011 14:52:48 +0000 (15:52 +0100)]
Issue #8035: urllib: Fix a bug where the client could remain stuck after a
redirection or an error.
Victor Stinner [Sun, 18 Dec 2011 01:56:18 +0000 (02:56 +0100)]
Issue #13522: Fix _Py_co_pow() documentation
Patch written by Arnaud Calmettes.
Antoine Pitrou [Sun, 18 Dec 2011 00:25:27 +0000 (01:25 +0100)]
Issue #13522: document error return values of some float and complex C API functions.
Ezio Melotti [Fri, 16 Dec 2011 23:17:17 +0000 (01:17 +0200)]
#13613: fix example in re doc.
Victor Stinner [Thu, 15 Dec 2011 20:42:03 +0000 (21:42 +0100)]
Issue #13545: Fix platform.libc_version() is the SO version is missing
Antoine Pitrou [Thu, 15 Dec 2011 13:15:31 +0000 (14:15 +0100)]
Fix the fix for issue #12149: it was incorrect, although it had the side
effect of appearing to resolve the issue. Thanks to Mark Shannon for
noticing.
Ned Deily [Wed, 14 Dec 2011 23:05:42 +0000 (15:05 -0800)]
Issue #4625: add NEWS entry.
Ned Deily [Wed, 14 Dec 2011 22:57:43 +0000 (14:57 -0800)]
Issue #4625: If IDLE cannot write to its recent file or breakpoint
files, display a message popup and continue rather than crash.
(original patch by Roger Serwy)
Charles-François Natali [Wed, 14 Dec 2011 18:28:08 +0000 (19:28 +0100)]
Issue #13453: Fix a race condition in test_poplib.
Charles-François Natali [Wed, 14 Dec 2011 17:35:55 +0000 (18:35 +0100)]
Issue #4028: Make multiprocessing build on SunOS.
Ezio Melotti [Tue, 13 Dec 2011 13:49:22 +0000 (15:49 +0200)]
#6570: clarify tutorial section about keyword arguments.
Ezio Melotti [Tue, 13 Dec 2011 12:50:21 +0000 (14:50 +0200)]
#13549: improve tutorial section about listcomps.
Raymond Hettinger [Mon, 12 Dec 2011 06:31:09 +0000 (22:31 -0800)]
Issue #13573: The csv.writer now uses the repr() for floats rather than str().
Benjamin Peterson [Sat, 10 Dec 2011 17:31:42 +0000 (12:31 -0500)]
you can't get resource.error if you can't import resource
Charles-François Natali [Sat, 10 Dec 2011 12:16:02 +0000 (13:16 +0100)]
Issue #13453: Catch EAI_FAIL in support.transient_internet.
Florent Xicluna [Fri, 9 Dec 2011 22:40:27 +0000 (23:40 +0100)]
Fix docstring typo.
Jason R. Coombs [Fri, 9 Dec 2011 03:14:56 +0000 (22:14 -0500)]
Implemented suggested improvements for pdb test by Éric Araujo
Stefan Krah [Thu, 8 Dec 2011 21:26:06 +0000 (22:26 +0100)]
Backport second fix for issue #11149.
Victor Stinner [Wed, 7 Dec 2011 23:32:51 +0000 (00:32 +0100)]
Issue #11886: workaround an OS bug (time zone data) in test_time
Australian Eastern Standard Time (UTC+10) is called "EST" (as Eastern Standard
Time, UTC-5) instead of "AEST" on some operating systems (e.g. FreeBSD), which
is wrong. See for example this bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=93810
Ezio Melotti [Wed, 7 Dec 2011 22:00:49 +0000 (00:00 +0200)]
#13531: add a test for defaultdict with a non-callable arg. Patch by Mike Cheng.
Amaury Forgeot d'Arc [Wed, 7 Dec 2011 20:46:48 +0000 (21:46 +0100)]
Issue #13546: Fixed an overflow issue that could crash the intepreter when
calling sys.setrecursionlimit((1<<31)-1).
2.7 only.
Jesus Cea [Tue, 6 Dec 2011 19:46:04 +0000 (20:46 +0100)]
Close #13500: Hitting EOF gets cmd.py into a infinite EOF on return loop
Lars Gustäbel [Tue, 6 Dec 2011 12:07:09 +0000 (13:07 +0100)]
Correctly detect bzip2 compressed streams with blocksizes other than 900k.
Antoine Pitrou [Sun, 4 Dec 2011 22:56:30 +0000 (23:56 +0100)]
Issue #13527: remove mention of Python megawidgets and Tkinter3000 WCK
from the doc. These two projects appear dead.
Meador Inge [Sat, 3 Dec 2011 18:13:42 +0000 (12:13 -0600)]
Issue #13513: IOBase docs incorrectly link to the readline module
Jason R. Coombs [Mon, 7 Nov 2011 15:44:25 +0000 (10:44 -0500)]
Issue #13211: Add .reason attribute to HTTPError to implement parent class (URLError) interface.
Petri Lehtinen [Fri, 2 Dec 2011 19:09:30 +0000 (21:09 +0200)]
Issue #13439: Fix many errors in turtle docstrings.
Ezio Melotti [Fri, 2 Dec 2011 17:47:24 +0000 (19:47 +0200)]
#13494: s/cast/convert/. Also add a link.
Ezio Melotti [Fri, 2 Dec 2011 17:26:48 +0000 (19:26 +0200)]
#13499: fix example adding >>> before the comments.
Ezio Melotti [Fri, 2 Dec 2011 16:17:30 +0000 (18:17 +0200)]
#8414: add more tests for "assert". Initial patch by Gregory Nofi.
Victor Stinner [Mon, 28 Nov 2011 23:53:09 +0000 (00:53 +0100)]
Issue #13093: Fix _testcapi.unicode_encodedecimal()
_testcapimodule.c is not "ssize_t" safe in Python 2.7: the length argument type
is int, not Py_ssize_t.
Charles-François Natali [Sun, 27 Nov 2011 12:05:14 +0000 (13:05 +0100)]
Issue #13415: Skip test_os.test_unset_error on FreeBSD and OS X.
Charles-François Natali [Sun, 27 Nov 2011 12:01:35 +0000 (13:01 +0100)]
Issue #13415: Test in configure if unsetenv() has a return value or not.
Meador Inge [Sat, 26 Nov 2011 17:30:21 +0000 (11:30 -0600)]
Issue #12618: fix py_compile unit tests to handle different drives on Windows
Meador Inge [Sat, 26 Nov 2011 05:28:18 +0000 (23:28 -0600)]
Issue #12618: create unit tests for the py_compile module
Meador Inge [Sat, 26 Nov 2011 04:25:06 +0000 (22:25 -0600)]
Issue #13380: add an internal function for resetting the ctypes caches
Antoine Pitrou [Fri, 25 Nov 2011 20:28:15 +0000 (21:28 +0100)]
Issue #12856: Ensure child processes do not inherit the parent's random seed for filename generation in the tempfile module.
Patch by Brian Harring.
Vinay Sajip [Wed, 23 Nov 2011 14:27:11 +0000 (14:27 +0000)]
Added a configuration dictionary example to the logging cookbook.
Vinay Sajip [Wed, 23 Nov 2011 08:51:35 +0000 (08:51 +0000)]
Closes #13459: Clarified documentation on Logger.propagate. Thanks to Mike Fogel for the patch.
Benjamin Peterson [Wed, 23 Nov 2011 05:56:06 +0000 (23:56 -0600)]
no python objects to manage here
Benjamin Peterson [Wed, 23 Nov 2011 05:12:49 +0000 (23:12 -0600)]
plug refleak
Antoine Pitrou [Wed, 23 Nov 2011 00:39:19 +0000 (01:39 +0100)]
Issue #13458: Fix a memory leak in the ssl module when decoding a certificate with a subjectAltName.
Patch by Robert Xiao.
Victor Stinner [Tue, 22 Nov 2011 21:30:19 +0000 (22:30 +0100)]
Issue #13436: Fix unsetenv() test on Windows
Victor Stinner [Tue, 22 Nov 2011 21:20:13 +0000 (22:20 +0100)]
Issue #13415: os.unsetenv() doesn't ignore errors anymore.
Charles-François Natali [Tue, 22 Nov 2011 17:35:18 +0000 (18:35 +0100)]
Issue #12156: Skip test_multiprocessing on systems which don't support enough
POSIX semaphores (among which FreeBSD < 8).
Victor Stinner [Tue, 22 Nov 2011 00:54:19 +0000 (01:54 +0100)]
Issue #13093: Fix error handling on PyUnicode_EncodeDecimal()
Add tests for PyUnicode_EncodeDecimal()
Antoine Pitrou [Mon, 21 Nov 2011 19:16:44 +0000 (20:16 +0100)]
Issue #13322: Fix BufferedWriter.write() to ensure that BlockingIOError is
raised when the wrapped raw file is non-blocking and the write would block.
Previous code assumed that the raw write() would raise BlockingIOError, but
RawIOBase.write() is defined to returned None when the call would block.
Patch by sbt.
Victor Stinner [Sun, 20 Nov 2011 22:09:09 +0000 (23:09 +0100)]
Close #13401: Skip TestFileTypeW of test_argparse if the current user is root
Patch written by Arfrever Frehtes Taifersar Arahesis.
Raymond Hettinger [Sun, 20 Nov 2011 19:05:23 +0000 (11:05 -0800)]
Note the store_true and store_false also create the appropriate defaults.
Raymond Hettinger [Sun, 20 Nov 2011 18:38:53 +0000 (10:38 -0800)]
Make an error message more understandable and consistent with other error messages.
Mark Dickinson [Sat, 19 Nov 2011 16:26:08 +0000 (16:26 +0000)]
Issue #12245: Document sys.float_info.rounds better.
Ezio Melotti [Fri, 18 Nov 2011 16:59:36 +0000 (18:59 +0200)]
#13387: add note about checking the exact type in assertIsInstance doc.
Ezio Melotti [Fri, 18 Nov 2011 16:33:14 +0000 (18:33 +0200)]
#11112: Fix typo in a base class in test_socket.
Ezio Melotti [Fri, 18 Nov 2011 16:00:40 +0000 (18:00 +0200)]
#13358: HTMLParser now calls handle_data only once for each CDATA.
Ezio Melotti [Fri, 18 Nov 2011 15:30:28 +0000 (17:30 +0200)]
#4147: minidom's toprettyxml no longer adds whitespace around a text node when it is the only child of an element. Initial patch by Dan Kenigsberg.
Ezio Melotti [Fri, 18 Nov 2011 11:41:58 +0000 (13:41 +0200)]
#13426: fix typo in pickle doc.
Jason R. Coombs [Thu, 17 Nov 2011 23:03:24 +0000 (18:03 -0500)]
PDB now will properly escape backslashes in the names of modules it executes. Fixes #7750
Eli Bendersky [Wed, 16 Nov 2011 04:01:14 +0000 (06:01 +0200)]
fixing typos in optparse doc
Eli Bendersky [Wed, 16 Nov 2011 03:54:07 +0000 (05:54 +0200)]
remove duplicated paragraph in the tutorial
Ned Deily [Wed, 16 Nov 2011 02:29:02 +0000 (18:29 -0800)]
Issue #8793: Prevent IDLE crash in 2.7 when given strings with
invalid hex escape sequences.
Antoine Pitrou [Tue, 15 Nov 2011 00:49:40 +0000 (01:49 +0100)]
Issue #13333: The UTF-7 decoder now accepts lone surrogates
(the encoder already accepts them).
Victor Stinner [Mon, 14 Nov 2011 19:50:36 +0000 (20:50 +0100)]
Issue #7732: Try to fix the a failing test on Windows
It doesn't matter if imp.find_module() fails with ImportError or IOError, but
it should not crash.
Ezio Melotti [Mon, 14 Nov 2011 16:04:05 +0000 (18:04 +0200)]
#
1745761 , #755670, #13357, #12629, #
1200313 : improve attribute handling in HTMLParser.
Ezio Melotti [Tue, 8 Nov 2011 00:07:18 +0000 (02:07 +0200)]
Group tests about attributes in a separate class.
Eli Bendersky [Sun, 13 Nov 2011 23:02:20 +0000 (01:02 +0200)]
Normalize the keyword arguments documentation notation in re.rst. Closes issue #12875
Petri Lehtinen [Sat, 12 Nov 2011 19:24:00 +0000 (21:24 +0200)]
Merge heads
Petri Lehtinen [Sat, 12 Nov 2011 19:02:42 +0000 (21:02 +0200)]
Update mailbox.Maildir tests
Remove a sleep to fix transient test failures. Use skewfactor of -3 to
make it work on systems that have 1 second precision for time.time().
Closes #11999
Refs #13254
Eli Bendersky [Sat, 12 Nov 2011 18:51:54 +0000 (20:51 +0200)]
Closes issue 12767: document the argument of threading.Condition.notify
Antoine Pitrou [Sat, 12 Nov 2011 00:33:59 +0000 (01:33 +0100)]
Issue #13193: Fix distutils.filelist.FileList under Windows. The
"recursive-include" directive now recognizes both legal path separators.
Eli Bendersky [Fri, 11 Nov 2011 19:25:56 +0000 (21:25 +0200)]
Issue #12875: explicitly specify default value of the optional 'flags' argument to re.* functions. Closes #12875
Eli Bendersky [Fri, 11 Nov 2011 14:52:16 +0000 (16:52 +0200)]
Issue #13161: fix doc strings of __i*__ operators
Eli Bendersky [Fri, 11 Nov 2011 14:42:11 +0000 (16:42 +0200)]
Issue #13191: typo in argparse docs
Antoine Pitrou [Wed, 9 Nov 2011 23:33:50 +0000 (00:33 +0100)]
Issue #13373: multiprocessing.Queue.get() could sometimes block indefinitely
when called with a timeout. Patch by Arnaud Ysmal.
Jesus Cea [Tue, 8 Nov 2011 15:06:44 +0000 (16:06 +0100)]
Partial patch for issue #11812: Take care of test_telnetlib.py
Jesus Cea [Tue, 8 Nov 2011 14:54:42 +0000 (15:54 +0100)]
Solved a potential deadlock in test_telnetlib.py. Related to issue #11812
Vinay Sajip [Mon, 7 Nov 2011 10:13:18 +0000 (10:13 +0000)]
Closes #13361: Raise correct exception type.
Vinay Sajip [Mon, 7 Nov 2011 08:49:16 +0000 (08:49 +0000)]
Closes #13661: Check added for type of logger name.
Vinay Sajip [Mon, 7 Nov 2011 08:43:51 +0000 (08:43 +0000)]
Closes #13356. Thanks to Florent Xicluna for the patch.
Vinay Sajip [Sun, 6 Nov 2011 22:37:17 +0000 (22:37 +0000)]
Closes issue #13353: version doumentation about utc parameter corrected.
Petri Lehtinen [Sun, 6 Nov 2011 18:58:50 +0000 (20:58 +0200)]
Revert "Accept None as start and stop parameters for list.index() and tuple.index()"
Issue #13340.
Ezio Melotti [Sun, 6 Nov 2011 16:50:32 +0000 (18:50 +0200)]
Silence a couple of warnings.
Ezio Melotti [Sun, 6 Nov 2011 15:50:52 +0000 (17:50 +0200)]
Fix another callable warning.
Ezio Melotti [Sun, 6 Nov 2011 15:17:52 +0000 (17:17 +0200)]
Fix tests now that the callable warning is gone.
Benjamin Peterson [Sun, 6 Nov 2011 13:20:12 +0000 (08:20 -0500)]
remove py3k warning for callable
Petri Lehtinen [Sat, 5 Nov 2011 21:18:06 +0000 (23:18 +0200)]
Accept None as start and stop parameters for list.index() and tuple.index()
Closes #13340.
Éric Araujo [Sat, 5 Nov 2011 16:55:03 +0000 (17:55 +0100)]
Add missing versionadded (fixes #12392)
Petri Lehtinen [Sat, 5 Nov 2011 08:18:50 +0000 (10:18 +0200)]
Issue #3067: Enhance the documentation and docstring of locale.setlocale()
Petri Lehtinen [Sat, 5 Nov 2011 07:50:37 +0000 (09:50 +0200)]
Fix Maildir initialization so that maildir contents are read correctly.
Closes #13254.
Raymond Hettinger [Fri, 4 Nov 2011 21:05:52 +0000 (14:05 -0700)]
Fix typos
Petri Lehtinen [Fri, 4 Nov 2011 19:25:46 +0000 (21:25 +0200)]
Add .gitignore
Raymond Hettinger [Fri, 4 Nov 2011 20:07:52 +0000 (13:07 -0700)]
Inline the advisory text on how to use the shelve module.
Éric Araujo [Fri, 4 Nov 2011 17:15:45 +0000 (18:15 +0100)]
Revert commit that was not a bugfix (#5301).
I won’t revert in 3.2, since Georg pulled this change in 3.2.2 and
released it.
Florent Xicluna [Fri, 4 Nov 2011 09:15:57 +0000 (10:15 +0100)]
Issue #13140: Fix the daemon_threads attribute of ThreadingMixIn.
Charles-François Natali [Wed, 2 Nov 2011 18:32:54 +0000 (19:32 +0100)]
Issue #13308: Fix test_httpservers failures when run as root.
Senthil Kumaran [Wed, 2 Nov 2011 18:02:38 +0000 (02:02 +0800)]
Fix Issue13147 - Correct the Multiprocessing Pool.map_async method signature.
Remove the error_callback which is not present in 2.7. Patch by Jyrki
Pulliainen.
Florent Xicluna [Tue, 1 Nov 2011 22:54:16 +0000 (23:54 +0100)]
Fix merge in changeset
e1dde980a92c .
Florent Xicluna [Tue, 1 Nov 2011 22:47:46 +0000 (23:47 +0100)]
Missing NEWS entry in changeset
e1dde980a92c
Florent Xicluna [Tue, 1 Nov 2011 22:34:41 +0000 (23:34 +0100)]
Issue #2892: preserve iterparse events in case of SyntaxError
Ezio Melotti [Tue, 1 Nov 2011 12:09:56 +0000 (14:09 +0200)]
#670664: Fix HTMLParser to correctly handle the content of ``<script>...</script>`` and ``<style>...</style>``.
Sandro Tosi [Tue, 1 Nov 2011 09:31:26 +0000 (10:31 +0100)]
correct signature for tzinfo.dst() in examples; thanks to Daniil Shved from docs@