]>
granicus.if.org Git - python/log
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__.
Martin v. Löwis [Sun, 17 Apr 2011 21:01:13 +0000 (23:01 +0200)]
merge 11442 NEWS
Martin v. Löwis [Sun, 17 Apr 2011 20:56:19 +0000 (22:56 +0200)]
merge 11442 NEWS
Martin v. Löwis [Sun, 17 Apr 2011 20:29:40 +0000 (22:29 +0200)]
Issue 11442: Add NEWS entry for
e9724d7abbc2
Ezio Melotti [Sat, 16 Apr 2011 20:04:51 +0000 (23:04 +0300)]
Fix a few hyphens in argparse.rst.
Eli Bendersky [Sat, 16 Apr 2011 12:28:42 +0000 (15:28 +0300)]
Issue #11855: Apply missing formatting for urlretrieve
Raymond Hettinger [Sat, 16 Apr 2011 00:55:36 +0000 (17:55 -0700)]
Add another example to the collections module docs.
Raymond Hettinger [Fri, 15 Apr 2011 20:12:21 +0000 (13:12 -0700)]
Fix minor subclassing issue with collections.Counter
Ezio Melotti [Fri, 15 Apr 2011 15:05:09 +0000 (18:05 +0300)]
#11843: remove duplicate line from table in distutil doc.
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]).
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.
Ezio Melotti [Fri, 15 Apr 2011 05:25:16 +0000 (08:25 +0300)]
#11848: replace dead link in random.betavariate comment.
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.
Eli Bendersky [Fri, 15 Apr 2011 04:35:06 +0000 (07:35 +0300)]
Issue #11827: remove mention of list2cmdline in the doc of subprocess
Senthil Kumaran [Thu, 14 Apr 2011 04:58:32 +0000 (12:58 +0800)]
merge the changes.
Senthil Kumaran [Thu, 14 Apr 2011 04:54:35 +0000 (12:54 +0800)]
Fix Issue11474 - url2pathname() handling of '/C|/' on Windows
Ezio Melotti [Thu, 14 Apr 2011 04:39:06 +0000 (07:39 +0300)]
#11840: Improve c-api/unicode documentation. Patch by Sandro Tosi.
Ezio Melotti [Thu, 14 Apr 2011 03:53:44 +0000 (06:53 +0300)]
#9101: backport json reference in configparser doc.
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.
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.
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.
Raymond Hettinger [Wed, 13 Apr 2011 01:54:46 +0000 (18:54 -0700)]
Issue 11718: Teach IDLE's open module dialog to find packages.
Senthil Kumaran [Wed, 13 Apr 2011 01:47:20 +0000 (09:47 +0800)]
update news in 2.7 for Issue #11703
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.
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.
Raymond Hettinger [Tue, 12 Apr 2011 22:48:25 +0000 (15:48 -0700)]
Issue 11747: Fix output format for context diffs.
Raymond Hettinger [Tue, 12 Apr 2011 16:06:01 +0000 (09:06 -0700)]
Neaten-up the fix to issue 11830
Ezio Melotti [Tue, 12 Apr 2011 13:06:43 +0000 (16:06 +0300)]
Remove unnecessary imports and use assertIs instead of assertTrue.
Ezio Melotti [Tue, 12 Apr 2011 12:59:50 +0000 (15:59 +0300)]
#9233: skip _json-specific tests when _json is not available.
Raymond Hettinger [Tue, 12 Apr 2011 00:45:01 +0000 (17:45 -0700)]
Use floor division operator instead of deprecated division operator.
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.
brian.curtin [Mon, 11 Apr 2011 23:05:33 +0000 (18:05 -0500)]
Add NEWS item for #5162.
brian.curtin [Mon, 11 Apr 2011 23:00:59 +0000 (18:00 -0500)]
Fix #5162. Allow child spawning from Windows services (via pywin32).
Ezio Melotti [Mon, 11 Apr 2011 00:45:25 +0000 (03:45 +0300)]
Remove unnecessary call to PyErr_Clear.
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.
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.
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.
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)
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.
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.
Vinay Sajip [Fri, 8 Apr 2011 10:40:38 +0000 (11:40 +0100)]
Issue #11794: Reorganised logging documentation.
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.
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.
Senthil Kumaran [Wed, 6 Apr 2011 06:41:42 +0000 (14:41 +0800)]
hg pull/merge - Changes to accomodate.
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.
Alexander Belopolsky [Wed, 6 Apr 2011 02:12:22 +0000 (22:12 -0400)]
Issue #11576: Fixed timedelta subtraction glitch on big timedelta values
Ned Deily [Wed, 6 Apr 2011 00:16:09 +0000 (17:16 -0700)]
Issue #7108: Fix test_commands to not fail when special attributes ('@'
or '.') appear in 'ls -l' output.
Ezio Melotti [Tue, 5 Apr 2011 17:40:52 +0000 (20:40 +0300)]
#7311: fix HTMLParser to accept non-ASCII attribute values.
Ross Lagerwall [Tue, 5 Apr 2011 13:24:34 +0000 (15:24 +0200)]
Issue #10963: Ensure that subprocess.communicate() never raises EPIPE.
Steven Bethard [Sun, 3 Apr 2011 23:47:52 +0000 (01:47 +0200)]
Issue #9347: Fix formatting for tuples in argparse type= error messages.
R David Murray [Thu, 31 Mar 2011 15:48:31 +0000 (11:48 -0400)]
Dummy merge from 2.6.
Raymond Hettinger [Wed, 30 Mar 2011 00:28:25 +0000 (17:28 -0700)]
Issue 11713: clarify docstring for collections.deque()
Guido van Rossum [Tue, 29 Mar 2011 20:04:24 +0000 (13:04 -0700)]
Merge cleanup.
Guido van Rossum [Tue, 29 Mar 2011 20:03:10 +0000 (13:03 -0700)]
Merge cleanup.
Guido van Rossum [Tue, 29 Mar 2011 19:53:55 +0000 (12:53 -0700)]
Merge issue 11662 from 2.6.
Guido van Rossum [Tue, 29 Mar 2011 19:51:16 +0000 (12:51 -0700)]
Merge issue 11662 from 2.5.
guido@google.com [Tue, 29 Mar 2011 18:14:01 +0000 (11:14 -0700)]
Merge urllib/urllib2 security fix from 2.6 branch.
guido@google.com [Tue, 29 Mar 2011 17:48:23 +0000 (10:48 -0700)]
Merge urllib/urllib2 security fix from 2.5 branch.
guido@google.com [Tue, 29 Mar 2011 16:53:33 +0000 (09:53 -0700)]
Adding .hgignore (copied from default branch).
Vinay Sajip [Tue, 29 Mar 2011 00:21:48 +0000 (01:21 +0100)]
Issue #11639: Configuration function documentation referred to logging.XXX rather than logging.config.XXX.
Vinay Sajip [Tue, 29 Mar 2011 00:15:37 +0000 (01:15 +0100)]
Issue #11639: Configuration function documentation referred to logging.XXX rather than logging.config.XXX.
Vinay Sajip [Tue, 29 Mar 2011 00:07:50 +0000 (01:07 +0100)]
Issue #11639: Configuration function documentation referred to logging.XXX rather than logging.config.XXX.
Benjamin Peterson [Mon, 28 Mar 2011 22:32:31 +0000 (17:32 -0500)]
Correct handling of functions with only kwarg args in getcallargs (closes #11256)
A patch from Daniel Urban.
Benjamin Peterson [Mon, 28 Mar 2011 22:25:15 +0000 (17:25 -0500)]
let's keep parenthesis around sizeof
guido@google.com [Mon, 28 Mar 2011 20:53:40 +0000 (13:53 -0700)]
Add CVE number to urllib/urllib2 news item.
guido@google.com [Mon, 28 Mar 2011 20:47:01 +0000 (13:47 -0700)]
Add tests for the urllib[2] vulnerability. Change to raise exceptions.
Ezio Melotti [Mon, 28 Mar 2011 10:46:28 +0000 (13:46 +0300)]
#10617: add class directives to collections ABCs.
Martin v. Löwis [Sun, 27 Mar 2011 19:01:03 +0000 (21:01 +0200)]
Add missing file from #11696.
Martin v. Löwis [Sun, 27 Mar 2011 18:58:52 +0000 (20:58 +0200)]
Closes #11696: Fix ID generation in msilib.
Patch by Mark Mc Mahon.
Mark Dickinson [Sun, 27 Mar 2011 15:15:24 +0000 (16:15 +0100)]
Issue #9696: Fix exception incorrectly raised by xdrlib.Packer.pack_int when trying to pack a negative (in-range) integer.
Mark Dickinson [Sun, 27 Mar 2011 14:32:05 +0000 (15:32 +0100)]
Move Misc/NEWS entry to correct section.
Steven Bethard [Sun, 27 Mar 2011 11:57:55 +0000 (13:57 +0200)]
Issue #9026: Fix order of argparse sub-commands in help messages. (Merged from 3.2.)
Martin v. Löwis [Sun, 27 Mar 2011 08:10:46 +0000 (10:10 +0200)]
Fix short file name generation in bdist_msi.
Patch by Christoph Gohlke.
Closes #7639.
Benjamin Peterson [Sat, 26 Mar 2011 23:11:54 +0000 (18:11 -0500)]
revert unintended changes
Benjamin Peterson [Sat, 26 Mar 2011 23:09:55 +0000 (18:09 -0500)]
fix missing variable declarations
Benjamin Peterson [Sat, 26 Mar 2011 23:04:09 +0000 (18:04 -0500)]
always check return value of PyObject_IsInstance for error
Benjamin Peterson [Sat, 26 Mar 2011 22:56:28 +0000 (17:56 -0500)]
check possible recursive _as_parameter_ to prevent segfault (closes #1838)
Antoine Pitrou [Sat, 26 Mar 2011 21:08:21 +0000 (22:08 +0100)]
In the Windows clean script for buildbots, also clear the build dir
(so that stale test files, which can be very large, get wiped out)
Steven Bethard [Sat, 26 Mar 2011 20:50:38 +0000 (21:50 +0100)]
Issue #9343: Document that argparse parent parsers must be configured before their children. (Merge from 3.2.)
Steven Bethard [Sat, 26 Mar 2011 18:59:02 +0000 (19:59 +0100)]
Issue #8982: Improve the documentation for the argparse Namespace object. (Merge from 3.2.)
Steven Bethard [Sat, 26 Mar 2011 16:57:52 +0000 (17:57 +0100)]
Issue #9348: Raise an early error if argparse nargs and metavar don't match. (Merge from 3.2.)
Mark Dickinson [Sat, 26 Mar 2011 12:18:00 +0000 (12:18 +0000)]
Issue #11144: Fix corner cases where float-to-int conversion unnecessarily returned a long.
Mark Dickinson [Sat, 26 Mar 2011 10:02:37 +0000 (10:02 +0000)]
Issue #11675: Zero-out newly-created multiprocessing.[Raw]Array objects.
Éric Araujo [Sat, 26 Mar 2011 01:09:14 +0000 (02:09 +0100)]
Tweaks to sys.flags description table.
The options listed in the table are now links to their documentation,
and the table uses compact markup to make it easier to read and edit.
First proposed in #10998.
Éric Araujo [Sat, 26 Mar 2011 00:26:08 +0000 (01:26 +0100)]
Remove untrue statement from tutorial
Éric Araujo [Sat, 26 Mar 2011 00:24:47 +0000 (01:24 +0100)]
Use universal construct os.path.expanduser('~') instead of os.environ['HOME']
Raymond Hettinger [Fri, 25 Mar 2011 23:00:13 +0000 (16:00 -0700)]
Issue #11666: Teach pydoc to display full help for named tuples
Mark Dickinson [Fri, 25 Mar 2011 22:01:06 +0000 (22:01 +0000)]
Issue #11673: Fix multiprocessing.[Raw]Array constructor to accept a size of type long. Thanks Robert Kern.
Benjamin Peterson [Fri, 25 Mar 2011 21:58:31 +0000 (16:58 -0500)]
merge heads
Benjamin Peterson [Fri, 25 Mar 2011 21:57:30 +0000 (16:57 -0500)]
remove this dead subversion code
Kurt B. Kaiser [Fri, 25 Mar 2011 21:48:27 +0000 (17:48 -0400)]
<Home> toggle failing on Tk 8.5, causing IDLE exits. Issue 3851.
Ezio Melotti [Fri, 25 Mar 2011 12:50:52 +0000 (14:50 +0200)]
#2650: Refactor re.escape and its tests.
Eli Bendersky [Thu, 24 Mar 2011 20:38:25 +0000 (22:38 +0200)]
Issue #11634: Remove misleading paragraph from a comment
guido@google.com [Thu, 24 Mar 2011 17:44:17 +0000 (10:44 -0700)]
Add FTP to the allowed url schemes. Add Misc/NEWS.
guido@google.com [Thu, 24 Mar 2011 15:07:45 +0000 (08:07 -0700)]
Issue 22663: fix redirect vulnerability in urllib/urllib2.
Éric Araujo [Tue, 22 Mar 2011 22:47:32 +0000 (23:47 +0100)]
Fix obscure set crashers (#4420). Backport of
d56b3cafb1e6 , reviewed by Raymond.
Raymond Hettinger [Wed, 23 Mar 2011 00:51:57 +0000 (17:51 -0700)]
Issue #10771: Clarify that descriptors get used in an *owner* class or one of its parents.
Raymond Hettinger [Tue, 22 Mar 2011 22:52:46 +0000 (15:52 -0700)]
Issue 10787: Document the probability density function for random.gammavariate.
Raymond Hettinger [Tue, 22 Mar 2011 22:28:45 +0000 (15:28 -0700)]
Issue 10988: fix description of super's descriptor call.
Éric Araujo [Tue, 22 Mar 2011 20:45:42 +0000 (21:45 +0100)]
Fix typo spotted by Sandro Tosi