]>
granicus.if.org Git - python/log
Benjamin Peterson [Sun, 1 Jan 2012 04:42:26 +0000 (22:42 -0600)]
add another year to glorious PSF IP
Sandro Tosi [Sat, 31 Dec 2011 17:13:59 +0000 (18:13 +0100)]
fix some broken URLs
Eli Bendersky [Sat, 31 Dec 2011 05:05:12 +0000 (07:05 +0200)]
Some formatting & grammar fixes for the multiprocessing doc
Benjamin Peterson [Fri, 30 Dec 2011 19:47:25 +0000 (13:47 -0600)]
use booleans
Jason R. Coombs [Wed, 28 Dec 2011 16:42:22 +0000 (11:42 -0500)]
Limit test scope to those platforms that can save the target filenames. Reference #11638.
Benjamin Peterson [Tue, 27 Dec 2011 21:16:34 +0000 (15:16 -0600)]
propgate error in other conditions
Jason R. Coombs [Mon, 26 Dec 2011 15:15:15 +0000 (10:15 -0500)]
Issue #11638: Adding test to ensure .tar.gz files can be generated by sdist command with unicode metadata, based on David Barnett's patch.
Issue #11638: Added tests to capture failures in make_tarball with various unicode strings.
Following fix for Issue #13639, these tests now pass.
Georg Brandl [Sun, 25 Dec 2011 18:03:07 +0000 (19:03 +0100)]
I do not think we will ever have auto-indent at the prompt, that is for IPython and the like.
Sandro Tosi [Sun, 25 Dec 2011 16:13:10 +0000 (17:13 +0100)]
fix "Title underline too short" sphinx warning
Sandro Tosi [Sun, 25 Dec 2011 16:05:30 +0000 (17:05 +0100)]
use double-quote char instead of unicode ones; thanks to tomo cocoa from docs@
Sandro Tosi [Sun, 25 Dec 2011 10:43:37 +0000 (11:43 +0100)]
fix to sent/send typo
Sandro Tosi [Sun, 25 Dec 2011 10:27:22 +0000 (11:27 +0100)]
fix Constuctor/Constructor typo; thanks to Anthon van der Neut from docs@
Sandro Tosi [Sat, 24 Dec 2011 22:13:08 +0000 (23:13 +0100)]
point IronPython to ironpython.net; thanks to Lazar Pancic from docs@
Sandro Tosi [Sat, 24 Dec 2011 18:55:49 +0000 (19:55 +0100)]
fix Rather that/Rather than; thanks to Reuben Thomas from docs@
Sandro Tosi [Sat, 24 Dec 2011 14:52:36 +0000 (15:52 +0100)]
remove spurious dot from string formatting example; thanks to Anthon van der Neut from docs@
Sandro Tosi [Sat, 24 Dec 2011 13:51:26 +0000 (14:51 +0100)]
correct syslog.openlog() argument name to logoption; thanks to Arnaud Gomes-do-Vale from docs@
Charles-François Natali [Fri, 23 Dec 2011 18:05:45 +0000 (19:05 +0100)]
Issue #13565: Increase multiprocessing's server socket backlog, to avoid
dropped connections in case of simultaneous connection requests.
Senthil Kumaran [Fri, 23 Dec 2011 09:07:13 +0000 (17:07 +0800)]
port to 2.7 - Minor code style improvements in http.server suggested in Issue13294.
Senthil Kumaran [Fri, 23 Dec 2011 03:14:56 +0000 (11:14 +0800)]
Update News entry.
Senthil Kumaran [Fri, 23 Dec 2011 03:08:31 +0000 (11:08 +0800)]
porting mimetype doc changes from 3.2.
Issue12798 - Update mimetypes documentation. Correct the doc section where
common_types was mentioned under MimeTypes class, move it to helper function
category and other documentation improvements contributed by Sandro Tosi.
Senthil Kumaran [Thu, 22 Dec 2011 15:44:53 +0000 (23:44 +0800)]
Issue13443 - Remove the functional module examples from 2.7 (as module is
maintained only till 2.5 and tests had failures with 2.7) and update the links
int the howto document.
Lars Gustäbel [Wed, 21 Dec 2011 18:27:50 +0000 (19:27 +0100)]
Issue #13639: Accept unicode filenames in tarfile.open(mode="w|gz").
Passing a unicode filename to tarfile.open() along with mode "w|gz" failed
with a UnicodeError because the filename was not encoded properly before being
written to the gzipped stream in the FNAME extra field.
Antoine Pitrou [Wed, 21 Dec 2011 15:52:40 +0000 (16:52 +0100)]
Use context managers in test_ssl to simplify test writing.
Antoine Pitrou [Wed, 21 Dec 2011 15:01:53 +0000 (16:01 +0100)]
Fix test_import failure when run multiple times.
(2.7-only)
Antoine Pitrou [Wed, 21 Dec 2011 09:16:14 +0000 (10:16 +0100)]
Issue #1785: Fix inspect and pydoc with misbehaving descriptors.
Also fixes issue #13581: `help(type)` wouldn't display anything.
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