]> granicus.if.org Git - python/log
python
13 years ago(Merge 3.1) Issue #9756: credit the author, Andreas Stührk (Trundle)
Victor Stinner [Sun, 1 May 2011 21:51:11 +0000 (23:51 +0200)]
(Merge 3.1) Issue #9756: credit the author, Andreas Stührk (Trundle)

13 years ago(Merge 3.1) Issue #9756: When calling a method descriptor or a slot wrapper
Victor Stinner [Sun, 1 May 2011 21:43:37 +0000 (23:43 +0200)]
(Merge 3.1) Issue #9756: When calling a method descriptor or a slot wrapper
descriptor, the check of the object type doesn't read the __class__ attribute
anymore.  Fix a crash if a class override its __class__ attribute (e.g. a proxy
of the str type).

13 years agoSplit combined code/doctest code blocks in two blocks, to enable proper highlighting.
Georg Brandl [Sun, 1 May 2011 20:36:31 +0000 (22:36 +0200)]
Split combined code/doctest code blocks in two blocks, to enable proper highlighting.

13 years ago#11971: fix man page; it's -OO not -O0
R David Murray [Sun, 1 May 2011 15:12:35 +0000 (11:12 -0400)]
#11971: fix man page; it's -OO not -O0

Patch by Lars Michelsen.

13 years ago#11883: fix email examples by adding 'localhost' to SMTP constructor calls
R David Murray [Sat, 30 Apr 2011 21:26:02 +0000 (17:26 -0400)]
#11883: fix email examples by adding 'localhost' to SMTP constructor calls

13 years ago#11901: post-commit review fixes per Georg Brandl
R David Murray [Sat, 30 Apr 2011 20:34:35 +0000 (16:34 -0400)]
#11901: post-commit review fixes per Georg Brandl

13 years agofix function name in example (closes #11966)
Benjamin Peterson [Sat, 30 Apr 2011 18:14:56 +0000 (13:14 -0500)]
fix function name in example (closes #11966)

13 years agofix formatting, :c:func: --> :cfunc:
Eli Bendersky [Sat, 30 Apr 2011 06:02:12 +0000 (09:02 +0300)]
fix formatting, :c:func: --> :cfunc:

13 years agoIssue #10912: add clarification for PyObject_RichCompareBool comparing identical...
Eli Bendersky [Sat, 30 Apr 2011 05:51:55 +0000 (08:51 +0300)]
Issue #10912: add clarification for PyObject_RichCompareBool comparing identical objects

13 years agoFix #11961. Document STARTUPINFO and creation flag options.
Brian Curtin [Sat, 30 Apr 2011 03:23:46 +0000 (22:23 -0500)]
Fix #11961. Document STARTUPINFO and creation flag options.

13 years agowhitespace fix
Brian Curtin [Fri, 29 Apr 2011 21:28:52 +0000 (16:28 -0500)]
whitespace fix

13 years agomerge
Brian Curtin [Fri, 29 Apr 2011 21:21:51 +0000 (16:21 -0500)]
merge

13 years ago#11952: Fix typo in multiprocessing doc.
Ezio Melotti [Fri, 29 Apr 2011 04:10:24 +0000 (07:10 +0300)]
#11952: Fix typo in multiprocessing doc.

13 years agoMerged solution for #11786 from 2.6
Łukasz Langa [Thu, 28 Apr 2011 15:40:19 +0000 (17:40 +0200)]
Merged solution for #11786 from 2.6

13 years agoCloses #11786: ConfigParser.[Raw]ConfigParser optionxform().
Łukasz Langa [Thu, 28 Apr 2011 15:27:59 +0000 (17:27 +0200)]
Closes #11786: ConfigParser.[Raw]ConfigParser optionxform().

13 years agoskip the extractall test on platforms where os.symlink is not available.
Senthil Kumaran [Thu, 28 Apr 2011 09:00:19 +0000 (17:00 +0800)]
skip the extractall test on platforms where os.symlink is not available.

13 years agoFix closes issue10761: tarfile.extractall failure when symlinked files are present.
Senthil Kumaran [Thu, 28 Apr 2011 07:30:31 +0000 (15:30 +0800)]
Fix closes  issue10761: tarfile.extractall failure  when symlinked files are present.

13 years agoBackport test from #11926.
Ezio Melotti [Thu, 28 Apr 2011 04:59:33 +0000 (07:59 +0300)]
Backport test from #11926.

13 years agoIssue #11940: Update external link.
Raymond Hettinger [Wed, 27 Apr 2011 23:34:07 +0000 (16:34 -0700)]
Issue #11940: Update external link.

13 years ago#11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi.
Ezio Melotti [Wed, 27 Apr 2011 21:48:46 +0000 (00:48 +0300)]
#11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi.

13 years agoMove NEWS entry to the right section.
Antoine Pitrou [Wed, 27 Apr 2011 17:26:06 +0000 (19:26 +0200)]
Move NEWS entry to the right section.

13 years agoIssue #10517: After fork(), reinitialize the TLS used by the PyGILState_*
Antoine Pitrou [Wed, 27 Apr 2011 17:20:48 +0000 (19:20 +0200)]
Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_*
APIs, to avoid a crash with the pthread implementation in RHEL 5.  Patch
by Charles-François Natali.

13 years ago#11763: don't use difflib in TestCase.assertMultiLineEqual if the strings are too...
Ezio Melotti [Wed, 27 Apr 2011 06:45:46 +0000 (09:45 +0300)]
#11763: don't use difflib in TestCase.assertMultiLineEqual if the strings are too long.

13 years agoUpdate NEWS for Issue11236.
Senthil Kumaran [Tue, 26 Apr 2011 13:17:45 +0000 (21:17 +0800)]
Update NEWS for Issue11236.

13 years agoissue11236 getpass.getpass to respond ctrl-c or ctrl-z
Senthil Kumaran [Tue, 26 Apr 2011 13:02:26 +0000 (21:02 +0800)]
issue11236 getpass.getpass to respond ctrl-c or ctrl-z

13 years ago#6780: fix starts/endswith error message to mention that tuples are accepted too.
Ezio Melotti [Tue, 26 Apr 2011 02:12:51 +0000 (05:12 +0300)]
#6780: fix starts/endswith error message to mention that tuples are accepted too.

13 years ago#11901: add description of how bitfields are laid out to hexversion docs
R David Murray [Mon, 25 Apr 2011 20:10:18 +0000 (16:10 -0400)]
#11901: add description of how bitfields are laid out to hexversion docs

Patch by Sijin Joseph.

13 years agopybench prep_times calculation error (closes #11895)
Jesus Cea [Mon, 25 Apr 2011 01:20:54 +0000 (03:20 +0200)]
pybench prep_times calculation error (closes #11895)

13 years agoOther minor clean-ups.
Raymond Hettinger [Sun, 24 Apr 2011 19:55:28 +0000 (12:55 -0700)]
Other minor clean-ups.

13 years agoRemove unused branch in the clear() method. Minor comment edits.
Raymond Hettinger [Sun, 24 Apr 2011 19:30:39 +0000 (12:30 -0700)]
Remove unused branch in the clear() method. Minor comment edits.

13 years agoMinor code clean-up.
Raymond Hettinger [Sun, 24 Apr 2011 03:11:50 +0000 (20:11 -0700)]
Minor code clean-up.

13 years agoRemove unused imports
Raymond Hettinger [Sun, 24 Apr 2011 01:37:37 +0000 (18:37 -0700)]
Remove unused imports

13 years agoMinor code simplification.
Raymond Hettinger [Sat, 23 Apr 2011 22:51:38 +0000 (15:51 -0700)]
Minor code simplification.

13 years agoMinor code simplification.
Raymond Hettinger [Sat, 23 Apr 2011 22:41:38 +0000 (15:41 -0700)]
Minor code simplification.

13 years agoCleanups to remove dependencies and add docstrings.
Raymond Hettinger [Sat, 23 Apr 2011 01:49:53 +0000 (18:49 -0700)]
Cleanups to remove dependencies and add docstrings.

13 years agoFix some more markup glitches in argparse doc.
Ezio Melotti [Thu, 21 Apr 2011 22:29:13 +0000 (01:29 +0300)]
Fix some more markup glitches in argparse doc.

13 years agoThe \ is not supported in Sphinx 0.6.
Ezio Melotti [Thu, 21 Apr 2011 20:30:27 +0000 (23:30 +0300)]
The \ is not supported in Sphinx 0.6.

13 years ago#11905: fix missing full stop in argparse doc. Noticed by Vladimir Rutsky.
Ezio Melotti [Thu, 21 Apr 2011 20:09:27 +0000 (23:09 +0300)]
#11905: fix missing full stop in argparse doc. Noticed by Vladimir Rutsky.

13 years ago#11904: fix indentation in argparse doc. Noticed by Vladimir Rutsky.
Ezio Melotti [Thu, 21 Apr 2011 20:06:48 +0000 (23:06 +0300)]
#11904: fix indentation in argparse doc. Noticed by Vladimir Rutsky.

13 years ago#11902: Fix typo in argparse doc. Noticed by Vladimir Rutsky.
Ezio Melotti [Thu, 21 Apr 2011 19:56:51 +0000 (22:56 +0300)]
#11902: Fix typo in argparse doc. Noticed by Vladimir Rutsky.

13 years agoAdd the :mod: role where it was missing.
Ezio Melotti [Thu, 21 Apr 2011 13:12:17 +0000 (16:12 +0300)]
Add the :mod: role where it was missing.

13 years ago#11885: capitalize Python.
Ezio Melotti [Thu, 21 Apr 2011 12:26:46 +0000 (15:26 +0300)]
#11885: capitalize Python.

13 years agoMinor text rearrangement.
Raymond Hettinger [Wed, 20 Apr 2011 20:11:38 +0000 (13:11 -0700)]
Minor text rearrangement.

13 years agoFix wrong function name. Noticed by Clive Darke.
Ezio Melotti [Wed, 20 Apr 2011 18:29:31 +0000 (21:29 +0300)]
Fix wrong function name. Noticed by Clive Darke.

13 years agostartswith and endswith don't accept None as slice index. Patch by Torsten Becker...
Jesus Cea [Wed, 20 Apr 2011 14:39:15 +0000 (16:39 +0200)]
startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828)

13 years agoFix #8886. Use context managers throughout zipfile tests.
Brian Curtin [Wed, 20 Apr 2011 02:15:55 +0000 (21:15 -0500)]
Fix #8886. Use context managers throughout zipfile tests.

This was fixed in py3k SVN. Consider this a backport.

13 years agoIssue #11875: Alter the previous fix to work better with subclasses
Raymond Hettinger [Tue, 19 Apr 2011 23:53:07 +0000 (16:53 -0700)]
Issue #11875: Alter the previous fix to work better with subclasses

13 years agoFix wrong number of functions noticed by Sandro Tosi.
Ezio Melotti [Tue, 19 Apr 2011 20:12:37 +0000 (23:12 +0300)]
Fix wrong number of functions noticed by Sandro Tosi.

13 years agoUse a generic class lookup.
Raymond Hettinger [Tue, 19 Apr 2011 16:52:21 +0000 (09:52 -0700)]
Use a generic class lookup.

13 years agoIssue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
Raymond Hettinger [Tue, 19 Apr 2011 16:48:39 +0000 (09:48 -0700)]
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.

13 years agoUpdated documentation on fileConfig().
Vinay Sajip [Tue, 19 Apr 2011 12:47:23 +0000 (13:47 +0100)]
Updated documentation on fileConfig().

13 years agoFix sporadic failure in test_startfile.
Nadeem Vawda [Mon, 18 Apr 2011 23:35:58 +0000 (01:35 +0200)]
Fix sporadic failure in test_startfile.

Wait for the child process to terminate before ending the test, so that the
regrtest cleanup code doesn't get an error when it tries to delete the
temporary CWD.

13 years agoIssue #11768: signal.set_wakeup_fd() and PySignal_SetWakeupFd() added in 2.6
Victor Stinner [Mon, 18 Apr 2011 14:34:31 +0000 (16:34 +0200)]
Issue #11768: signal.set_wakeup_fd() and PySignal_SetWakeupFd() added in 2.6

Fix the documentation.

13 years ago(Merge 3.1) Issue #11768: The signal handler of the signal module only calls
Victor Stinner [Mon, 18 Apr 2011 14:33:28 +0000 (16:33 +0200)]
(Merge 3.1) Issue #11768: The signal handler of the signal module only calls
Py_AddPendingCall() for the first signal to fix a deadlock on reentrant or
parallel calls. PyErr_SetInterrupt() writes also into the wake up file.

13 years ago#11865: fix typo in init.rst.
Ezio Melotti [Mon, 18 Apr 2011 07:11:21 +0000 (10:11 +0300)]
#11865: fix typo in init.rst.

13 years agoRework multiset methods to use less memory and to make fewer calls to __hash__.
Raymond Hettinger [Mon, 18 Apr 2011 03:08:41 +0000 (20:08 -0700)]
Rework multiset methods to use less memory and to make fewer calls to __hash__.

13 years agomerge 11442 NEWS
Martin v. Löwis [Sun, 17 Apr 2011 21:01:13 +0000 (23:01 +0200)]
merge 11442 NEWS

13 years agomerge 11442 NEWS
Martin v. Löwis [Sun, 17 Apr 2011 20:56:19 +0000 (22:56 +0200)]
merge 11442 NEWS

13 years agoIssue 11442: Add NEWS entry for e9724d7abbc2
Martin v. Löwis [Sun, 17 Apr 2011 20:29:40 +0000 (22:29 +0200)]
Issue 11442: Add NEWS entry for e9724d7abbc2

13 years agoFix a few hyphens in argparse.rst.
Ezio Melotti [Sat, 16 Apr 2011 20:04:51 +0000 (23:04 +0300)]
Fix a few hyphens in argparse.rst.

13 years agoIssue #11855: Apply missing formatting for urlretrieve
Eli Bendersky [Sat, 16 Apr 2011 12:28:42 +0000 (15:28 +0300)]
Issue #11855: Apply missing formatting for urlretrieve

13 years agoAdd another example to the collections module docs.
Raymond Hettinger [Sat, 16 Apr 2011 00:55:36 +0000 (17:55 -0700)]
Add another example to the collections module docs.

13 years agoFix minor subclassing issue with collections.Counter
Raymond Hettinger [Fri, 15 Apr 2011 20:12:21 +0000 (13:12 -0700)]
Fix minor subclassing issue with collections.Counter

13 years ago#11843: remove duplicate line from table in distutil doc.
Ezio Melotti [Fri, 15 Apr 2011 15:05:09 +0000 (18:05 +0300)]
#11843: remove duplicate line from table in distutil doc.

13 years agoIssue #5057: fix a bug in the peepholer that led to non-portable pyc files between...
Ezio Melotti [Fri, 15 Apr 2011 13:14:04 +0000 (16:14 +0300)]
Issue #5057: fix a bug in the peepholer that led to non-portable pyc files between narrow and wide builds while optimizing BINARY_SUBSCR on non-BMP chars (e.g. u"\U00012345"[0]).

13 years agoIssue #11467: Fix urlparse behavior when handling urls which contains scheme
Senthil Kumaran [Fri, 15 Apr 2011 10:07:33 +0000 (18:07 +0800)]
Issue #11467: Fix urlparse behavior when handling urls which contains scheme
specific part only digits. Patch by Santoso Wijaya.

13 years ago#11848: replace dead link in random.betavariate comment.
Ezio Melotti [Fri, 15 Apr 2011 05:25:16 +0000 (08:25 +0300)]
#11848: replace dead link in random.betavariate comment.

13 years ago#4783: document that is not possible to use json.dump twice on the same stream.
Ezio Melotti [Fri, 15 Apr 2011 04:37:00 +0000 (07:37 +0300)]
#4783: document that is not possible to use json.dump twice on the same stream.

13 years agoIssue #11827: remove mention of list2cmdline in the doc of subprocess
Eli Bendersky [Fri, 15 Apr 2011 04:35:06 +0000 (07:35 +0300)]
Issue #11827: remove mention of list2cmdline in the doc of subprocess

13 years agomerge the changes.
Senthil Kumaran [Thu, 14 Apr 2011 04:58:32 +0000 (12:58 +0800)]
merge the changes.

13 years agoFix Issue11474 - url2pathname() handling of '/C|/' on Windows
Senthil Kumaran [Thu, 14 Apr 2011 04:54:35 +0000 (12:54 +0800)]
Fix Issue11474 - url2pathname() handling of '/C|/' on Windows

13 years ago#11840: Improve c-api/unicode documentation. Patch by Sandro Tosi.
Ezio Melotti [Thu, 14 Apr 2011 04:39:06 +0000 (07:39 +0300)]
#11840: Improve c-api/unicode documentation. Patch by Sandro Tosi.

13 years ago#9101: backport json reference in configparser doc.
Ezio Melotti [Thu, 14 Apr 2011 03:53:44 +0000 (06:53 +0300)]
#9101: backport json reference in configparser doc.

13 years agoTransplant: Fix wording and clarify that the IDNA codec operates on full domain names.
R David Murray [Wed, 13 Apr 2011 18:20:30 +0000 (14:20 -0400)]
Transplant: Fix wording and clarify that the IDNA codec operates on full domain names.

Before reading the code to check, I wasn't sure if it operated on
full domain names or just individual labels.

13 years agoIssue 3051: make pure python code pass the same tests as the C version.
Raymond Hettinger [Wed, 13 Apr 2011 18:15:58 +0000 (11:15 -0700)]
Issue 3051: make pure python code pass the same tests as the C version.

13 years ago#9233: Fix json.loads({}) to return a dict (instead of a list), when _json is not...
Ezio Melotti [Wed, 13 Apr 2011 02:37:29 +0000 (05:37 +0300)]
#9233: Fix json.loads({}) to return a dict (instead of a list), when _json is not available.

13 years agoIssue 11718: Teach IDLE's open module dialog to find packages.
Raymond Hettinger [Wed, 13 Apr 2011 01:54:46 +0000 (18:54 -0700)]
Issue 11718: Teach IDLE's open module dialog to find packages.

13 years agoupdate news in 2.7 for Issue #11703
Senthil Kumaran [Wed, 13 Apr 2011 01:47:20 +0000 (09:47 +0800)]
update news in 2.7  for Issue #11703

13 years ago#10019: Fix regression relative to 2.6: add newlines if indent=0
R David Murray [Wed, 13 Apr 2011 01:00:26 +0000 (21:00 -0400)]
#10019: Fix regression relative to 2.6: add newlines if indent=0

Patch by Amaury Forgeot d'Arc, updated by Sando Tosi.

13 years agoFix Issue11703 - urllib2.get_url does not handle fragment in url properly.
Senthil Kumaran [Tue, 12 Apr 2011 23:31:45 +0000 (07:31 +0800)]
Fix Issue11703 - urllib2.get_url does not handle fragment in url properly.

13 years agoIssue 11747: Fix output format for context diffs.
Raymond Hettinger [Tue, 12 Apr 2011 22:48:25 +0000 (15:48 -0700)]
Issue 11747: Fix output format for context diffs.

13 years agoNeaten-up the fix to issue 11830
Raymond Hettinger [Tue, 12 Apr 2011 16:06:01 +0000 (09:06 -0700)]
Neaten-up the fix to issue 11830

13 years agoRemove unnecessary imports and use assertIs instead of assertTrue.
Ezio Melotti [Tue, 12 Apr 2011 13:06:43 +0000 (16:06 +0300)]
Remove unnecessary imports and use assertIs instead of assertTrue.

13 years ago#9233: skip _json-specific tests when _json is not available.
Ezio Melotti [Tue, 12 Apr 2011 12:59:50 +0000 (15:59 +0300)]
#9233: skip _json-specific tests when _json is not available.

13 years agoUse floor division operator instead of deprecated division operator.
Raymond Hettinger [Tue, 12 Apr 2011 00:45:01 +0000 (17:45 -0700)]
Use floor division operator instead of deprecated division operator.

13 years agoIssue #11830: Remove unnecessary introspection code in the decimal module.
Raymond Hettinger [Tue, 12 Apr 2011 00:27:42 +0000 (17:27 -0700)]
Issue #11830: Remove unnecessary introspection code in the decimal module.
It was causing a failed import in the Turkish locale where the locale
sensitive str.upper() method caused a name mismatch.

13 years agoAdd NEWS item for #5162.
brian.curtin [Mon, 11 Apr 2011 23:05:33 +0000 (18:05 -0500)]
Add NEWS item for #5162.

13 years agoFix #5162. Allow child spawning from Windows services (via pywin32).
brian.curtin [Mon, 11 Apr 2011 23:00:59 +0000 (18:00 -0500)]
Fix #5162. Allow child spawning from Windows services (via pywin32).

13 years agoRemove unnecessary call to PyErr_Clear.
Ezio Melotti [Mon, 11 Apr 2011 00:45:25 +0000 (03:45 +0300)]
Remove unnecessary call to PyErr_Clear.

13 years ago#4877: Fix a segfault in xml.parsers.expat while attempting to parse a closed file.
Ezio Melotti [Mon, 11 Apr 2011 00:44:28 +0000 (03:44 +0300)]
#4877: Fix a segfault in xml.parsers.expat while attempting to parse a closed file.

13 years agoIssue #8428: Fix a race condition in multiprocessing.Pool when terminating
Antoine Pitrou [Sun, 10 Apr 2011 22:26:42 +0000 (00:26 +0200)]
Issue #8428: Fix a race condition in multiprocessing.Pool when terminating
worker processes: new processes would be spawned while the pool is being
shut down.  Patch by Charles-François Natali.

13 years agoIssue9670: Back out changeset b0d2b696da19; test fails on other platforms
Ned Deily [Sat, 9 Apr 2011 21:59:30 +0000 (14:59 -0700)]
Issue9670: Back out changeset b0d2b696da19; test fails on other platforms
and on OS X with pydebug.

13 years agoIssue #9670: Increase the default stack size for secondary threads on
Ned Deily [Sat, 9 Apr 2011 19:29:58 +0000 (12:29 -0700)]
Issue #9670: Increase the default stack size for secondary threads on
Mac OS X and FreeBSD to reduce the chances of a crash instead of a
"maximum recursion depth" RuntimeError exception.
(Patch by Ronald Oussoren)

13 years agoIssue #11719: Fix message about unexpected test_msilib skip.
Ross Lagerwall [Sat, 9 Apr 2011 18:39:50 +0000 (20:39 +0200)]
Issue #11719: Fix message about unexpected test_msilib skip.
Patch by Nadeem Vawda.

13 years ago(Merge 3.1) Issue #11650: PyOS_StdioReadline() retries fgets() if it was
Victor Stinner [Sat, 9 Apr 2011 14:09:08 +0000 (16:09 +0200)]
(Merge 3.1) Issue #11650: PyOS_StdioReadline() retries fgets() if it was
interrupted (EINTR), for example if the program is stopped with CTRL+z on Mac
OS X. Patch written by Charles-Francois Natali.

13 years agoIssue #11794: Reorganised logging documentation.
Vinay Sajip [Fri, 8 Apr 2011 10:40:38 +0000 (11:40 +0100)]
Issue #11794: Reorganised logging documentation.

13 years agoBackport for Python 2.7 of issue 11715 support for building Python on
Barry Warsaw [Thu, 7 Apr 2011 15:28:11 +0000 (11:28 -0400)]
Backport for Python 2.7 of issue 11715 support for building Python on
multiarch Debian/Ubuntu.

13 years agoIssue #11766: increase countdown waiting for a pool of processes to start
Antoine Pitrou [Wed, 6 Apr 2011 20:54:14 +0000 (22:54 +0200)]
Issue #11766: increase countdown waiting for a pool of processes to start
up.  Hopefully fixes transient buildbot failures.

13 years agohg pull/merge - Changes to accomodate.
Senthil Kumaran [Wed, 6 Apr 2011 06:41:42 +0000 (14:41 +0800)]
hg pull/merge - Changes to accomodate.

13 years agoIssue #10762: Guard against invalid/non-supported format string '%f' on Windows....
Senthil Kumaran [Wed, 6 Apr 2011 06:27:47 +0000 (14:27 +0800)]
Issue #10762: Guard against invalid/non-supported format string '%f' on Windows. Patch Santoso Wijaya.