]> granicus.if.org Git - python/log
python
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.

13 years agoIssue #13436: commit regenerated Python-ast.c
Amaury Forgeot d'Arc [Tue, 22 Nov 2011 20:52:30 +0000 (21:52 +0100)]
Issue #13436: commit regenerated Python-ast.c

13 years agoIssue #13436: Fix a bogus error message when an AST object was passed
Amaury Forgeot d'Arc [Tue, 22 Nov 2011 20:51:55 +0000 (21:51 +0100)]
Issue #13436: Fix a bogus error message when an AST object was passed
an invalid integer value.

13 years agoIssue #13156: _PyGILState_Reinit(): Re-associate the auto thread state with the
Charles-François Natali [Tue, 22 Nov 2011 18:49:51 +0000 (19:49 +0100)]
Issue #13156: _PyGILState_Reinit(): Re-associate the auto thread state with the
TLS key only if the thread that called fork() had an associated auto thread
state (this might not be the case for example for a thread created outside of
Python calling into a subinterpreter).

13 years agobytes() can't be used to get a representation of an object.
Amaury Forgeot d'Arc [Tue, 22 Nov 2011 18:34:08 +0000 (19:34 +0100)]
bytes() can't be used to get a representation of an object.

13 years agoIssue #12156: Skip test_multiprocessing on systems which don't support enough
Charles-François Natali [Tue, 22 Nov 2011 17:36:39 +0000 (18:36 +0100)]
Issue #12156: Skip test_multiprocessing on systems which don't support enough
POSIX semaphores (among which FreeBSD < 8).

13 years agoIssue #13093: Fix error handling on PyUnicode_EncodeDecimal()
Victor Stinner [Tue, 22 Nov 2011 00:45:37 +0000 (01:45 +0100)]
Issue #13093: Fix error handling on PyUnicode_EncodeDecimal()

 * Add tests for PyUnicode_EncodeDecimal() and PyUnicode_TransformDecimalToASCII()
 * Remove the unused "e" variable in replace()

13 years agoIssue #13322: Fix BufferedWriter.write() to ensure that BlockingIOError is
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.

13 years agoClose #13401: Skip TestFileTypeW of test_argparse if the current user is root
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.

13 years agoIssue #13338: Handle all enumerations in _Py_ANNOTATE_MEMORY_ORDER
Petri Lehtinen [Sat, 19 Nov 2011 20:03:10 +0000 (22:03 +0200)]
Issue #13338: Handle all enumerations in _Py_ANNOTATE_MEMORY_ORDER

This allows compiling extension modules with -Wswitch-enum on gcc.
Initial patch by Floris Bruynooghe.

13 years agoIssue #12245: Document sys.float_info.rounds better.
Mark Dickinson [Sat, 19 Nov 2011 16:26:45 +0000 (16:26 +0000)]
Issue #12245: Document sys.float_info.rounds better.

13 years ago#13387: add note about checking the exact type in assertIsInstance doc.
Ezio Melotti [Fri, 18 Nov 2011 16:59:36 +0000 (18:59 +0200)]
#13387: add note about checking the exact type in assertIsInstance doc.

13 years ago#11112: Fix typo in a base class in test_socket.
Ezio Melotti [Fri, 18 Nov 2011 16:33:14 +0000 (18:33 +0200)]
#11112: Fix typo in a base class in test_socket.

13 years ago#13358: HTMLParser now calls handle_data only once for each CDATA.
Ezio Melotti [Fri, 18 Nov 2011 16:01:49 +0000 (18:01 +0200)]
#13358: HTMLParser now calls handle_data only once for each CDATA.

13 years ago#4147: minidom's toprettyxml no longer adds whitespace around a text node when it...
Ezio Melotti [Fri, 18 Nov 2011 15:34:26 +0000 (17:34 +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.

13 years ago#13426: fix typos in pickle doc.
Ezio Melotti [Fri, 18 Nov 2011 11:51:10 +0000 (13:51 +0200)]
#13426: fix typos in pickle doc.

13 years agofixing typos in optparse doc
Eli Bendersky [Wed, 16 Nov 2011 04:02:21 +0000 (06:02 +0200)]
fixing typos in optparse doc

13 years agoBranch merge
Éric Araujo [Tue, 15 Nov 2011 15:12:49 +0000 (16:12 +0100)]
Branch merge

13 years agoIssue #13333: The UTF-7 decoder now accepts lone surrogates
Antoine Pitrou [Tue, 15 Nov 2011 00:42:21 +0000 (01:42 +0100)]
Issue #13333: The UTF-7 decoder now accepts lone surrogates
(the encoder already accepts them).

13 years agoFix markup
Éric Araujo [Mon, 14 Nov 2011 17:00:48 +0000 (18:00 +0100)]
Fix markup

13 years ago#1745761, #755670, #13357, #12629, #1200313: improve attribute handling in HTMLParser.
Ezio Melotti [Mon, 14 Nov 2011 16:53:33 +0000 (18:53 +0200)]
#1745761, #755670, #13357, #12629, #1200313: improve attribute handling in HTMLParser.

13 years agoGroup tests about attributes in a separate class.
Ezio Melotti [Mon, 14 Nov 2011 16:13:22 +0000 (18:13 +0200)]
Group tests about attributes in a separate class.

13 years agoClarify the existence of the <> operator in Grammar/Grammar with a comment, for issue...
Eli Bendersky [Sun, 13 Nov 2011 23:16:31 +0000 (01:16 +0200)]
Clarify the existence of the <> operator in Grammar/Grammar with a comment, for issue 13239

13 years agoFix memory leak with FLUFL-related syntax errors (!)
Antoine Pitrou [Sun, 13 Nov 2011 00:01:23 +0000 (01:01 +0100)]
Fix memory leak with FLUFL-related syntax errors (!)

13 years agoRestore smtpd.DEBUGSTREAM at the end of test_smtpd.
Antoine Pitrou [Sat, 12 Nov 2011 19:36:29 +0000 (20:36 +0100)]
Restore smtpd.DEBUGSTREAM at the end of test_smtpd.
(backport of 6b9f547e92d8)

13 years agoMerge heads
Petri Lehtinen [Sat, 12 Nov 2011 19:23:46 +0000 (21:23 +0200)]
Merge heads

13 years agoUpdate mailbox.Maildir tests
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

13 years agoIssue #12767: documenting threading.Condition.notify
Eli Bendersky [Sat, 12 Nov 2011 18:44:25 +0000 (20:44 +0200)]
Issue #12767: documenting threading.Condition.notify

13 years agoAdd NEWS entry for #13193
Antoine Pitrou [Sat, 12 Nov 2011 00:22:11 +0000 (01:22 +0100)]
Add NEWS entry for #13193

13 years agoIssue #13193: fix distutils.filelist.FileList under Windows
Antoine Pitrou [Sat, 12 Nov 2011 00:20:45 +0000 (01:20 +0100)]
Issue #13193: fix distutils.filelist.FileList under Windows

13 years agoReformat paragraphs.
Florent Xicluna [Fri, 11 Nov 2011 18:56:26 +0000 (19:56 +0100)]
Reformat paragraphs.

13 years agoFew typos in the documentation.
Florent Xicluna [Fri, 11 Nov 2011 18:55:21 +0000 (19:55 +0100)]
Few typos in the documentation.

13 years agoFix few typos.
Florent Xicluna [Fri, 11 Nov 2011 18:35:42 +0000 (19:35 +0100)]
Fix few typos.

13 years agoRemove duplicate ACKS.
Florent Xicluna [Fri, 11 Nov 2011 18:21:22 +0000 (19:21 +0100)]
Remove duplicate ACKS.

13 years agoFix #13384. Remove __future__ import in 3.x code.
Brian Curtin [Fri, 11 Nov 2011 15:37:25 +0000 (09:37 -0600)]
Fix #13384. Remove __future__ import in 3.x code.

13 years agoIssue #13161: fix doc strings of __i*__ operators
Eli Bendersky [Fri, 11 Nov 2011 14:57:05 +0000 (16:57 +0200)]
Issue #13161: fix doc strings of __i*__ operators

13 years agoIssue #13191: typo in argparse docs
Eli Bendersky [Fri, 11 Nov 2011 08:57:01 +0000 (10:57 +0200)]
Issue #13191: typo in argparse docs

13 years agoIssue #13365: correct an error in the documentation of str.expandtabs
Eli Bendersky [Fri, 11 Nov 2011 08:40:14 +0000 (10:40 +0200)]
Issue #13365: correct an error in the documentation of str.expandtabs

13 years ago#13379: update Unicode version in unicodedata docstrings and comments.
Ezio Melotti [Thu, 10 Nov 2011 07:36:34 +0000 (09:36 +0200)]
#13379: update Unicode version in unicodedata docstrings and comments.

13 years agoIssue #13373: multiprocessing.Queue.get() could sometimes block indefinitely
Antoine Pitrou [Wed, 9 Nov 2011 23:37:09 +0000 (00:37 +0100)]
Issue #13373: multiprocessing.Queue.get() could sometimes block indefinitely
when called with a timeout.  Patch by Arnaud Ysmal.

13 years agotest_import: test_execute_bit_not_copied() was actually a no-op: fix it.
Charles-François Natali [Tue, 8 Nov 2011 18:42:02 +0000 (19:42 +0100)]
test_import: test_execute_bit_not_copied() was actually a no-op: fix it.

13 years agoPartial patch for issue #11812: Take care of test_telnetlib.py
Jesus Cea [Tue, 8 Nov 2011 15:24:43 +0000 (16:24 +0100)]
Partial patch for issue #11812: Take care of test_telnetlib.py

13 years agoSolved a potential deadlock in test_telnetlib.py. Related to issue #11812
Jesus Cea [Tue, 8 Nov 2011 15:20:46 +0000 (16:20 +0100)]
Solved a potential deadlock in test_telnetlib.py. Related to issue #11812

13 years agoIssue #13237: Fix formatting error - the legacy shell commands weren't meant to be...
Nick Coghlan [Tue, 8 Nov 2011 11:50:58 +0000 (21:50 +1000)]
Issue #13237: Fix formatting error - the legacy shell commands weren't meant to be under the Notes heading

13 years agoIssue #13237: Remove duplicate data value descriptions from the subprocess docs
Nick Coghlan [Tue, 8 Nov 2011 11:39:07 +0000 (21:39 +1000)]
Issue #13237: Remove duplicate data value descriptions from the subprocess docs

13 years agoIssue #13237: Forward port subprocess module updates and explicitly document UTF...
Nick Coghlan [Tue, 8 Nov 2011 10:49:23 +0000 (20:49 +1000)]
Issue #13237: Forward port subprocess module updates and explicitly document UTF-8 encoding assumption when universal_newlines=True

13 years agoDon’t interpret backslashes in ASCII diagram in a docstring
Éric Araujo [Mon, 7 Nov 2011 16:52:48 +0000 (17:52 +0100)]
Don’t interpret backslashes in ASCII diagram in a docstring

13 years agoDocument that shutil.make_archive does not typecheck its logger argument
Éric Araujo [Mon, 7 Nov 2011 16:31:07 +0000 (17:31 +0100)]
Document that shutil.make_archive does not typecheck its logger argument