]> granicus.if.org Git - python/log
python
13 years agoMerge
Antoine Pitrou [Sun, 18 Dec 2011 18:28:33 +0000 (19:28 +0100)]
Merge

13 years agoIssue #7502: Fix equality comparison for DocTestCase instances.
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.

13 years agoIssue #11870: threading: Properly reinitialize threads internal locks and
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.

13 years agoIssue #8035: urllib: Fix a bug where the client could remain stuck after a
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.

13 years agoIssue #13522: Fix _Py_co_pow() documentation
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.

13 years agoIssue #13522: document error return values of some float and complex C API functions.
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.

13 years agoIssue #11231: Fix bytes and bytearray docstrings
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.

13 years agoIssue #13530: Document os.lseek() result
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.

13 years agoIssue #10951: Fix a compiler warning in timemodule.c
Victor Stinner [Sat, 17 Dec 2011 21:37:18 +0000 (22:37 +0100)]
Issue #10951: Fix a compiler warning in timemodule.c

13 years ago#13613: fix example in re doc.
Ezio Melotti [Fri, 16 Dec 2011 23:17:17 +0000 (01:17 +0200)]
#13613: fix example in re doc.

13 years agomain() now displays an error message before exiting if a command line argument
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

13 years agoIssue #10350: Read and save errno before calling a function which might overwrite it.
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.

13 years agoIssue #13545: Fix platform.libc_version() is the SO version is missing
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

13 years agoIssue #13597: Improve documentation of standard streams.
Antoine Pitrou [Thu, 15 Dec 2011 15:25:34 +0000 (16:25 +0100)]
Issue #13597: Improve documentation of standard streams.

13 years agoFix the fix for issue #12149: it was incorrect, although it had the side
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.

13 years agoIssue #13591: Moving the NEWS line to the right release.
Meador Inge [Thu, 15 Dec 2011 04:37:48 +0000 (22:37 -0600)]
Issue #13591: Moving the NEWS line to the right release.

13 years agoIssue #13591: import_module potentially imports a module twice.
Meador Inge [Thu, 15 Dec 2011 04:23:46 +0000 (22:23 -0600)]
Issue #13591: import_module potentially imports a module twice.

13 years agoIssue #4625: add NEWS entry.
Ned Deily [Wed, 14 Dec 2011 23:06:50 +0000 (15:06 -0800)]
Issue #4625: add NEWS entry.

13 years agoIssue #4625: If IDLE cannot write to its recent file or breakpoint
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)

13 years agoIssue #13453: Fix a race condition in test_poplib.
Charles-François Natali [Wed, 14 Dec 2011 18:28:56 +0000 (19:28 +0100)]
Issue #13453: Fix a race condition in test_poplib.

13 years agoIssue #4028: Make multiprocessing build on SunOS.
Charles-François Natali [Wed, 14 Dec 2011 17:39:09 +0000 (18:39 +0100)]
Issue #4028: Make multiprocessing build on SunOS.

13 years agoIssue #13505: Make pickling of bytes object compatible with Python 2.
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.

13 years ago#6570: clarify tutorial section about keyword arguments.
Ezio Melotti [Tue, 13 Dec 2011 13:49:22 +0000 (15:49 +0200)]
#6570: clarify tutorial section about keyword arguments.

13 years ago#13549: improve tutorial section about listcomps.
Ezio Melotti [Tue, 13 Dec 2011 13:36:19 +0000 (15:36 +0200)]
#13549: improve tutorial section about listcomps.

13 years agowe're always going to have gc
Benjamin Peterson [Sat, 10 Dec 2011 17:44:25 +0000 (12:44 -0500)]
we're always going to have gc

13 years agoyou can't get resource.error if you can't import resource
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

13 years agoIssue #13453: Catch EAI_FAIL in support.transient_internet.
Charles-François Natali [Sat, 10 Dec 2011 12:16:44 +0000 (13:16 +0100)]
Issue #13453: Catch EAI_FAIL in support.transient_internet.

13 years agoFix doc typo.
Lars Gustäbel [Sat, 10 Dec 2011 11:45:45 +0000 (12:45 +0100)]
Fix doc typo.

13 years agoRemove obsolete py3k comment.
Florent Xicluna [Fri, 9 Dec 2011 22:41:21 +0000 (23:41 +0100)]
Remove obsolete py3k comment.

13 years agoFix docstring typo.
Florent Xicluna [Fri, 9 Dec 2011 22:41:19 +0000 (23:41 +0100)]
Fix docstring typo.

13 years agoIssue #13528: rework the performance question in the programming FAQ
Antoine Pitrou [Fri, 9 Dec 2011 22:10:31 +0000 (23:10 +0100)]
Issue #13528: rework the performance question in the programming FAQ

13 years agoIssue #5905: time.strftime() is now using the locale encoding, instead of
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.

13 years agoIssue #13547: clean Lib/_sysconfigdata.py and Modules/_testembed
Stefan Krah [Thu, 8 Dec 2011 22:25:15 +0000 (23:25 +0100)]
Issue #13547: clean Lib/_sysconfigdata.py and Modules/_testembed

13 years agoIssue #11149: Also enable -fwrapv if $CC is a full path
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.

13 years agoIssue #11886: workaround an OS bug (time zone data) in test_time
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

13 years ago#13531: add a test for defaultdict with a non-callable arg. Patch by Mike Cheng.
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.

13 years agoIssue #8641: Update IDLE 3 syntax coloring to recognize b".." and not u"..".
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)

13 years agoClose #13500: Hitting EOF gets cmd.py into a infinite EOF on return loop
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

13 years agoCorrectly detect bzip2 compressed streams with blocksizes other than 900k.
Lars Gustäbel [Tue, 6 Dec 2011 11:56:38 +0000 (12:56 +0100)]
Correctly detect bzip2 compressed streams with blocksizes other than 900k.

13 years ago- Issue #11147: Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (Fix
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).

13 years agos/SOCKSTREAM/TCP/
Antoine Pitrou [Mon, 5 Dec 2011 00:46:35 +0000 (01:46 +0100)]
s/SOCKSTREAM/TCP/

13 years agoReword IPC section
Antoine Pitrou [Mon, 5 Dec 2011 00:43:32 +0000 (01:43 +0100)]
Reword IPC section

13 years agoUse www.python.org instead of a hostname pointing to a parked (or squatted) domain.
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.

13 years agoRemove the outdated notion that multithreading doesn't work well on Unices.
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.

13 years agoRemove reference to the base64 encoding.
Antoine Pitrou [Mon, 5 Dec 2011 00:21:46 +0000 (01:21 +0100)]
Remove reference to the base64 encoding.

13 years agoThe functional module hasn't been maintained since 2006 and doesn't work with Python 3.
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.

13 years agoRemove obsolete references to bsddb
Antoine Pitrou [Sun, 4 Dec 2011 23:41:19 +0000 (00:41 +0100)]
Remove obsolete references to bsddb

13 years agoIssue #13527: remove mention of Python megawidgets and Tkinter3000 WCK
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.

13 years agoFix typo.
Georg Brandl [Sun, 4 Dec 2011 10:51:21 +0000 (11:51 +0100)]
Fix typo.

13 years agoStreamline mention of sorted()
Antoine Pitrou [Sat, 3 Dec 2011 22:08:57 +0000 (23:08 +0100)]
Streamline mention of sorted()

13 years agoBreak down and refine memory management question
Antoine Pitrou [Sat, 3 Dec 2011 22:06:50 +0000 (23:06 +0100)]
Break down and refine memory management question

13 years agoReformulate answer, and remove off-topic discussion of bytecode in a question about...
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.

13 years agoFix compatibility statement.
Antoine Pitrou [Sat, 3 Dec 2011 21:39:13 +0000 (22:39 +0100)]
Fix compatibility statement.

13 years agoRemove outdated question (the bsddb module isn't included anymore)
Antoine Pitrou [Sat, 3 Dec 2011 21:37:14 +0000 (22:37 +0100)]
Remove outdated question (the bsddb module isn't included anymore)

13 years agoRefine FAQ entry for catching stdout
Antoine Pitrou [Sat, 3 Dec 2011 21:35:31 +0000 (22:35 +0100)]
Refine FAQ entry for catching stdout

13 years agoAdvocate PyTuple_Pack instead of manual building of tuples
Antoine Pitrou [Sat, 3 Dec 2011 21:30:19 +0000 (22:30 +0100)]
Advocate PyTuple_Pack instead of manual building of tuples

13 years agoRemove outdate FAQ content
Antoine Pitrou [Sat, 3 Dec 2011 21:19:55 +0000 (22:19 +0100)]
Remove outdate FAQ content

13 years agoStreamline FAQ entry about the ternary operator, and suggest using io.StringIO for...
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.

13 years agoRemove references to psyco, which is mostly unmaintained and doesn't work with Python 3.
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.

13 years agoMention PySide in the "other GUIs" page.
Antoine Pitrou [Sat, 3 Dec 2011 20:07:01 +0000 (21:07 +0100)]
Mention PySide in the "other GUIs" page.

13 years agoMention the new GTK+ 3 bindings.
Antoine Pitrou [Sat, 3 Dec 2011 19:59:24 +0000 (20:59 +0100)]
Mention the new GTK+ 3 bindings.

13 years agoIssue #13513: IOBase docs incorrectly link to the readline module
Meador Inge [Sat, 3 Dec 2011 18:29:54 +0000 (12:29 -0600)]
Issue #13513: IOBase docs incorrectly link to the readline module

13 years agoIssue #13211: Add .reason attribute to HTTPError to implement parent class (URLError...
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.

13 years agoIssue #12666: Added section about map changes.
Jason R. Coombs [Sat, 3 Dec 2011 13:24:21 +0000 (08:24 -0500)]
Issue #12666: Added section about map changes.

13 years agoIssue #12666: Clarifying changes in map for Python 3
Jason R. Coombs [Mon, 1 Aug 2011 21:51:34 +0000 (17:51 -0400)]
Issue #12666: Clarifying changes in map for Python 3

13 years agoIssue #13439: Fix many errors in turtle docstrings.
Petri Lehtinen [Fri, 2 Dec 2011 19:24:14 +0000 (21:24 +0200)]
Issue #13439: Fix many errors in turtle docstrings.

13 years ago#13494: s/cast/convert/. Also add a link.
Ezio Melotti [Fri, 2 Dec 2011 17:47:24 +0000 (19:47 +0200)]
#13494: s/cast/convert/.  Also add a link.

13 years ago#13499: fix example adding >>> before the comments.
Ezio Melotti [Fri, 2 Dec 2011 17:28:36 +0000 (19:28 +0200)]
#13499: fix example adding >>> before the comments.

13 years ago#8414: add more tests for "assert". Initial patch by Gregory Nofi.
Ezio Melotti [Fri, 2 Dec 2011 16:22:52 +0000 (18:22 +0200)]
#8414: add more tests for "assert".  Initial patch by Gregory Nofi.

13 years agoIssue #1040439: better document how to compile and link an embedded Python interpreter.
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?).

13 years agoFix inspect.getmodule to use a copy of sys.modules for iteration (#13487).
É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.

13 years agoMark up constants in sockets docs as such
Éric Araujo [Tue, 29 Nov 2011 15:46:38 +0000 (16:46 +0100)]
Mark up constants in sockets docs as such

13 years agoFix instructions on how to rebuild some modules
Éric Araujo [Tue, 29 Nov 2011 15:45:34 +0000 (16:45 +0100)]
Fix instructions on how to rebuild some modules

13 years agoAdd a regrtest cleanup check for shutil registries
Éric Araujo [Tue, 29 Nov 2011 15:45:07 +0000 (16:45 +0100)]
Add a regrtest cleanup check for shutil registries

13 years agoFix last remaining references to ex-devguide
Éric Araujo [Tue, 29 Nov 2011 15:36:17 +0000 (16:36 +0100)]
Fix last remaining references to ex-devguide

13 years agoFix typo (#13467)
Éric Araujo [Tue, 29 Nov 2011 15:34:58 +0000 (16:34 +0100)]
Fix typo (#13467)

13 years agoFix curses module for strict SysV implementation (without has_key function)
Victor Stinner [Mon, 28 Nov 2011 23:03:50 +0000 (00:03 +0100)]
Fix curses module for strict SysV implementation (without has_key function)

13 years agoFix resource warning in test_xmlrpc_net
Antoine Pitrou [Mon, 28 Nov 2011 20:14:46 +0000 (21:14 +0100)]
Fix resource warning in test_xmlrpc_net

13 years agoIssue #13434: skip the time.xmlrpc.com test, and reenable the buildbot test.
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.

13 years agoIssue #7111: Python can now be run without a stdin, stdout or stderr stream.
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).

13 years agoIssue #12618: py_compile cannot create files in current directory
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.

13 years agoIssue #13415: Skip test_os.test_unset_error on FreeBSD and OS X.
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.

13 years agoIssue #13415: Test in configure if unsetenv() has a return value or not.
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.

13 years agoCloses issue #13488: Some old preprocessors have problem with #define not in the...
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

13 years agoIssue #13444: When stdout has been closed explicitly, we should not attempt to flush...
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.

13 years agoIssue #12618: fix py_compile unit tests to handle different drives on Windows
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

13 years agoIssue #12618: create unit tests for the py_compile module
Meador Inge [Sat, 26 Nov 2011 05:36:48 +0000 (23:36 -0600)]
Issue #12618: create unit tests for the py_compile module

13 years agoIssue #13380: add an internal function for resetting the ctypes caches
Meador Inge [Sat, 26 Nov 2011 04:33:32 +0000 (22:33 -0600)]
Issue #13380: add an internal function for resetting the ctypes caches

13 years agoIssue #12856: Ensure child processes do not inherit the parent's random seed for...
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.

13 years agoClarify concatenation behaviour of immutable strings, and remove explicit
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.

13 years agofix some typos in Doc/c-api/memoryview.rst
Eli Bendersky [Fri, 25 Nov 2011 13:07:50 +0000 (15:07 +0200)]
fix some typos in Doc/c-api/memoryview.rst

13 years agotestFnNames is assigned twice.
Senthil Kumaran [Thu, 24 Nov 2011 18:08:39 +0000 (02:08 +0800)]
testFnNames is assigned twice.

13 years agoAdded a configuration dictionary example to the logging cookbook.
Vinay Sajip [Wed, 23 Nov 2011 14:27:54 +0000 (14:27 +0000)]
Added a configuration dictionary example to the logging cookbook.

13 years agoCloses #13459: Clarified documentation on Logger.propagate. Thanks to Mike Fogel...
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.

13 years agodecref correct object
Benjamin Peterson [Wed, 23 Nov 2011 05:57:23 +0000 (23:57 -0600)]
decref correct object

13 years agoplug refleak
Benjamin Peterson [Wed, 23 Nov 2011 05:12:49 +0000 (23:12 -0600)]
plug refleak

13 years agoIssue #13458: Fix a memory leak in the ssl module when decoding a certificate with...
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.

13 years agoIssue #13436: Fix unsetenv() test on Windows
Victor Stinner [Tue, 22 Nov 2011 21:30:19 +0000 (22:30 +0100)]
Issue #13436: Fix unsetenv() test on Windows

13 years agoMerge branch 3.2
Victor Stinner [Tue, 22 Nov 2011 21:22:26 +0000 (22:22 +0100)]
Merge branch 3.2

13 years agoIssue #13415: os.unsetenv() doesn't ignore errors anymore.
Victor Stinner [Tue, 22 Nov 2011 21:01:28 +0000 (22:01 +0100)]
Issue #13415: os.unsetenv() doesn't ignore errors anymore.