]> granicus.if.org Git - python/log
python
13 years agoFix #11834. Correct site-packages paths.
Brian Curtin [Wed, 4 May 2011 02:57:00 +0000 (21:57 -0500)]
Fix #11834. Correct site-packages paths.

Patch by Bryce Verdier.

13 years ago#11985: document the return value of platform.python_implementation for PyPy.
Ezio Melotti [Tue, 3 May 2011 17:41:48 +0000 (20:41 +0300)]
#11985: document the return value of platform.python_implementation for PyPy.

13 years agoBranch merge
Éric Araujo [Mon, 2 May 2011 11:10:36 +0000 (13:10 +0200)]
Branch merge

13 years agoAdd missing colon
Éric Araujo [Mon, 2 May 2011 11:10:18 +0000 (13:10 +0200)]
Add missing colon

13 years agoFix spelling.
Raymond Hettinger [Mon, 2 May 2011 01:14:49 +0000 (18:14 -0700)]
Fix spelling.

13 years agoIssue #11277: mmap calls fcntl(fd, F_FULLFSYNC) on Mac OS X to get around a
Victor Stinner [Sun, 1 May 2011 23:05:37 +0000 (01:05 +0200)]
Issue #11277: mmap calls fcntl(fd, F_FULLFSYNC) on Mac OS X to get around a
mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso.

13 years agonote abcs of int and float (closes #11977)
Benjamin Peterson [Sun, 1 May 2011 22:38:17 +0000 (17:38 -0500)]
note abcs of int and float (closes #11977)

13 years agoIssue #9756: credit the author, Andreas Stührk (Trundle)
Victor Stinner [Sun, 1 May 2011 21:46:48 +0000 (23:46 +0200)]
Issue #9756: credit the author, Andreas Stührk (Trundle)

13 years agoIssue #9756: When calling a method descriptor or a slot wrapper descriptor, the
Victor Stinner [Sun, 1 May 2011 21:19:15 +0000 (23:19 +0200)]
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 ago#11971: fix man page; it's -OO not -O0
R David Murray [Sun, 1 May 2011 15:13:56 +0000 (11:13 -0400)]
#11971: fix man page; it's -OO not -O0

Patch by Lars Michelsen.

13 years agoFix wording
Éric Araujo [Sun, 1 May 2011 00:14:48 +0000 (02:14 +0200)]
Fix wording

13 years ago#11883: fix email examples by adding 'localhost' to SMTP constructor calls
R David Murray [Sat, 30 Apr 2011 21:26:32 +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:35:29 +0000 (16:35 -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 agowhitespace...
Brian Curtin [Sat, 30 Apr 2011 03:18:33 +0000 (22:18 -0500)]
whitespace...

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

13 years agoWrap the testskip decorator for the proper test to resolve bb failure.
Senthil Kumaran [Fri, 29 Apr 2011 22:06:28 +0000 (06:06 +0800)]
Wrap the testskip decorator for the proper test to resolve bb failure.

13 years agoFurther fix #7838. CREATE_NEW_CONSOLE was exposed, but none of the
Brian Curtin [Fri, 29 Apr 2011 20:48:13 +0000 (15:48 -0500)]
Further fix #7838. CREATE_NEW_CONSOLE was exposed, but none of the
constants to be used for STARTUPINFO were exposed due to the change.

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 agoskip the extractall test on platforms where os.symlink is not available.
Senthil Kumaran [Thu, 28 Apr 2011 09:05:55 +0000 (17:05 +0800)]
skip the extractall test on platforms where os.symlink is not available.

13 years agoAdd tests for tarfile extractall feature when with symlinks
Senthil Kumaran [Thu, 28 Apr 2011 07:38:12 +0000 (15:38 +0800)]
Add tests for tarfile extractall feature when with symlinks

13 years ago#11926: add missing keywords to help("keywords").
Ezio Melotti [Thu, 28 Apr 2011 04:42:55 +0000 (07:42 +0300)]
#11926: add missing keywords to help("keywords").

13 years agoIssue #11940: Update external link.
Raymond Hettinger [Wed, 27 Apr 2011 23:32:08 +0000 (16:32 -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 agoBranch merge
Éric Araujo [Wed, 27 Apr 2011 14:23:56 +0000 (16:23 +0200)]
Branch merge

13 years agoChange markup so it generates a link
Éric Araujo [Wed, 27 Apr 2011 14:22:32 +0000 (16:22 +0200)]
Change markup so it generates a link

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

13 years agoUpdate News entry for Issue11236
Senthil Kumaran [Tue, 26 Apr 2011 13:09:49 +0000 (21:09 +0800)]
Update News entry for Issue11236

13 years agoFix for issue11236 getpass.getpass to respond ctrl-c or ctrl-z
Senthil Kumaran [Tue, 26 Apr 2011 12:59:46 +0000 (20:59 +0800)]
Fix for 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 03:09:45 +0000 (06:09 +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:12:26 +0000 (16:12 -0400)]
#11901: add description of how bitfields are laid out to hexversion docs

Patch by Sijin Joseph.

13 years agoChange markup so that it creates a link
Éric Araujo [Mon, 25 Apr 2011 17:05:53 +0000 (19:05 +0200)]
Change markup so that it creates a link

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

13 years agoRemove obsolete/duplicate docstring
Éric Araujo [Sun, 24 Apr 2011 15:10:30 +0000 (17:10 +0200)]
Remove obsolete/duplicate docstring

13 years agoBranch merge
Éric Araujo [Sun, 24 Apr 2011 00:34:11 +0000 (02:34 +0200)]
Branch merge

13 years agoFix weird executable name
Éric Araujo [Fri, 22 Apr 2011 19:27:10 +0000 (21:27 +0200)]
Fix weird executable name

13 years agoAdd a space to make json doc a bit more readable
Éric Araujo [Thu, 21 Apr 2011 00:37:41 +0000 (02:37 +0200)]
Add a space to make json doc a bit more readable

13 years agomerge heads
Jesus Cea [Wed, 20 Apr 2011 20:38:26 +0000 (22:38 +0200)]
merge heads

13 years agoPort 5b607cd8c71b (closes #11892)
Jesus Cea [Wed, 20 Apr 2011 20:26:57 +0000 (22:26 +0200)]
Port 5b607cd8c71b (closes #11892)

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

13 years agomerge
Jesus Cea [Wed, 20 Apr 2011 18:51:09 +0000 (20:51 +0200)]
merge

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 agoUp-port changeset 5cf8f6da8743 (closes #11890)
Jesus Cea [Wed, 20 Apr 2011 18:24:57 +0000 (20:24 +0200)]
Up-port changeset 5cf8f6da8743 (closes #11890)

13 years agoFix argument name in reST doc to match the code
Éric Araujo [Wed, 20 Apr 2011 17:11:12 +0000 (19:11 +0200)]
Fix argument name in reST doc to match the code

13 years agoBranch merge
Éric Araujo [Wed, 20 Apr 2011 16:54:12 +0000 (18:54 +0200)]
Branch merge

13 years agoAdd docstring to dbm.open
Éric Araujo [Wed, 20 Apr 2011 16:52:55 +0000 (18:52 +0200)]
Add docstring to dbm.open

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

13 years agoIssue #11875: Alter the previous fix to work better with subclasses
Raymond Hettinger [Wed, 20 Apr 2011 00:17:23 +0000 (17:17 -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:15:13 +0000 (23:15 +0300)]
Fix wrong number of functions noticed by Sandro Tosi.

13 years agomerge
Raymond Hettinger [Tue, 19 Apr 2011 18:12:47 +0000 (11:12 -0700)]
merge

13 years agoHmm, __ne__ was missing
Raymond Hettinger [Tue, 19 Apr 2011 17:05:53 +0000 (10:05 -0700)]
Hmm, __ne__ was missing

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

13 years agoFix sporadic failure in test_startfile.
Nadeem Vawda [Mon, 18 Apr 2011 23:38:47 +0000 (01:38 +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: The signal handler of the signal module only calls
Victor Stinner [Mon, 18 Apr 2011 14:25:56 +0000 (16:25 +0200)]
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 02:46:46 +0000 (19:46 -0700)]
Rework multiset methods to use less memory and to make fewer calls to __hash__.

13 years agoFix resource warning found manually
Éric Araujo [Sun, 17 Apr 2011 12:27:07 +0000 (14:27 +0200)]
Fix resource warning found manually

13 years agoAdvertise nesting directives for class/method and class/data combos.
Éric Araujo [Sat, 16 Apr 2011 21:47:53 +0000 (23:47 +0200)]
Advertise nesting directives for class/method and class/data combos.

Also fix a typo and a misleading example (method used to describe function).

13 years agoSmall wording fix.
Georg Brandl [Sat, 16 Apr 2011 14:54:15 +0000 (16:54 +0200)]
Small wording fix.

13 years agoIssue #11855: Apply missing formatting for urlretrieve
Eli Bendersky [Sat, 16 Apr 2011 12:32:13 +0000 (15:32 +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:43:19 +0000 (17:43 -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:16:46 +0000 (13:16 -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:38:34 +0000 (16:38 +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. "\U00012345"[0]).

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

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:23:26 +0000 (07:23 +0300)]
Issue #11827: remove mention of list2cmdline in the doc of subprocess

13 years agoFix Issue11474 - fix url2pathname() handling of '/C|/' on Windows
Senthil Kumaran [Thu, 14 Apr 2011 05:16:30 +0000 (13:16 +0800)]
Fix Issue11474 - fix 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:43:53 +0000 (07:43 +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:41:38 +0000 (06:41 +0300)]
#9101: backport json reference in configparser doc.

13 years agoFix improper tests in RegisterTestCase
Éric Araujo [Thu, 14 Apr 2011 01:49:19 +0000 (03:49 +0200)]
Fix improper tests in RegisterTestCase

13 years agoMinor tweaks to a few comments in heapq
Éric Araujo [Fri, 15 Apr 2011 21:34:31 +0000 (23:34 +0200)]
Minor tweaks to a few comments in heapq

13 years agoRemove inexistent tools
Brian Curtin [Wed, 13 Apr 2011 21:04:27 +0000 (16:04 -0500)]
Remove inexistent tools

13 years agoFix wording and clarify that the IDNA codec operates on full domain names.
R David Murray [Wed, 13 Apr 2011 18:12:18 +0000 (14:12 -0400)]
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 agoFix typo in docstring.
Ezio Melotti [Wed, 13 Apr 2011 13:43:21 +0000 (16:43 +0300)]
Fix typo in docstring.

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 04:10:13 +0000 (07:10 +0300)]
#9233: Fix json.loads({}) to return a dict (instead of a list), when _json is not available.

13 years agoRemove unnecessary imports and use assertIs instead of assertTrue.
Ezio Melotti [Wed, 13 Apr 2011 04:08:17 +0000 (07:08 +0300)]
Remove unnecessary imports and use assertIs instead of assertTrue.

13 years ago#9233: Fix json to work properly even when _json is not available.
Ezio Melotti [Wed, 13 Apr 2011 04:04:18 +0000 (07:04 +0300)]
#9233: Fix json to work properly even when _json is not available.

13 years ago#9233: skip _json-specific tests when _json is not available.
Ezio Melotti [Wed, 13 Apr 2011 03:58:29 +0000 (06:58 +0300)]
#9233: skip _json-specific tests when _json is not available.

13 years agoMerge updates
Senthil Kumaran [Wed, 13 Apr 2011 01:35:37 +0000 (09:35 +0800)]
Merge updates

13 years agoUpdate the News for the fix to Issue11703.
Senthil Kumaran [Wed, 13 Apr 2011 01:21:01 +0000 (09:21 +0800)]
Update the News for the fix to Issue11703.

13 years ago#10019: Fix regression relative to 2.6: add newlines if indent=0
R David Murray [Wed, 13 Apr 2011 01:02:45 +0000 (21:02 -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 agomerge heads
Benjamin Peterson [Tue, 12 Apr 2011 23:34:06 +0000 (18:34 -0500)]
merge heads

13 years agomake assigning to a bytes literal a syntax error (closes #11506)
Benjamin Peterson [Tue, 12 Apr 2011 23:33:28 +0000 (18:33 -0500)]
make assigning to a bytes literal a syntax error (closes #11506)

13 years agoFix Issue11703 - urllib2.geturl() does not return correct url when the original url...
Senthil Kumaran [Tue, 12 Apr 2011 23:01:19 +0000 (07:01 +0800)]
Fix Issue11703 - urllib2.geturl() does not return correct url when the original url contains #fragment. Patch Contribution by Santoso Wijaya.

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

13 years agoAdd maxlinelen to docstring, delete obsolete wording
R David Murray [Tue, 12 Apr 2011 19:00:44 +0000 (15:00 -0400)]
Add maxlinelen to docstring, delete obsolete wording

13 years agoCorrect leading spaces in my NEWS entry.
Brian Curtin [Mon, 11 Apr 2011 23:35:18 +0000 (18:35 -0500)]
Correct leading spaces in my NEWS entry.

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

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

13 years agoIssue9670: Back out changeset 378b40d71175; test fails on other platforms
Ned Deily [Sat, 9 Apr 2011 21:50:59 +0000 (14:50 -0700)]
Issue9670: Back out changeset 378b40d71175; 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:32:12 +0000 (12:32 -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 17:30:03 +0000 (19:30 +0200)]
Issue #11719: Fix message about unexpected test_msilib skip.
Patch by Nadeem Vawda.

13 years agoIssue #11650: PyOS_StdioReadline() retries fgets() if it was interrupted
Victor Stinner [Sat, 9 Apr 2011 13:55:44 +0000 (15:55 +0200)]
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 ago#11492: fix header truncation on folding when there are runs of split chars.
R David Murray [Fri, 8 Apr 2011 00:54:03 +0000 (20:54 -0400)]
#11492: fix header truncation on folding when there are runs of split chars.

Not a complete fix for this issue.

13 years agoImprove test coverage of _split_ascii method.
R David Murray [Fri, 8 Apr 2011 00:37:17 +0000 (20:37 -0400)]
Improve test coverage of _split_ascii method.

13 years agoRefinement by Stefan Krah (see issue 11715, msg133194) to exit early if the
Barry Warsaw [Thu, 7 Apr 2011 14:40:36 +0000 (10:40 -0400)]
Refinement by Stefan Krah (see issue 11715, msg133194) to exit early if the
dpkg-architecture command is not found on $PATH.  This should fix the failures
on FreeBSD and Solaris, which do not create the target file via I/O
redirection if the command isn't found (unlike Linux and OS X which do).

13 years agoIssue 11715: Build extension modules on multiarch Debian and Ubuntu by
Barry Warsaw [Wed, 6 Apr 2011 19:18:12 +0000 (15:18 -0400)]
Issue 11715: Build extension modules on multiarch Debian and Ubuntu by
extending search paths to include multiarch directories.

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