]>
granicus.if.org Git - python/log
Benjamin Peterson [Tue, 20 Dec 2011 16:12:41 +0000 (10:12 -0600)]
note the blinding speed of these functions
Charles-François Natali [Tue, 20 Dec 2011 10:47:23 +0000 (11:47 +0100)]
Followup to issue #11867: Use socketpair(), since FreeBSD < 8 doesn't really
support multiprocessing.Event.
Benjamin Peterson [Mon, 19 Dec 2011 21:41:11 +0000 (16:41 -0500)]
don't mention implementation detail
Charles-François Natali [Mon, 19 Dec 2011 15:11:04 +0000 (16:11 +0100)]
Issue #13453: Try to increase some socket timeouts to make some buildbots stop
failing.
Victor Stinner [Mon, 19 Dec 2011 12:59:58 +0000 (13:59 +0100)]
Issue #13628: python-gdb.py is now able to retrieve more frames in the Python
traceback if Python is optimized.
* delay the lookup of the size_t type, it is not available at startup
* The second argument of the PyFrameObjectPtr constructor is optional, as
done in other constructors
* iter_builtins() and iter_globals() methods of PyFrameObjectPtr returns
an empty tuple instead of None if Python is optimized
* Fix py-bt to handle correctly "optimized" frames
* Frame.get_pyop() tries to get the frame pointer from PyEval_EvalCodeEx()
if the pointer is optimized out in PyEval_EvalFrameEx()
Charles-François Natali [Mon, 19 Dec 2011 11:17:16 +0000 (12:17 +0100)]
Issue #11867: Make test_mailbox.test_lock_conflict deterministic (and fix a
race condition).
Ezio Melotti [Mon, 19 Dec 2011 05:28:08 +0000 (07:28 +0200)]
#13576: add tests about the handling of (possibly broken) condcoms.
Ezio Melotti [Mon, 19 Dec 2011 05:17:08 +0000 (07:17 +0200)]
s/:c:type:/:ctype:/g
Ezio Melotti [Mon, 19 Dec 2011 05:15:26 +0000 (07:15 +0200)]
#3932: suggest passing unicode to HTMLParser.feed().
Ezio Melotti [Mon, 19 Dec 2011 05:04:48 +0000 (07:04 +0200)]
#13387: rephrase unclear sentence.
Antoine Pitrou [Sun, 18 Dec 2011 19:20:17 +0000 (20:20 +0100)]
Followup to #7502: add __hash__ method and tests.
Victor Stinner [Sun, 18 Dec 2011 18:39:53 +0000 (19:39 +0100)]
Issue #13617: Document that the result PyUnicode_AsUnicode() and
PyUnicode_AsWideChar() may contain embedded null characters.
Patch written by Arnaud Calmettes.
Antoine Pitrou [Sun, 18 Dec 2011 18:31:31 +0000 (19:31 +0100)]
Merge
Georg Brandl [Sun, 18 Dec 2011 18:30:55 +0000 (19:30 +0100)]
Small clarification in docstring of dict.update(): the positional argument is not required.
Antoine Pitrou [Sun, 18 Dec 2011 18:27:45 +0000 (19:27 +0100)]
Issue #7502: Fix equality comparison for DocTestCase instances.
Patch by Cédric Krier.
Charles-François Natali [Sun, 18 Dec 2011 17:22:24 +0000 (18:22 +0100)]
Issue #11870: threading: Properly reinitialize threads internal locks and
condition variables to avoid deadlocks in child processes.
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