]>
granicus.if.org Git - python/log
Antoine Pitrou [Sun, 18 Dec 2011 18:28:33 +0000 (19:28 +0100)]
Merge
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:35:09 +0000 (18:35 +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 15:05:07 +0000 (16:05 +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.
Victor Stinner [Sat, 17 Dec 2011 22:18:07 +0000 (23:18 +0100)]
Issue #11231: Fix bytes and bytearray docstrings
Patch written by Brice Berna.
Victor Stinner [Sat, 17 Dec 2011 22:15:09 +0000 (23:15 +0100)]
Issue #13530: Document os.lseek() result
Patch written by Jérémy Anger.
Victor Stinner [Sat, 17 Dec 2011 21:37:18 +0000 (22:37 +0100)]
Issue #10951: Fix a compiler warning in timemodule.c
Ezio Melotti [Fri, 16 Dec 2011 23:17:17 +0000 (01:17 +0200)]
#13613: fix example in re doc.
Victor Stinner [Fri, 16 Dec 2011 22:48:31 +0000 (23:48 +0100)]
main() now displays an error message before exiting if a command line argument
cannot be decoded
Antoine Pitrou [Fri, 16 Dec 2011 11:28:32 +0000 (12:28 +0100)]
Issue #10350: Read and save errno before calling a function which might overwrite it.
Original patch by Hallvard B Furuseth.
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 15:25:34 +0000 (16:25 +0100)]
Issue #13597: Improve documentation of standard streams.
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.
Meador Inge [Thu, 15 Dec 2011 04:37:48 +0000 (22:37 -0600)]
Issue #13591: Moving the NEWS line to the right release.
Meador Inge [Thu, 15 Dec 2011 04:23:46 +0000 (22:23 -0600)]
Issue #13591: import_module potentially imports a module twice.
Ned Deily [Wed, 14 Dec 2011 23:06:50 +0000 (15:06 -0800)]
Issue #4625: add NEWS entry.
Ned Deily [Wed, 14 Dec 2011 22:58:24 +0000 (14:58 -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:56 +0000 (19:28 +0100)]
Issue #13453: Fix a race condition in test_poplib.
Charles-François Natali [Wed, 14 Dec 2011 17:39:09 +0000 (18:39 +0100)]
Issue #4028: Make multiprocessing build on SunOS.
Alexandre Vassalotti [Tue, 13 Dec 2011 18:08:09 +0000 (13:08 -0500)]
Issue #13505: Make pickling of bytes object compatible with Python 2.
Initial patch by sbt.
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 13:36:19 +0000 (15:36 +0200)]
#13549: improve tutorial section about listcomps.
Benjamin Peterson [Sat, 10 Dec 2011 17:44:25 +0000 (12:44 -0500)]
we're always going to have gc
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:44 +0000 (13:16 +0100)]
Issue #13453: Catch EAI_FAIL in support.transient_internet.
Lars Gustäbel [Sat, 10 Dec 2011 11:45:45 +0000 (12:45 +0100)]
Fix doc typo.
Florent Xicluna [Fri, 9 Dec 2011 22:41:21 +0000 (23:41 +0100)]
Remove obsolete py3k comment.
Florent Xicluna [Fri, 9 Dec 2011 22:41:19 +0000 (23:41 +0100)]
Fix docstring typo.
Antoine Pitrou [Fri, 9 Dec 2011 22:10:31 +0000 (23:10 +0100)]
Issue #13528: rework the performance question in the programming FAQ
Victor Stinner [Fri, 9 Dec 2011 19:19:24 +0000 (20:19 +0100)]
Issue #5905: time.strftime() is now using the locale encoding, instead of
UTF-8, if the wcsftime() function is not available.
Stefan Krah [Thu, 8 Dec 2011 22:25:15 +0000 (23:25 +0100)]
Issue #13547: clean Lib/_sysconfigdata.py and Modules/_testembed
Stefan Krah [Thu, 8 Dec 2011 21:20:31 +0000 (22:20 +0100)]
Issue #11149: Also enable -fwrapv if $CC is a full path
or has a trailing version number.
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:02:00 +0000 (00:02 +0200)]
#13531: add a test for defaultdict with a non-callable arg. Patch by Mike Cheng.
Ned Deily [Wed, 7 Dec 2011 09:08:35 +0000 (01:08 -0800)]
Issue #8641: Update IDLE 3 syntax coloring to recognize b".." and not u"..".
(Patch by Tal Einat)
Jesus Cea [Tue, 6 Dec 2011 19:46:57 +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 11:56:38 +0000 (12:56 +0100)]
Correctly detect bzip2 compressed streams with blocksizes other than 900k.
Barry Warsaw [Mon, 5 Dec 2011 21:45:02 +0000 (16:45 -0500)]
- Issue #11147: Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (Fix
given by Campbell Barton).
Antoine Pitrou [Mon, 5 Dec 2011 00:46:35 +0000 (01:46 +0100)]
s/SOCKSTREAM/TCP/
Antoine Pitrou [Mon, 5 Dec 2011 00:43:32 +0000 (01:43 +0100)]
Reword IPC section
Antoine Pitrou [Mon, 5 Dec 2011 00:37:34 +0000 (01:37 +0100)]
Use www.python.org instead of a hostname pointing to a parked (or squatted) domain.
Also, reformat a bit.
Antoine Pitrou [Mon, 5 Dec 2011 00:32:29 +0000 (01:32 +0100)]
Remove the outdated notion that multithreading doesn't work well on Unices.
Antoine Pitrou [Mon, 5 Dec 2011 00:21:46 +0000 (01:21 +0100)]
Remove reference to the base64 encoding.
Antoine Pitrou [Mon, 5 Dec 2011 00:05:32 +0000 (01:05 +0100)]
The functional module hasn't been maintained since 2006 and doesn't work with Python 3.
Remove section about it from the functional programming FAQ.
Antoine Pitrou [Sun, 4 Dec 2011 23:41:19 +0000 (00:41 +0100)]
Remove obsolete references to bsddb
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.
Georg Brandl [Sun, 4 Dec 2011 10:51:21 +0000 (11:51 +0100)]
Fix typo.
Antoine Pitrou [Sat, 3 Dec 2011 22:08:57 +0000 (23:08 +0100)]
Streamline mention of sorted()
Antoine Pitrou [Sat, 3 Dec 2011 22:06:50 +0000 (23:06 +0100)]
Break down and refine memory management question
Antoine Pitrou [Sat, 3 Dec 2011 21:56:02 +0000 (22:56 +0100)]
Reformulate answer, and remove off-topic discussion of bytecode in a question about compiling to C.
Antoine Pitrou [Sat, 3 Dec 2011 21:39:13 +0000 (22:39 +0100)]
Fix compatibility statement.
Antoine Pitrou [Sat, 3 Dec 2011 21:37:14 +0000 (22:37 +0100)]
Remove outdated question (the bsddb module isn't included anymore)
Antoine Pitrou [Sat, 3 Dec 2011 21:35:31 +0000 (22:35 +0100)]
Refine FAQ entry for catching stdout
Antoine Pitrou [Sat, 3 Dec 2011 21:30:19 +0000 (22:30 +0100)]
Advocate PyTuple_Pack instead of manual building of tuples
Antoine Pitrou [Sat, 3 Dec 2011 21:19:55 +0000 (22:19 +0100)]
Remove outdate FAQ content
Antoine Pitrou [Sat, 3 Dec 2011 21:11:11 +0000 (22:11 +0100)]
Streamline FAQ entry about the ternary operator, and suggest using io.StringIO for a mutable unicode container.
Antoine Pitrou [Sat, 3 Dec 2011 20:21:36 +0000 (21:21 +0100)]
Remove references to psyco, which is mostly unmaintained and doesn't work with Python 3.
Antoine Pitrou [Sat, 3 Dec 2011 20:07:01 +0000 (21:07 +0100)]
Mention PySide in the "other GUIs" page.
Antoine Pitrou [Sat, 3 Dec 2011 19:59:24 +0000 (20:59 +0100)]
Mention the new GTK+ 3 bindings.
Meador Inge [Sat, 3 Dec 2011 18:29:54 +0000 (12:29 -0600)]
Issue #13513: IOBase docs incorrectly link to the readline module
Jason R. Coombs [Mon, 7 Nov 2011 15:50:32 +0000 (10:50 -0500)]
Issue #13211: Add .reason attribute to HTTPError to implement parent class (URLError) interface.
Jason R. Coombs [Sat, 3 Dec 2011 13:24:21 +0000 (08:24 -0500)]
Issue #12666: Added section about map changes.
Jason R. Coombs [Mon, 1 Aug 2011 21:51:34 +0000 (17:51 -0400)]
Issue #12666: Clarifying changes in map for Python 3
Petri Lehtinen [Fri, 2 Dec 2011 19:24:14 +0000 (21:24 +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:28:36 +0000 (19:28 +0200)]
#13499: fix example adding >>> before the comments.
Ezio Melotti [Fri, 2 Dec 2011 16:22:52 +0000 (18:22 +0200)]
#8414: add more tests for "assert". Initial patch by Gregory Nofi.
Antoine Pitrou [Wed, 30 Nov 2011 20:19:21 +0000 (21:19 +0100)]
Issue #
1040439 : better document how to compile and link an embedded Python interpreter.
Still lacks docs for Windows (anyone?).
Éric Araujo [Tue, 29 Nov 2011 15:58:53 +0000 (16:58 +0100)]
Fix inspect.getmodule to use a copy of sys.modules for iteration (#13487).
This fixes a regression compared to 2.x, where sys.modules.items()
returns a copy, as indicated by a comment in the source. Diagnosis and
patch by Erik Tollerud.
Éric Araujo [Tue, 29 Nov 2011 15:46:38 +0000 (16:46 +0100)]
Mark up constants in sockets docs as such
Éric Araujo [Tue, 29 Nov 2011 15:45:34 +0000 (16:45 +0100)]
Fix instructions on how to rebuild some modules
Éric Araujo [Tue, 29 Nov 2011 15:45:07 +0000 (16:45 +0100)]
Add a regrtest cleanup check for shutil registries
Éric Araujo [Tue, 29 Nov 2011 15:36:17 +0000 (16:36 +0100)]
Fix last remaining references to ex-devguide
Éric Araujo [Tue, 29 Nov 2011 15:34:58 +0000 (16:34 +0100)]
Fix typo (#13467)
Victor Stinner [Mon, 28 Nov 2011 23:03:50 +0000 (00:03 +0100)]
Fix curses module for strict SysV implementation (without has_key function)
Antoine Pitrou [Mon, 28 Nov 2011 20:14:46 +0000 (21:14 +0100)]
Fix resource warning in test_xmlrpc_net
Antoine Pitrou [Mon, 28 Nov 2011 20:12:24 +0000 (21:12 +0100)]
Issue #13434: skip the time.xmlrpc.com test, and reenable the buildbot test.
Antoine Pitrou [Mon, 28 Nov 2011 18:08:36 +0000 (19:08 +0100)]
Issue #7111: Python can now be run without a stdin, stdout or stderr stream.
It was already the case with Python 2. However, the corresponding
sys module entries are now set to None (instead of an unusable file object).
Meador Inge [Mon, 28 Nov 2011 15:27:32 +0000 (09:27 -0600)]
Issue #12618: py_compile cannot create files in current directory
Initial patch by Sjoerd de Vries.
Charles-François Natali [Sun, 27 Nov 2011 11:49:27 +0000 (12:49 +0100)]
Issue #13415: Skip test_os.test_unset_error on FreeBSD and OS X.
Charles-François Natali [Sun, 27 Nov 2011 11:41:06 +0000 (12:41 +0100)]
Issue #13415: Test in configure if unsetenv() has a return value or not.
Jesus Cea [Sun, 27 Nov 2011 04:16:22 +0000 (05:16 +0100)]
Closes issue #13488: Some old preprocessors have problem with #define not in the first column
Antoine Pitrou [Sat, 26 Nov 2011 20:59:36 +0000 (21:59 +0100)]
Issue #13444: When stdout has been closed explicitly, we should not attempt to flush it at shutdown and print an error.
This also adds a test for issue #5319, whose resolution introduced the issue.
Meador Inge [Sat, 26 Nov 2011 17:37:02 +0000 (11:37 -0600)]
Issue #12618: fix py_compile unit tests to handle different drives on Windows
Meador Inge [Sat, 26 Nov 2011 05:36:48 +0000 (23:36 -0600)]
Issue #12618: create unit tests for the py_compile module
Meador Inge [Sat, 26 Nov 2011 04:33:32 +0000 (22:33 -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.
Antoine Pitrou [Fri, 25 Nov 2011 15:33:53 +0000 (16:33 +0100)]
Clarify concatenation behaviour of immutable strings, and remove explicit
mention of the CPython optimization hack.
Eli Bendersky [Fri, 25 Nov 2011 13:07:50 +0000 (15:07 +0200)]
fix some typos in Doc/c-api/memoryview.rst
Senthil Kumaran [Thu, 24 Nov 2011 18:08:39 +0000 (02:08 +0800)]
testFnNames is assigned twice.
Vinay Sajip [Wed, 23 Nov 2011 14:27:54 +0000 (14:27 +0000)]
Added a configuration dictionary example to the logging cookbook.
Vinay Sajip [Wed, 23 Nov 2011 08:54:22 +0000 (08:54 +0000)]
Closes #13459: Clarified documentation on Logger.propagate. Thanks to Mike Fogel for the patch.
Benjamin Peterson [Wed, 23 Nov 2011 05:57:23 +0000 (23:57 -0600)]
decref correct object
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:22:26 +0000 (22:22 +0100)]
Merge branch 3.2
Victor Stinner [Tue, 22 Nov 2011 21:01:28 +0000 (22:01 +0100)]
Issue #13415: os.unsetenv() doesn't ignore errors anymore.